[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ncurses 5.7 on Solaris 10 sparc
From: |
BERTRAND Joel |
Subject: |
Ncurses 5.7 on Solaris 10 sparc |
Date: |
Sat, 20 Dec 2008 18:41:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; fr-FR; rv:1.8.1.18) Gecko/20081030 Iceape/1.1.13 (Debian-1.1.13-1) |
Hello,
I'm trying to build ncurses 5.7 on a sparcv9b server running solaris 10.
I have build gcc :
tchaikovski:[~/rpl/rpl-4.0.0.prerelease.9/tools/ncurses-5.7] > gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ../configure --prefix=/usr/shared-apps
--enable-languages=c,c++,fortran --enable-shared
--enable-threads=solaris --enable-nls --enable-checking=release
--with-mpfr=/usr/shared-apps/ --with-gnu-ld
Thread model: solaris
gcc version 4.3.2 (GCC)
tchaikovski:[~/rpl/rpl-4.0.0.prerelease.9/tools/ncurses-5.7] >
This compiler suite works fine, but I'm not able to build ncurses 5.7
(ncurses 5.6 can be built with the same compiler).
tchaikovski:[~/rpl/build/tools/ncurses-5.7] >
../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/configure
--prefix=/usr/shared-apps/ --without-progs --enable-broken_linker
...
gcc -mtune=niagara -mcpu=niagara --param max-inline-insns-single=1200
-o background ../objects/background.o -I../test
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/test
-DHAVE_CONFIG_H
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/test/../include
-I. -I../include -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -DNDEBUG
-I/usr/shared-apps//include/ncurses -mtune=niagara -mcpu=niagara
--param max-inline-insns-single=1200 `echo "-static -L../lib -lform
-lmenu -lpanel -lncurses -dynamic " | sed -e 's/-lform.*-lpanel[^
]*//'` -lm
/usr/shared-apps/lib/gcc/sparc-sun-solaris2.10/4.3.2/../../../../sparc-sun-solaris2.10/bin/ld:
cannot find -lm
collect2: ld returned 1 exit status
make[1]: *** [background] Error 1
If I try :
tchaikovski:[~/rpl/build/tools/ncurses-5.7] >
../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/configure
--prefix=/usr/shared-apps
I obtain another error related to ld :
gcc ../objects/clear.o -I../progs
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs
-DHAVE_CONFIG_H gcc ../objects/clear.o -I../progs
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs
-DHAVE_CONFIG_H
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs/../include
-I. -I../include -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -DNDEBUG
-I/usr/shared-apps/include/ncurses -mtune=niagara -mcpu=niagara --param
max-inline-insns-single=1200 -static -L../lib -lncurses -dynamic -o clear
gcc ../objects/toe.o -I../progs
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs
-DHAVE_CONFIG_H
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs/../include
-I. -I../include -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -DNDEBUG
-I/usr/shared-apps/include/ncurses -mtune=niagara -mcpu=niagara --param
max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib
-lncurses -dynamic -o toe
/usr/shared-apps/lib/gcc/sparc-sun-solaris2.10/4.3.2/../../../../sparc-sun-solaris2.10/bin/ld:
cannot find -lc
collect2: ld returned 1 exit status
make[1]: *** [clear] Error 1
make[1]: *** Waiting for unfinished jobs....
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs/../include
-I. -I../include -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -DNDEBUG
-I/usr/shared-apps/include/ncurses -mtune=niagara -mcpu=niagara --param
max-inline-insns-single=1200 -static -L../lib -lncurses -dynamic -o clear
gcc ../objects/toe.o -I../progs
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs
-DHAVE_CONFIG_H
-I../../../../rpl-4.0.0.prerelease.9/tools/ncurses-5.7/progs/../include
-I. -I../include -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -DNDEBUG
-I/usr/shared-apps/include/ncurses -mtune=niagara -mcpu=niagara --param
max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib
-lncurses -dynamic -o toe
/usr/shared-apps/lib/gcc/sparc-sun-solaris2.10/4.3.2/../../../../sparc-sun-solaris2.10/bin/ld:
cannot find -lc
collect2: ld returned 1 exit status
make[1]: *** [clear] Error 1
make[1]: *** Waiting for unfinished jobs....
Any idea ?
Same library can be built without any trouble on linux with the same
compiler.
Regards,
JKB
- Ncurses 5.7 on Solaris 10 sparc,
BERTRAND Joel <=