bug-ncurses
[Top][All Lists]
Advanced

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

Re: Solaris and undefined symbol exit_curses


From: Thomas Dickey
Subject: Re: Solaris and undefined symbol exit_curses
Date: Fri, 25 Feb 2022 03:59:17 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Thu, Feb 24, 2022 at 06:11:32AM -0500, Jeffrey Walton wrote:
> I'm trying to build Ncurses 6.3 on Solaris 11 i86pc. Make is failing:

...and before that, the developer fails to provide information on how they
have attempted to configure the program, and what the configure script
actually does with the commands.
 
> $ make 2>&1 | fold -w 80
> ( cd man && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> ( cd include && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> ( cd ncurses && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> ( cd progs && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> ( cd panel && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> ( cd menu && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> ( cd form && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> ( cd test && make DESTDIR="" RPATH_LIST="/usr/local/lib" all )
> /bin/gcc -g2 -O2 -m64 -march=native -fPIC -pthread -o back_ground 
> ../obj_s/back_
> ground.o ../obj_s/dump_window.o -R 
> /export/home/jwalton/Build-Scripts/ncurses-6.
> 3/lib:/usr/local/lib -L/usr/local/lib -m64 -Wl,-R,'$ORIGIN/../lib' 
> -Wl,-R,/usr/l
> ocal/lib -Wl,-z,now -Wl,-z,origin -I. -I. -I../test -DHAVE_CONFIG_H 
> -DDATA_DIR=\
> "/usr/local/share\" -I. -I../include -I/usr/local/include -DNDEBUG 
> -D__EXTENSION
> S__ -DNDEBUG -g2 -O2 -m64 -march=native -fPIC -pthread -fPIC `echo "-L../lib 
> -lf
> ormw -lmenuw -lpanelw -lncursesw -ldl -lpthread" | sed -e 
> 's/-lform.*-lpanel[^ ]
> *//'`
> Undefined                       first referenced
> symbol                             in file
> exit_curses                         ../obj_s/back_ground.o

...which just tells us that the linkage didn't work.

> ld: fatal: symbol referencing errors
> collect2: error: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `back_ground'
> Current working directory /export/home/jwalton/Build-Scripts/ncurses-6.3/test
> *** Error code 1
> make: Fatal error: Command failed for target `all'



-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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