devel/popt not building
Lowell Gilbert
freebsd-ports-local at be-well.ilk.org
Tue Jul 6 06:50:58 PDT 2004
Lowell Gilbert <freebsd-ports-local at be-well.ilk.org> writes:
> This is turning up on today's ports, both -CURRENT and -STABLE systems
>
> (cd .libs && rm -f libpopt.la && ln -sf ../libpopt.la libpopt.la)
> source='test1.c' object='test1.o' libtool=no depfile='.deps/test1.Po' tmpdepfile='.deps/test1.TPo' depmode=gcc3 /bin/sh ./depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O -pipe -march=pentiumpro -c `test -f 'test1.c' || echo './'`test1.c
> /bin/sh ./libtool --mode=link cc -O -pipe -march=pentiumpro -o test1 -all-static test1.o libpopt.la
> cc -O -pipe -march=pentiumpro -o test1 -static test1.o .libs/libpopt.a
> .libs/libpopt.a(popt.o): In function `poptGetNextOpt':
> popt.o(.text+0x1a77): undefined reference to `libintl_dgettext'
> .libs/libpopt.a(popt.o): In function `poptStrerror':
> popt.o(.text+0x22d3): undefined reference to `libintl_dgettext'
> .libs/libpopt.a(popthelp.o): In function `getArgDescrip':
> popthelp.o(.text+0x160): undefined reference to `libintl_dgettext'
> .libs/libpopt.a(popthelp.o): In function `singleOptionDefaultValue':
> popthelp.o(.text+0x18b): undefined reference to `libintl_dgettext'
> .libs/libpopt.a(popthelp.o): In function `singleOptionHelp':
> popthelp.o(.text+0x33e): undefined reference to `libintl_dgettext'
> .libs/libpopt.a(popthelp.o)(.text+0xa4b): more undefined references to `libintl_dgettext' follow
> *** Error code 1
>
> Stop in /usr/ports/devel/popt/work/popt-1.7.
> *** Error code 1
Rebuilding all the dependencies on -CURRENT fixed the problem there.
That didn't help for some reason on -STABLE, so I just worked around
the issue by configuring it to use the internal gettext. In a quick
look, I couldn't find the missing identifiers...
More information about the freebsd-ports
mailing list