I dont know if this really matters, but I see that the linker options are something like this: "... -lpng -lpngwriter ..."
However, since libpngwriter depends on libpng, should'nt they be passed in the reverse order? This way: "... -lpngwriter -lpng ... ." /Siva Chandra. --- Paul <[EMAIL PROTECTED]> wrote: > To be honest, I have no idea what is causing this. > Googling for the > error message though gives a few results. Take a > look at > > http://www.myersdaily.org/joseph/notes/software.html > > http://www.digitalmars.com/d/archives/D/gnu/967.html > > Cheers, > > Paul > > > > On 17 Nov 2005, at 05:44, inhaesio zha wrote: > > > I built and installed pngwriter without FreeType > support on OSX 10.3. > > When I try to build a program that uses it, I get > this error during > > the link: > > > >>> g++ -D_REENTRANT -DNO_FREETYPE -g -O0 -Wall > -L/usr/local/lib > > -I/usr/local/include -lncurses -lpng -lpngwriter > -lz -o crow crow.C > > *.o ../core/*.o > > /usr/bin/ld: > /usr/local/lib/libpngwriter.a(pngwriter.o) section's > > (__TEXT,__eh_frame) type S_COALESCED does not > match previous objects > > type S_REGULAR > > /usr/bin/ld: > /usr/local/lib/libpngwriter.a(pngwriter.o) section's > > (__TEXT,__eh_frame) type S_COALESCED does not > match previous objects > > type S_REGULAR > > /usr/bin/ld: > /usr/local/lib/libpngwriter.a(pngwriter.o) section's > > (__TEXT,__eh_frame) type S_COALESCED does not > match previous objects > > type S_REGULAR > > /usr/bin/ld: > /usr/local/lib/libpngwriter.a(pngwriter.o) section's > > (__TEXT,__eh_frame) type S_COALESCED does not > match previous objects > > type S_REGULAR > > collect2: ld returned 1 exit status > > > > Can you help? > > > > Thanks, > > Zha > > > > > > -- > > Inhaesio Zha > > [EMAIL PROTECTED] > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today > > Register for a JBoss Training Course. Free > Certification Exam > > for All Training Attendees Through End of 2005. > For more info visit: > > http://ads.osdn.com/?ad_idv28&alloc_id845&opÌk > > _______________________________________________ > > http://pngwriter.sourceforge.net/ > > PNGwriter-users mailing list > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/pngwriter-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today > Register for a JBoss Training Course. Free > Certification Exam > for All Training Attendees Through End of 2005. For > more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id845&op=click > _______________________________________________ > http://pngwriter.sourceforge.net/ > PNGwriter-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pngwriter-users > __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ http://pngwriter.sourceforge.net/ PNGwriter-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pngwriter-users
