Re: undefined reference to png_...
Adam Fedor <[email protected]> Wed, 7 Mar 2007 08:10:04 -0700
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Message-ID | <[email protected]> |
I think it might be gui that's not linking to png or perhaps some other issue. Looking at make messages=yes for the gui library would be good. On Mar 7, 2007, at 4:24 AM, Fred Kiefer wrote: > Looks like your linker is not linking in the png library. Why this is > the case is hast to tell. You should build this application with "make > messages=yes" to see the full linker command. > > > Kendall Bell wrote: >> I can't seem to be able to compile any gui applications. During >> linking >> I get the following messages: >> >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_set_tRNS_to_alpha@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_destroy_read_struct@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_create_read_struct@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_set_palette_to_rgb@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_bit_depth@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_set_read_fn@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_read_image@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_io_ptr@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_error@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_read_info@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_color_type@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_rowbytes@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_valid@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_create_info_struct@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_channels@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_image_height@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_get_image_width@PNG12_0' >> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: >> undefined >> reference to `png_sig_cmp@PNG12_0' >> >> >> Would anyone know how to fix this? >> >> >> _______________________________________________ >> Help-gnustep mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/help-gnustep >> > > > > _______________________________________________ > Help-gnustep mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gnustep >