Fred, it looks like you're using a version of binutils not compatible with your version of gcc. I found this via google For the people that want to use the newer gcc, all you have to do is find where the binutils are for your version of gcc eg: gcc 3.1 binutils are in /usr/local/sparc-sun-solaris2.8/bin
make sure this path is before the /usr/ccs/bin and everything works fine. HTH Kind Regards Conny ________________________________ Von: Fred Bennett [mailto:fbenn...@bellind.com] Gesendet: Dienstag, 4. Mai 2010 17:37 An: Arsperl-users@arsperl.org Betreff: [Arsperl-users] make: Fatal error: Command failed for target 'ARS.o' Hello all, I am expierencing the same issue with ARSperl-1.84, 1.85, 1.90 and 1.91 against the ARS 6.3 libraries I pulled from ARSWiki. The environment is: Solaris: 8 Perl: v5.8.0 built for sun4-solaris Here are the details: I am logged in as root. I am able to unzip the archive (# gunzip ARSperl-1.91.gz --> ARSperl-1.91.tar ) I am able to untar the tar ball (# tar -xvf ARSperl-1.91.tar --> ARSperl-1.91 <directory extracts just fine>) When I execute: perl Makefile.PL - it creates the 'Makefile' file without any obvious issues. - when I try to run 'make', I see the ARS.c and ARS.xs create, but I receive some 'unknown opcode' messages when trying to create ARS.xs, and the process dies when trying to create the ARS.o file. I've included output from my environment (#env ) at the bottom of this email - incase I'm having a bone-head spell. Any suggestions? <output below> # perl Makefile.PL found API Version: 11 derived server version from ar.h: 6.3 Building against perl 5.008 Generating support.h file.. Processing AR_STRUCT_ITEM codes.. Processing AR_SERVER_STAT codes.. Processing AR_SCHEMA codes.. Processing AR_COM_PARM codes.. Processing AR_COM_METHOD codes.. Processing AR_DDE codes.. Processing AR_ACTIVE_LINK_ACTION codes.. Processing AR_ACTIVE_LINK_ACTION_OPEN codes.. Processing AR_CHAR_MENU_DD type codes.. Processing AR_CHAR_MENU_DD name codes.. Processing AR_CHAR_MENU_DD value format.. Processing AR_CHAR_MENU codes.. Processing AR_FILTER_ACTION codes.. Processing AR_MENU_REFRESH codes.. Processing AR_PERMISSIONS (Schema) codes.. Processing AR_PERMISSIONS (Field) codes.. Processing AR_DATA_TYPE codes.. Processing AR_BYTE_LIST codes.. Processing AR_NO_MATCH codes.. Processing AR_MULTI_MATCH codes.. Processing AR_RETURN codes.. Processing AR_FUNCTION codes.. Processing ARCON codes.. Processing ARCONOWNER codes.. Processing ARREF codes.. Processing AR_KEYWORD codes.. Processing AR_SERVER_INFO codes.. Generating serverTypeInfoHints.h .. Converting C header files to perl modules .. Configuring with options: ARSVERSION = 6.30 ARSAPI = /opt/ar/api AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 Writing Makefile for ARS === ARSperl 'make test' configuration. === Please enter the following information. This information will be recorded in ./t/config.cache If you want to skip the 'make test' step, just hit ENTER three times. You can configure it later by either re-running 'perl Makefile.PL' or by editting ./t/config.cache Fair warning: you probably don't want to run 'make test' against a production ARSystem server. Server Name [10.11.12.13]: Admin Username [js124142]: Admin Password [swoffordthepirateking]: Type 'make' (windows: 'nmake') to build ARSperl. Type 'make test' to test ARSperl before installing. Type 'make install' to install ARSperl. # make Skip blib/lib/ARSarerrno-h.pm (unchanged) Skip blib/lib/artypes.ph (unchanged) Skip blib/lib/ARSnparm.pm (unchanged) Skip blib/lib/_h2ph_pre.ph (unchanged) Skip blib/lib/ARSar-h.pm (unchanged) Skip blib/lib/ARSnt-h.pm (unchanged) Skip blib/lib/ARSnterrno-h.pm (unchanged) Skip blib/lib/ARSOOsup.pm (unchanged) Skip blib/lib/ARSOOmsgs.pm (unchanged) Skip blib/lib/ARSOOform.pm (unchanged) Skip blib/lib/ARS.pm (unchanged) gcc -c -I/opt/ar/api/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 ARS.c ARS.c: In function `XS_ARS_ars_CreateField': ARS.xs:3817: warning: `createMode' might be used uninitialized in this function /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 16046: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 16046: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 16056: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 16056: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 17123: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 17123: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 17132: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 17132: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 25844: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 25844: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 25853: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 25853: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 29761: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 29761: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 29770: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 29770: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 30699: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 30699: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 30708: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccICEcD7.s", line 30708: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `ARS.o' # Am I missing something in one of my environment variables (Remedy libs in LD_LIBRARY_PATH possibly?) # env HOME=/ HZ= LD_LIBRARY_PATH=/opt/IBMdb2/V6.1/lib:/usr/lib LOGNAME=root PATH=/usr/sbin:/usr/bin:/sbin:/usr/ucb:/usr/ccs/bin:/bin:/usr/local/bin: /usr/local/apache/bin:. SHELL=/sbin/sh TERM=xterm TZ=US/Eastern # Thanks, -Fred Bennett
------------------------------------------------------------------------------
-- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users