[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solaris and undefined symbol exit_curses
From: |
Jeffrey Walton |
Subject: |
Re: Solaris and undefined symbol exit_curses |
Date: |
Fri, 25 Feb 2022 04:10:43 -0500 |
On Fri, Feb 25, 2022 at 3:59 AM Thomas Dickey <dickey@his.com> wrote:
>
> 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.
config.log was provided.
> > $ 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.
Yep, looks like a linker error.
Jeff