Closed ymyasoedov closed 9 years ago
The undefined symbol was caused by a header not being included that needed to be. It's fixed in pull request #3, which I just submitted.
BTW, in this case adding -no-undefined
would have failed to build the static library as well, instead of just not building the DLL.
Hi, can you help me build and use it in Windows please? See here: https://github.com/martinling/libserialport/issues/10
Please, add a note, that make should be run with LDFLAGS=-no-undefined to be able to build shared library: $ make LDFLAGS=-no-undefined
Otherwise, without LDFLAGS you will get: $ make CC serialport.lo CCLD libserialport.la libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries