Posted: Wed Feb 22, 2006 9:44 am Post subject: Compiling BlockIP2.c on Solaris
Novice
Joined: 28 Sep 2005 Posts: 13
I have to compile BlockIP2.c file on Sun Solaris v5.9. I have been looking for the guidelines to compile it on Solaris but could not find anywhere.
I have mq 5.3.12.
I had the file in /tmp area and tried to compile it as follows:
Quote:
./gcc BlockIP2.c -o test
Undefined first referenced
symbol in file
main ./../lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/crt1.o
ld: fatal: Symbol referencing errors. No output written to /tmp/test
collect2: ld returned 1 exit status
I know that there is some thing missing in my approach. Pls let me know how to get this compiled.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum