help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined reference to png_...


From: Kendall Bell
Subject: Re: undefined reference to png_...
Date: Wed, 07 Mar 2007 11:21:17 -0600
User-agent: Thunderbird 1.5.0.10 (X11/20070221)

No, it doesn't appear to be linking to png. The extra output is as follows:

Making all for app WindowApp...
gcc  -rdynamic       -fgnu-runtime -o WindowApp.app/./WindowApp \
./shared_obj/MyApp.o -LGNUstep/Library/Libraries -L/usr/local/lib/GNUstep/Local/Library/Libraries -L/usr/local/lib/GNUstep/Network/Library/Libraries -L/usr/lib/GNUstep/System/Library/Libraries -lgnustep-gui -lgnustep-base -lpthread -lobjc -lm

Adam Fedor wrote:
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
Help-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnustep




_______________________________________________
Help-gnustep mailing list
Help-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnustep







reply via email to

[Prev in Thread] Current Thread [Next in Thread]