[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ncurses 5.7, Solaris 10 and test programs
From: |
Thomas Dickey |
Subject: |
Re: Ncurses 5.7, Solaris 10 and test programs |
Date: |
Mon, 10 May 2010 05:44:13 -0400 (EDT) |
On Mon, 10 May 2010, BERTRAND Joel wrote:
Hello,
For a long time, demo_forms.c cannot be linked against ncurses on
Solaris systems.
I compiled 20100501 on OpenSolaris...
A quick look at TYPE_IPV4 in the source isn't showing me why it wouldn't
work. What configure options are you using?
make[1]: Entering directory
`/usr/tchaikovski-apps/bertrand/rpl/build/tools/ncurses-5.7-20100501/test'
gcc -mtune=niagara -mcpu=niagara -m64 --param max-inline-insns-single=1200
-o demo_forms ../objects/demo_forms.o .../objects/edit_field.o
-L/usr/lib/sparcv9 -m64 -I../test
If there is already a form library in /usr/lib/sparcv9, that could be
the problem. (Order of -L options is a problem for other reasons -
a tradeoff between different linkers).
-I../../../../cvs/rpl/tools/ncurses-5.7-20100501/test -DHAVE_CONFIG_H
-D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DNDEBUG -I. -I../include
-I../../../../cvs/rpl/tools/ncurses-5.7-20100501/test/../include
-I/usr/local/include/ncurses -mtune=niagara -mcpu=niagara -m64 --param
max-inline-insns-single=1200 -L../lib -lform -lmenu -lpanel -lncurses
-lm
.../objects/demo_forms.o: In function `show_current_field':
demo_forms.c:(.text+0xc7c): undefined reference to `TYPE_IPV4'
demo_forms.c:(.text+0xc80): undefined reference to `TYPE_IPV4'
demo_forms.c:(.text+0xc88): undefined reference to `TYPE_IPV4'
.../objects/demo_forms.o: In function `demo_forms':
demo_forms.c:(.text+0x18fc): undefined reference to `TYPE_IPV4'
demo_forms.c:(.text+0x1900): undefined reference to `TYPE_IPV4'
.../objects/demo_forms.o:demo_forms.c:(.text+0x1908): more undefined
references to `TYPE_IPV4' follow
.../objects/edit_field.o: In function `help_edit_field':
edit_field.c:(.text+0x43c): undefined reference to `form_request_name'
collect2: ld returned 1 exit status
make[1]: *** [demo_forms] Error 1
make[1]: Leaving directory
`/usr/tchaikovski-apps/bertrand/rpl/build/tools/ncurses-5.7-20100501/test'
make: *** [all] Error 2
tchaikovski:[~/rpl/build/tools/ncurses-5.7-20100501] >
I have tried to write a patch without success. On all other systems,
demo_form.c can be built.
Regards,
JKB
_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net