Subject: Problem compile tin-1.5.17
To: None <netbsd-help@netbsd.org>
From: Matthias Teege <matthias@mteege.de>
List: netbsd-help
Date: 06/03/2003 11:40:18
Moin,

i've tried to build tin-1.5.17 under NetBSD 1.6.1_RC2 (alpha) but
I get the following error:

Linking tin v1.5.17 ...
gcc  -o ./tin   ./active.o  ./art.o  ./attrib.o  ./auth.o  ./charset.o ./color.o  ./config.o  ./cook.o  ./curses.o  ./debug.o  ./envarg.o ./feed.o  ./filter.o  ./getline.o  ./global.o  ./group.o  ./hashstr.o ./header.o  ./help.o  ./inews.o  ./init.o  ./joinpath.o  ./keymap.o ./lang.o  ./langinfo.o  ./list.o  ./lock.o  ./mail.o  ./main.o ./memory.o  ./mimetypes.o  ./misc.o  ./my_tmpfile.o  ./newsrc.o ./nntplib.o  ./nrctbl.o  ./open.o  ./page.o  ./parsdate.o  ./pgp.o ./plp_snprintf.o  ./post.o  ./prompt.o  ./read.o  ./refs.o  ./regex.o ./rfc1524.o  ./rfc2045.o  ./rfc2046.o  ./rfc2047.o  ./save.o ./screen.o  ./search.o  ./select.o  ./sigfile.o  ./signal.o ./strftime.o  ./string.o  ./tags.o  ./tcurses.o  ./tmpfile.o ./thread.o  ./wildmat.o  ./xref.o   -L../pcre -lpcre  -lcurses      
./active.o: In function `parse_active_line':
./active.o(.text+0x578): undefined reference to `gettext'
./active.o(.text+0x57c): undefined reference to `gettext'
./active.o: In function `read_newsrc_active_file':
./active.o(.text+0x6f4): undefined reference to `gettext'
./active.o(.text+0x6f8): undefined reference to `gettext'
./active.o(.text+0xa0c): undefined reference to `gettext'
./active.o(.text+0xa10): more undefined references to `gettext' follow
./main.o: In function `main':
./main.o(.text+0x6c): undefined reference to `bindtextdomain'
./main.o(.text+0x70): undefined reference to `bindtextdomain'
./main.o(.text+0x80): undefined reference to `textdomain'
./main.o(.text+0x84): undefined reference to `textdomain'
./main.o(.text+0xa4): undefined reference to `gettext'
./main.o(.text+0xa8): undefined reference to `gettext'
./main.o(.text+0x200): undefined reference to `gettext'
./main.o(.text+0x204): undefined reference to `gettext'
./main.o(.text+0x250): undefined reference to `gettext'
./main.o(.text+0x254): more undefined references to `gettext' follow
*** Error code 1

Stop.


I think there is somthing wrong with the gettext installation. Has
anybody compiled tin and what are the «correct» configure args?

Many thanks
Matthias