[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Subject: [ns] Unsatisfied Symbols in HP-UX 10.20
Kun-chan,
I also thought of the same problem, but that simply wasn't easier. I actully
created a '.c' file which I included in the Makefile objects and it seemed to
work.
This is the content of the '.c' file that I used:
void __builtin_delete(char *arg){};
void __rtti_user(void* arg){};
void __builtin_va_start(double *arg){};
void __rtti_si(void* arg){};
void __builtin_new(void* arg){};
void __rtti_class(void* arg){};
void __builtin_vec_delete(void* arg){};
void __builtin_vec_new(void* arg){};
Hopes this helps the next victim !!
-- Martin
> it looks like that you compille with g++ and link with something else
> (like the system ld).
>
> please let me know if that's the cause of problem . thanks .
>
> Kun-chan Lan
>
>
> >From: Martin Koyabe <[email protected]>
> >To: [email protected] <[email protected]>
> >Date: Tuesday, June 13, 2000 4:38 AM
> >Subject: [ns] Unsatisfied Symbols in HP-UX 10.20
> >
> >
> >>Help !!
> >>
> >>I am persistently getting the error below when making NS on HP-UX
> 10.20. I
> >have
> >>installed gcc-2.95.2 with libstdc++-2.90.8 alright. My NS configures
> >without an
> >>error as well. I suspect it could be some library (or library
> switches)
> >that
> >>might be omitted in the running gcc !!
> >>
> >>Any suggestions/possible reasons (apart from what I've seen posted on
> >several
> >>mailing list threads) !!
> >>
> >>-----error message----
> >>/usr/ccs/bin/ld: Unsatisfied symbols:
> >> __builtin_delete (code)
> >> __rtti_user (code)
> >> __builtin_va_start (code)
> >> __rtti_si (code)
> >> __builtin_new (code)
> >> __rtti_class (code)
> >> __builtin_vec_delete (code)
> >> __builtin_vec_new (code)
> >>/usr/ccs/bin/ld: Found 6 duplicate symbol(s)
> >>collect2: ld returned 1 exit status
> >>*** Error exit code 1
> >>-----
> >>
> >>I am using the following switches for linking libraries
> >>
> >>-lgcc -lg++ -lgnulib -lio -liostream -lstdc++ -lreadline -ldld -lm
> -ldld
> >>
> >>
> >>
> >>
> >>
> >>-- Martin
> >>
> >>
> >>------------- End Forwarded Message -------------
> >>
> >>