(on sparc-solaris9): pbm: make on 5.8.4. Suggestions?

Discussion in 'Perl Misc' started by David Combs, Jul 17, 2004.

  1. David Combs

    David Combs Guest

    I haven't a clue ("C" isn't "my language"), so I'll just
    show the whole thing -- as it isn't all that long:


    358 ==/big5/david3/from_netcom-dir2/sources-stuff/perl-5.8.4==>
    358 ==/big5/david3/from_netcom-dir2/sources-stuff/perl-5.8.4==> make
    `sh cflags "optimize='-O'" miniperlmain.o` miniperlmain.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" perl.o` perl.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" gv.o` gv.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" toke.o` toke.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" perly.o` perly.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" op.o` op.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" pad.o` pad.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" regcomp.o` regcomp.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" dump.o` dump.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" util.o` util.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" mg.o` mg.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" reentr.o` reentr.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" hv.o` hv.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" av.o` av.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" run.o` run.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" pp_hot.o` pp_hot.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" sv.o` sv.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" pp.o` pp.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" scope.o` scope.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" pp_ctl.o` pp_ctl.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" pp_sys.o` pp_sys.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" doop.o` doop.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" doio.o` doio.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" regexec.o` regexec.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" utf8.o` utf8.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" taint.o` taint.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" deb.o` deb.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" universal.o` universal.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" xsutils.o` xsutils.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" globals.o` globals.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" perlio.o` perlio.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" perlapi.o` perlapi.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" numeric.o` numeric.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" locale.o` locale.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" pp_pack.o` pp_pack.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    `sh cflags "optimize='-O'" pp_sort.o` pp_sort.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    rm -f libperl.a
    /usr/ccs/bin/ar rcu libperl.a perl.o gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o
    rm -f opmini.c
    cp op.c opmini.c
    `sh cflags "optimize='-O'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
    CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wall
    rm -f opmini.c
    gcc -o miniperl \
    miniperlmain.o opmini.o libperl.a
    Undefined first referenced
    symbol in file
    cos libperl.a(pp.o)
    exp libperl.a(pp.o)
    log libperl.a(pp.o)
    pow libperl.a(pp.o)
    sin libperl.a(pp.o)
    bind libperl.a(pp_sys.o)
    ceil libperl.a(pp.o)
    fmod libperl.a(pp.o)
    send libperl.a(pp_sys.o)
    sqrt libperl.a(pp.o)
    atan2 libperl.a(pp.o)
    floor libperl.a(pp.o)
    getservbyname libperl.a(pp_sys.o)
    getservbyport libperl.a(pp_sys.o)
    socketpair libperl.a(util.o)
    getsockname libperl.a(pp_sys.o)
    accept libperl.a(pp_sys.o)
    listen libperl.a(pp_sys.o)
    sendto libperl.a(pp_sys.o)
    socket libperl.a(pp_sys.o)
    endprotoent libperl.a(pp_sys.o)
    getprotoent libperl.a(pp_sys.o)
    setprotoent libperl.a(pp_sys.o)
    getprotobyname libperl.a(pp_sys.o)
    getprotobynumber libperl.a(pp_sys.o)
    setservent libperl.a(pp_sys.o)
    endservent libperl.a(pp_sys.o)
    getservent libperl.a(pp_sys.o)
    setsockopt libperl.a(pp_sys.o)
    getsockopt libperl.a(pp_sys.o)
    connect libperl.a(pp_sys.o)
    getnetent libperl.a(pp_sys.o)
    endnetent libperl.a(pp_sys.o)
    setnetent libperl.a(pp_sys.o)
    getpeername libperl.a(pp_sys.o)
    recvfrom libperl.a(pp_sys.o)
    getnetbyaddr libperl.a(pp_sys.o)
    getnetbyname libperl.a(pp_sys.o)
    h_errno libperl.a(pp_sys.o)
    shutdown libperl.a(pp_sys.o)
    ld: fatal: Symbol referencing errors. No output written to miniperl
    collect2: ld returned 1 exit status
    make: *** [miniperl] Error 1
    120.0 sys= 8.0 95% || mem=0 in=0
    359 ==/big5/david3/from_netcom-dir2/sources-stuff/perl-5.8.4==>


    Any ideas?

    THANKS!

    David
    David Combs, Jul 17, 2004
    #1
    1. Advertising

  2. David Combs

    noident Guest

    > gcc -o miniperl \
    > miniperlmain.o opmini.o libperl.a


    Your linker on Solaris will need -lmath -lsocket -lnsl
    maybe others. These should have been automatically detected by the
    configure script (if there is one), and added to the Makefile.
    Running ./configure --help might help.
    noident, Jul 20, 2004
    #2
    1. Advertising

  3. David Combs

    Ben Morrow Guest

    Quoth (noident):
    > > gcc -o miniperl \
    > > miniperlmain.o opmini.o libperl.a

    >
    > Your linker on Solaris will need -lmath -lsocket -lnsl
    > maybe others. These should have been automatically detected by the
    > configure script (if there is one), and added to the Makefile.
    > Running ./configure --help might help.


    ../Configure --help

    Ben

    --
    It will be seen that the Erwhonians are a meek and long-suffering people,
    easily led by the nose, and quick to offer up common sense at the shrine of
    logic, when a philosopher convinces them that their institutions are not based
    on the strictest morality. [Samuel Butler, paraphrased]
    Ben Morrow, Jul 20, 2004
    #3
    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. Replies:
    1
    Views:
    351
    =?Utf-8?B?R2FicmllbCBGbG9yZXMgUi4=?=
    Jan 5, 2005
  2. felix

    Servlet / Jini Lookup pbm

    felix, Mar 15, 2005, in forum: Java
    Replies:
    0
    Views:
    396
    felix
    Mar 15, 2005
  3. laniik

    Q: reading PBM

    laniik, Apr 27, 2005, in forum: C++
    Replies:
    3
    Views:
    420
    Karl Heinz Buchegger
    Apr 28, 2005
  4. Micha³ Kurowski

    IO::Socket on Solaris9

    Micha³ Kurowski, Apr 1, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    129
    Micha³ Kurowski
    Apr 1, 2004
  5. peco
    Replies:
    5
    Views:
    131
Loading...

Share This Page