Operating System - HP-UX
1751907 Members
5186 Online
108783 Solutions
New Discussion

/usr/ccs/bin/ld: Unsatisfied symbols:

 
krjeev
Occasional Advisor

/usr/ccs/bin/ld: Unsatisfied symbols:

Hi I am getting the following error, I am unable to understand, why loader error is coming:
+ /opt/softbench/bin/aCC -O -AA -w -mt +inst_implicit_include -DRWSTD_NO_NAMESPACE -DHPUX_aCC -Dhpux -DHPUX_11 -I- -Ibsrc -I/usr/include -I/opt/aCC/include/SC -c bsrc/tmp_expmain.c
+ /opt/softbench/bin/aCC -O -AA -w -mt +inst_implicit_include -DRWSTD_NO_NAMESPACE -DHPUX_aCC -Dhpux -DHPUX_11 -I- -Ibsrc -I/usr/include -I/opt/aCC/include/SC -c bsrc/tmpl_expander.c
+ /opt/softbench/bin/aCC -O -AA -w -mt +inst_implicit_include -o tmpl_expander tmp_expmain.o tmpl_expander.o
/usr/ccs/bin/ld: Unsatisfied symbols:
Mapbase_ATTLC::remove_deadwood() (first referenced in tmpl_expander.o) (code)
Class tables [Vtable] dependent on key function: "Mapnodebase_ATTLC::~Mapnodebase_ATTLC()" (first referenced in tmpl_expander.o) (data)
Mapbase_ATTLC::newnode(Mapnodebase_ATTLC *) (first referenced in tmpl_expander.o) (code)
typeid (first referenced in tmpl_expander.o) (data)
Srep_ATTLC::Reelp (first referenced in tmpl_expander.o) (data)
String::reserve_grow(int) (first referenced in tmpl_expander.o) (code)
operator +(const String &,char) (first referenced in tmpl_expander.o) (code)
String::overflow() const (first referenced in tmp_expmain.o) (code)
String::operator =(const char *) (first referenced in tmpl_expander.o) (code)
static Srep_ATTLC::doinitialize() (first referenced in tmpl_expander.o) (code)
Tmpstring::operator +(char) (first referenced in tmpl_expander.o) (code)
Srep_ATTLC::nullrep_ (first referenced in tmpl_expander.o) (data)
Mapbase_ATTLC::make_empty() (first referenced in tmpl_expander.o) (code)
operator +(const String &,const char *) (first referenced in tmpl_expander.o) (code)
operator +(const String &,const String &) (first referenced in tmpl_expander.o) (code)
Mapnodebase_ATTLC::~Mapnodebase_ATTLC() (first referenced in tmpl_expander.o) (code)
Srep_ATTLC::delete_srep() (first referenced in tmp_expmain.o) (code)
Tmpstring::operator +(const String &) (first referenced in tmpl_expander.o) (code)
make [util/gentools]: *** exit code 1 making tmpl_expander



make [util]: *** exit code 1 making gentools


I tried without -AA also but it was not working.
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: /usr/ccs/bin/ld: Unsatisfied symbols:

>-DRWSTD_NO_NAMESPACE

You are not allowed to use this with -AA and it shouldn't be specified in any case.

>-I/usr/include

You must not add the default include paths.

>-I/opt/aCC/include/SC

You can't use the obsolete USL SC with -AA.

The rest of these unsats are because you didn't link with the obsolete -l++.