[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    CXX-DEV: ld problem with missing symbol table when compiling with +DA2.0W +DS2.0W
From:       Bill Deegan <deegan () cadence ! com>
Date:       2000-12-07 18:52:31
[Download RAW message or body]

Greetings,

Sorry for the cross post, but it's not clear the cause of the problem.

I am building the same exact source code for 32 and 64 bits with the
same
makefiles with the following exceptions:

64 bit build:
+DA2.0W +DS2.0W

32 bit build:
+DAportable +DS2.0 -N

the archive library libxxx.a is being built with the same commands (into
different directories),
and when the executable is linked with the library as
../../directory/libxxx.a, the following
is output during the link phase of building the executable:
ld: Missing library symbol table in ../../directory/libxxx.a


HPUX 11.0
aCC version: B3910B A.03.15

here's the 32 bit compile flags for objects:
/usr/bin/cc -Ae -O   -DSYSV -DNLS16 -DMALLOC_0_RETURNS_NULL -DMERGE
-DTDUX -D__hpux -Dhpux -DOSMAJORVERSION=8 -DOSMINORVERSION=0
-D__hp9000s800 -Dhp9000s800  -DHP -DHPUX -DHPUX11 -DNATIVE_COMPILE
+DAportable +DS2.0  +DO10.20 -Dhpux11   +Ofltacc -o
../../../../directory/periodic_task.o -c periodic_task.c

Here's the 64 bit compile flags for objects:
/usr/bin/cc -Ae -O  -DSYSV -DNLS16 -DMALLOC_0_RETURNS_NULL -DMERGE
-DTDUX -D__hpux -Dhpux -DOSMAJORVERSION=8 -DOSMINORVERSION=0
-D__hp9000s800 -Dhp9000s800  -DHP -DHPUX -DHPUX11 -DNATIVE_COMPILE
+DA2.0W +DS2.0W  +DO10.20 -Dhpux11  +Ofltacc -o
../../../../directory/periodic_task.o -c periodic_task.c

Thanks,
Bill
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic