Build libraries with gcc

Patrick Reuter preuter@uni-hohenheim.de
Mon Feb 12 07:21:00 GMT 2001


Hello,

I have a question building libraries using gcc under cygwin.

When compiling in Linux/Unix, I have no error message. When compiling
under Windows, I get the following error message with any of my
libraries:

g++ -shared -pg -o libGIF.so main.o readGIF.o writeGif.o

Cannot export _bss_end__: symbol not defined
Cannot export _bss_start__: symbol not defined
Cannot export _data_end__: symbol not defined
Cannot export _data_start__: symbol not defined
Cannot export _monstartup: symbol not defined
main.o(.text+0x31):main.c: undefined reference to `_monstartup'
collect2: ld returned 1 exit status


Tank you for any help!!

Patrick




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list