in reply to Re: Expat.o missing error on solaris 10 (gcc)
in thread Expat.o missing error on solaris 10

I am using 5.8.4. Unfortunately i cannot upgrade it at this point. I updated the Makefile to point to gcc instead of cc. I am getting the same error. Is there any other work around?

This is perl, v5.8.4 built for sun4-solaris-64int (with 37 registered patches, see perl -V for more detail)

  • Comment on Re^2: Expat.o missing error on solaris 10 (gcc)

Replies are listed 'Best First'.
Re^3: Expat.o missing error on solaris 10 (gcc)
by topgunzzz (Initiate) on Feb 12, 2014 at 03:15 UTC

    Here is the output when i use gcc

    # /usr/ccs/bin/make gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_E +RRNO -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" -fPIC "-I/usr/perl +5/5.8.4/lib/sun4-solaris-64int/CORE" Expat.c gcc: language arch=v8 not recognized gcc: Expat.c: linker input file unused because linking not done Running Mkbootstrap for XML::Parser::Expat () chmod 644 Expat.bs rm -f blib/arch/auto/XML/Parser/Expat/Expat.so LD_RUN_PATH="/usr/local/bin:/usr/local/include" gcc -G Expat.o -o bl +ib/arch/auto/XML/Parser/Expat/Expat.so gcc: Expat.o: No such file or directory gcc: no input files *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/XML/Parse +r/Expat/Expat.so'

      Here is the output when i use gcc ...

      Did you start with a fresh directory of XML-Parser?

      This seems wrong  gcc: language arch=v8 not recognized

      In the OP you had similar  cc: unrecognized option `-KPIC'

      If you use the same compiler to build perl and the extra modules, you won't have to guess at what the correct compiler options should be

      If you search for it gcc: language arch=v8 not recognized you 'll find
      says something about include paths Problems installing DBD::mysql on Solaris 8 - Page 1
      says recompile perl Problem compiling DBD::Informix in Solaris10/SPARC

      I recommend to recompile perl

      While its quite possible to do it the other way -- you'll have to learn more than you ever wanted to know :)