Re: undefined references compiling mc
- From: Gary V Vaughan <garyv aethos co uk>
- To: Michael Madore <mmadore animal blarg net>, gnome-list gnome org
- Subject: Re: undefined references compiling mc
- Date: Fri, 20 Mar 1998 09:46:32 +0000
On Thu, Mar 19, 1998 at 11:55:26PM -0800, Michael Madore wrote:
Michael> More compilation woes. This time with midnight commander. The
Michael> compilation mostly works, but ends with a couple of pages of
Michael> messages like this:
Michael>
Michael> /usr/local/lib/libgdk.so: undefined reference to `XShmQueryVersion'
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to
Michael> `XShmQueryExtension'
The final link needs -lXext added to LIBS in the Makefile to get rid of this;
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to
Michael> `png_destroy_read_struct'
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to `png_check_sig'
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to `png_read_image'
and '-lpng -lz' for this bunch;
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to `XShmGetEventBase'
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to `XShmCreatePixmap'
symbols from -Xext again;
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to
Michael> `png_create_info_struct'
and -lpng again;
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to `TIFFGetField'
add -ltiff for this one;
Michael> /usr/local/lib/libgdk_imlib.so: undefined reference to `png_init_io'
-lpnf again.
Also, be sure to use the libgdk_imlib.so built from the imlib module of the
CVS tree, it has a few extra entrypoints to its API which mc requires in order
to build.
Cheers,
Gary V Vaughan.
--
___ _ ___ __ _
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
PGP Key from/___/ /___/
http://www.cl.cam.ac.uk/PGP/pks-commands.html#extract
http://pgp.ai.mit.edu/~bal/pks-commands.html#extract
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]