![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parsing Binary | xgringo | Shell Programming and Scripting | 2 | 02-26-2008 01:09 PM |
| compiled binary file gives "cannot execute binary file" | scgupta | SUN Solaris | 0 | 07-13-2006 02:59 AM |
| Where is M4 binary? | hypamw | UNIX for Dummies Questions & Answers | 2 | 05-05-2005 12:25 AM |
| is it text or binary | avnerht | Shell Programming and Scripting | 1 | 06-23-2004 02:40 PM |
| ftp binary | eeldivady | UNIX for Dummies Questions & Answers | 2 | 07-06-2001 03:22 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
gcc 4.2.0 from SUN binary gccfss
Hi All
I have installed the above version of gcc from the SUN binaries and recieved the following linker error when trying to compile and link a hello world test program written in C++. ld: fatal: option -z has illegal argument `ld32=-S/export/home/sources/gcc_SUN_b inary/SUNW0scgfss/4.2.0/prod/lib/libld_annotate.so' ld: fatal: option -z has illegal argument `ld64=-S/export/home/sources/gcc_SUN_b inary/SUNW0scgfss/4.2.0/prod/lib/v9/libld_annotate.so' Breaking the process down I can compile without errors. But linking generates errors. Using the SUN linker I see ld: fatal: file file_type_c.o: section .rela.annotate: relocations can not be applied against section `.annotate' and with the GNU liner from binutils 2.18 I see /usr/local/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000010054 file_type_c.o: In function `main': file_type_c.c .text+0x8): undefined reference to `puts'Can anyone give me some pointers as to the origins of the above errors. Thanks Ed |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|