compiling with Bstatic
From: david (wong.david-c_at_epa.gov)
Date: 05/17/04
- Previous message: Dan: "Re: Asian Girls Tortured 178"
- Next in thread: Rich Teer: "Re: compiling with Bstatic"
- Reply: Rich Teer: "Re: compiling with Bstatic"
- Reply: Casper H.S. Dik: "Re: compiling with Bstatic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 May 2004 11:25:15 -0700
Hi,
I was able to do the following successfully:
cc -xarch=v9 -Xa -o t.x t.c
But when I did the following:
cc -xarch=v9 -Xa -Bstatic -o t.x t.c,
I got the following error messages:
Undefined first referenced
symbol in file
llseek t.o
fseek t.o
atexit /opt/SUNWspro/WS6U1/lib/v9/crt1.o
exit /opt/SUNWspro/WS6U1/lib/v9/crt1.o
fwrite t.o
fclose t.o
_exit /opt/SUNWspro/WS6U1/lib/v9/crt1.o
perror t.o
fopen big_file.o
ld: fatal: Symbol referencing errors. No output written to t.x
I wonder there is a way to fix this. Your help is greately
appreciated.
Best regards,
David Wong
- Previous message: Dan: "Re: Asian Girls Tortured 178"
- Next in thread: Rich Teer: "Re: compiling with Bstatic"
- Reply: Rich Teer: "Re: compiling with Bstatic"
- Reply: Casper H.S. Dik: "Re: compiling with Bstatic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]