Complie PERL Solaris 9 64-bit problems

Discussion in 'Perl' started by krigare, Dec 27, 2003.

  1. krigare

    krigare Guest

    Here is what I get:
    gcc -L/usr/local/lib -o miniperl \
    miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lc
    ld: fatal: file miniperlmain.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to miniperl
    collect2: ld returned 1 exit status
    make: *** [miniperl] Error 1

    and ld -help shows ELF64_sparc support but not ELFCLASS64 Any
    suggestions (this is ld from binutils-2.14)??
    ld --help
    Usage: ld [options] file...
    -- trimed output of help ---
    elf64_sparc:
    -Bgroup Selects group name lookup rules for DSO
    --disable-new-dtags Disable new dynamic tags
    --enable-new-dtags Enable new dynamic tags
    --eh-frame-hdr Create .eh_frame_hdr section
    -z combreloc Merge dynamic relocs into one section and sort
    -z defs Disallows undefined symbols
    -z initfirst Mark DSO to be initialized first at runtime
    -z interpose Mark object to interpose all DSOs but executable
    -z loadfltr Mark object requiring immediate process
    -z muldefs Allow multiple definitions
    -z nocombreloc Don't merge dynamic relocs into one section
    -z nocopyreloc Don't create copy relocs
    -z nodefaultlib Mark object not to use default search paths
    -z nodelete Mark DSO non-deletable at runtime
    -z nodlopen Mark DSO not available to dlopen
    -z nodump Mark DSO not available to dldump
    -z now Mark object non-lazy runtime binding
    -z origin Mark object requiring immediate $ORIGIN processing
    at runtime
    -z KEYWORD Ignored for Solaris compatibility

    or
    # ld --help|grep 64
    ld: supported targets: elf32-sparc elf64-sparc a.out-sunos-big
    elf64-little elf64-big elf32-little elf32-big srec symbolsrec tekhex
    binary ihex
    ld: supported emulations: elf32_sparc elf64_sparc
    elf64_sparc:
     
    krigare, Dec 27, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Sm9obiBCYW5raGVhZA==?=

    Failed Complie due to locked DLL

    =?Utf-8?B?Sm9obiBCYW5raGVhZA==?=, Dec 30, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    1,991
    =?Utf-8?B?Q2hpbm1heQ==?=
    Jan 4, 2005
  2. SAI

    complie cs file

    SAI, Jul 10, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    539
    =?Utf-8?B?Q2Ft?=
    Jul 10, 2005
  3. Yet another C# coder

    Complie ASP.NET 2.0 to Single DLL

    Yet another C# coder, Oct 12, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    530
    Juan T. Llibre
    Oct 12, 2005
  4. Benny Ng
    Replies:
    4
    Views:
    1,363
    Otis Mukinfus
    Feb 4, 2006
  5. Replies:
    1
    Views:
    174
    Ilya Zakharevich
    Sep 29, 2006
Loading...

Share This Page