bug-ncurses
[Top][All Lists]
Advanced

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

RE: Trouble linking ncurses on HPE NonStop - missing methods


From: Randall S. Becker
Subject: RE: Trouble linking ncurses on HPE NonStop - missing methods
Date: Tue, 23 Jun 2020 17:59:19 -0400

On June 23, 2020 5:52 PM, Thomas Dickey wrote:
> To: Randall S. Becker <rsbecker@nexbridge.com>
> Cc: bug-ncurses@gnu.org
> Subject: Re: Trouble linking ncurses on HPE NonStop - missing methods
> 
> On Tue, Jun 23, 2020 at 12:01:32PM -0400, Randall S. Becker wrote:
> > Hi All,
> >
> > I have been trying to build the latest ncurses from git for the HPE
> > NonStop platform. The compiles all go fine under c99, but when linking
> > happens, we hit missing procs for attorn and attroff in one location.
> > I would appreciate some assistance getting past this. I suspect I'm
> > missing some define or
> > include:
> 
> It's more likely a "-I" option inherited from your CFLAGS or CPPFLAGS
> environment variable (or even CC, since it seems some people do that).

The linker is called by CC - I was trying to get the underlying command.
However, all other tests compiled and linked perfectly. This was the only
test that did not link.

The actual command was:

cc  -o blue ../obj_s/blue.o  -I. -I. -I../test -DHAVE_CONFIG_H
-DDATA_DIR=\"/usr/local/share\" -I. -I../include -D_POSIX_C_SOURCE=199506L
`echo "-L../lib -lform -lmenu -lpanel -lncurses   " | sed -e
's/-lform.*-lpanel[^ ]*//'`  


> The linker commands won't show that.
> 
> > eld command line:
> >    /usr/bin/eld -o blue -set systype oss -set highpin on -set
> > highrequestor on
> >    -set inspect on /usr/lib/ccplmain.o -call_shared ../obj_s/blue.o
-L../lib
> >    -lncurses -L/usr/local/lib -lfloss -lutil -lrld -optional_lib -L
> >    /G/system/sys04 -lcre -lcrtl -lossk -lossf -lsec -li18n -licnv -losse
> >    -linet -lossh -lossc -no_optional_lib -allow_duplicate_procs
> >
> > **** ERROR **** [1210]:
> >    ../obj_s/blue.o: In function `printcard':
> >    ../obj_s/blue.o(.text._151958720+0x302): unresolved reference to
> attron.
> > **** ERROR **** [1210]:
> >    ../obj_s/blue.o(.text._151958720+0x382): unresolved reference to
> attroff.




reply via email to

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