bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ncurses 5.7 on Solaris 10 sparc


From: Thomas Dickey
Subject: Re: Ncurses 5.7 on Solaris 10 sparc
Date: Sat, 20 Dec 2008 15:55:08 -0500 (EST)

On Sat, 20 Dec 2008, BERTRAND Joel wrote:

        Hello,

I'm trying to build ncurses 5.7 on a sparcv9b server running solaris 10.

what configure options are you using for ncurses?

(the one-line below doesn't appear complete)


        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


_______________________________________________
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]