Re: undefined reference to `poptGetContext'
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: Matthew Greenfield <matthewg clear net nz>
- cc: Gnome List <gnome-list gnome org>
- Subject: Re: undefined reference to `poptGetContext'
- Date: Wed, 4 Nov 1998 21:42:36 -0600 (CST)
On Thu, 5 Nov 1998, Matthew Greenfield wrote:
>
> gcc -g -O2 -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations
> -Wpointer-arith -o .libs/gnome-dump-metadata -L/usr/local/lib -lglib
> gnome-dump.o -Wl,--rpath -Wl,/usr/local/lib .libs/libgnome.so
> -L/usr/local/lib -lglib -lm -ldl -lm -Wl,--rpath -Wl,/usr/local/lib
> ../support/.libs/libgnomesupport.so -lm -L/usr/local/lib -lesd -lm -ldb
> -L/usr/local/lib -lglib -ldl -lm
-lpopt isn't on the link line; so configure didn't find your popt.
Possible reasons:
- you need to rm config.cache before you run autogen.sh or configure
- you don't have the location of popt in your LD_LIBRARY_PATH, or
you didn't run ldconfig
- something else; look in config.log for an error message related to
popt.
> PS what is popt anyway?
>
Command line option parser, interprets --geometry, --help and so on.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]