This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all, A number of the projects which I am actively developing I have been trying to port to Cygwin. It has mostly gone without errors except when making shared libraries. For example: g++ -lm -lc -Wall -pedantic -ffast-math -g -ggdb -I../../src -I../.. -MD -MP -MF '.depend' -DPLUGIN_BUILD -shared -Wl,-soname,static.so -o static.so static.cpp In file included from static.cpp:10: ../../src/think.h:18:15: warning: anonymous variadic macros were introduced in C99 /cygdrive/c/DOCUME~1/joshk/LOCALS~1/Temp/cc0Qd530.o(.text+0x7c): In function `module_init': /home/joshk/think++/plugins/osc/static.cpp:38: undefined reference to `thPlugin::SetDesc(char const*)' /cygdrive/c/DOCUME~1/joshk/LOCALS~1/Temp/cc0Qd530.o(.text+0x143): In function `module_callback': /home/joshk/think++/plugins/osc/static.cpp:56: undefined reference to `thNode::SetArg(char const*, float*, int)' collect2: ld returned 1 exit status make[3]: *** [static.so] Error 1 However, on Linux the build executes without a hitch. I tried making .so .dll to no effect. This happens with ircd-hybrid too, so I'm wondering if I am missing something else. I have pored the archives already and I've not found a solution... Tried taking out -lm because it is already part of libcygwin. I'm at a total loss. The source is available as a tarball at: http://joshk.mspencer.net/think++.tar.gz Thanks a lot, Josh -- New PGP public key: 0x27AFC3EE
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |