Problem compiling devel/newt

Matthias Fechner idefix at fechner.net
Sun Jul 16 09:56:46 UTC 2006


Hi,

I tried to compile devel/newt today, but I got the following errormessage:
---cut---

cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include
-c scale.c
cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include
-c grid.c
cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include
-c windows.c
cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include
-c buttonbar.c
cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include
-c checkboxtree.c
ar q libnewt.a newt.o button.o form.o checkbox.o entry.o label.o
listbox.o  scrollbar.o textbox.o scale.o grid.o windows.o buttonbar.o
checkboxtree.o
ar: creating libnewt.a
ranlib libnewt.a
cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include
-c test.c
cc -g  -L/usr/local/lib -L/usr/local/lib -o test test.o libnewt.a
-lslang -lm -lpopt -lncurses -static
/usr/local/lib/libslang.a(sldisply.o)(.text+0x2bdc): In function
`SLtt_tgetstr':
: undefined reference to `tgetstr'
/usr/local/lib/libslang.a(sldisply.o)(.text+0x2c3b): In function
`SLtt_tgetnum':
: undefined reference to `tgetnum'
/usr/local/lib/libslang.a(sldisply.o)(.text+0x2c6b): In function
`SLtt_tgetflag':
: undefined reference to `tgetflag'
/usr/local/lib/libslang.a(sldisply.o)(.text+0x2e83): In function
`SLtt_initialize':
: undefined reference to `tgetent'
*** Error code 1

Stop in /usr/ports/devel/newt/work/newt-0.51.0.
*** Error code 1

Stop in /usr/ports/devel/newt.
---cut---

I have FreeBSD 6.1 running.
Is the port broken? I have checked bugs.freebsd.org but could not found
any bug reported for this port with this errormessage.

Thx for help,
Matthias


More information about the freebsd-questions mailing list