pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
undefined reference to 'gettext'
I'm trying to update proftpd to 1.3.1rc1 but I'm getting the following error.
Any ideas how to solve this? I tried to add
.include "../../devel/gettext-lib/buildlink3.mk"
to the Makefile but it didn't help.
Martti
cc -Wl,-R/usr/pkg/lib -o proftpd src/main.o src/timers.o src/sets.o src/pool.o
src/table.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o
src/child.o src/parser.o src/log.o src/lastlog.o src/xferlog.o src/bindings.o
src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o
src/response.o src/ident.o src/data.o src/modules.o src/display.o src/auth.o
src/fsio.o src/mkhome.o src/ctrls.o src/event.o src/var.o src/trace.o src/utf8.o
modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o
modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o
modules/mod_site.o modules/mod_delay.o modules/mod_auth_pam.o
modules/mod_ctrls.o modules/module_glue.o
-L/usr/pkgsrc/net/proftpd/work/proftpd-1.3.1rc1/lib -lsupp -lcrypt -lutil -lpam
/usr/pkgsrc/net/proftpd/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o): In
function `_getopt_internal':
getopt.c:(.text+0x250): undefined reference to `gettext'
getopt.c:(.text+0x5fa): undefined reference to `gettext'
getopt.c:(.text+0x77f): undefined reference to `gettext'
getopt.c:(.text+0x7e7): undefined reference to `gettext'
getopt.c:(.text+0x942): undefined reference to `gettext'
/usr/pkgsrc/net/proftpd/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o):getopt.c:(.text+0x976):
more undefined references to `gettext' follow
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/net/proftpd/work/.gcc/bin/gcc -Wl,-R/usr/pkg/lib -o proftpd
src/main.o src/timers.o src/sets.o src/pool.o src/table.o src/regexp.o
src/dirtree.o src/support.o src/netaddr.o src/inet.o src/child.o src/parser.o
src/log.o src/lastlog.o src/xferlog.o src/bindings.o src/netacl.o src/class.o
src/scoreboard.o src/help.o src/feat.o src/netio.o src/response.o src/ident.o
src/data.o src/modules.o src/display.o src/auth.o src/fsio.o src/mkhome.o
src/ctrls.o src/event.o src/var.o src/trace.o src/utf8.o modules/mod_core.o
modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o
modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o
modules/mod_delay.o modules/mod_auth_pam.o modules/mod_ctrls.o
modules/module_glue.o -L/usr/pkgsrc/net/proftpd/work/proftpd-1.3.1rc1/lib
-I/usr/pkgsrc/net/proftpd/work/.buildlink/include
-L/usr/pkgsrc/net/proftpd/work/.buildlink/lib -lsupp -lcrypt -lutil -lpam
gmake: *** [proftpd] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/net/proftpd
*** Error code 1
Home |
Main Index |
Thread Index |
Old Index