Just a suggestion: SWIG probably needs recompilation!?
Elfyn McBratney
elfyn-cygwin@exposure.org.uk
Fri Mar 28 17:11:00 GMT 2003
> after installation of the newest cygwin release I cannot make a small
> swig-program example which worked before.
>
> I am not sure what of the many reinstalled cygwin components is
responsible
> for that, but I suppose that you test it and recompile it in the case of
> need.
>
> Here is the error message:
>
> g++ -g -DPC -L/dokus/schnoerr/local/Libs -lSmartPtr
> -L/hd/schnoerr/local/Instal
> ls/Programmierung/Shells/cygwin/lib/python2.2/config -lpython2.2
> TestClass.o
> -o TestClass
>
/bin/../lib/gcc-lib/i686-pc-cygwin/3.2/../../../libcygwin.a(libcmain.o)(.tex
> t+0x7c): undefined reference to `_WinMain@16'
> collect2: ld returned 1 exit status
Cockpit error. Try this test again with the following g++ comand:
$ g++ -g -DPC TestClass.o -o testClass -L/dokus/schnoerr/local/Libs \
> -L/hd/schnoerr/local/Installs/Programmierung/Shells/cygwin/lib/python2.2/c
onfig \
> -lSmartPtr -lpython2.2
You need to make sure that the libraries are linked in at the end of the gxx
command.
Regards,
Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list