Matt, did you ever find the solution to this error? I
am having the exact same problem. It's saying "libar.a
cannot be processed" when compiling arsperl on AIX.
From: Reinfeldt, Matt <[EMAIL PROTECTED]>
Subject: erors building 1.74 on AIX 4.3.3
Sent: 2003-02-14 13:22
Hey Folks,
our sysadmins are trying to compile 1.74 on our AIX
box (4.3.3) and running
into some errors... can anyone see what"s going wrong
below?
[mad1rem2:root]: make
Skip blib/lib/ARSnt-h.pm (unchanged)
Skip blib/lib/ARS.pm (unchanged)
Skip blib/lib/ARSOOmsgs.pm (unchanged)
Skip blib/lib/ARSnparm.pm (unchanged)
Skip blib/lib/ARSarerrno-h.pm (unchanged)
Skip blib/lib/ARSar-h.pm (unchanged)
Skip blib/lib/ARSnterrno-h.pm (unchanged)
Skip blib/lib/ARSOOform.pm (unchanged)
Skip blib/lib/ARSOOsup.pm (unchanged)
/usr/bin/perl
"-I/usr/local/lib/perl5/5.6.1/aix"
"-I/usr/local/lib/perl5/5.6.1" -e "use
ExtUtils::Mksymlists;
Mksymlists("NAME" => "ARS", "DL_FUNCS" => { },
"FUNCLIST" => [], "DL_VARS"
=> []);"
/usr/bin/perl
-I/usr/local/lib/perl5/5.6.1/aix
-I/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap
-typemap typemap ARS.xs
> ARS.xsc && mv ARS.xsc ARS.c
cc -c -I/home/code/remedy/c/api/include
-D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES
-qlonglong -O -DVERSION=\"1.74\"
-DXS_VERSION=\"1.74\"
-I/usr/local/lib/perl5/5.6.1/aix/CORE -DPROFILE -g
-DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=6 -DPERL_SUBVERSION_IS=1
-DPERL_BASEREV_IS=50 ARS.c
1506-173 (W) Option 32 is not valid. Enter xlc for
list of valid options.
"ARS.xs", line 398.51: 1506-342 (W) "/*" detected in
comment.
cc -c -I/home/code/remedy/c/api/include
-D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES
-qlonglong -O -DVERSION=\"1.74\"
-DXS_VERSION=\"1.74\"
-I/usr/local/lib/perl5/5.6.1/aix/CORE -DPROFILE -g
-DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=6 -DPERL_SUBVERSION_IS=1
-DPERL_BASEREV_IS=50
support.c
1506-173 (W) Option 32 is not valid. Enter xlc for
list of valid options.
cc -c -I/home/code/remedy/c/api/include
-D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES
-qlonglong -O -DVERSION=\"1.74\"
-DXS_VERSION=\"1.74\"
-I/usr/local/lib/perl5/5.6.1/aix/CORE -DPROFILE -g
-DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=6 -DPERL_SUBVERSION_IS=1
-DPERL_BASEREV_IS=50
supportrev.c
1506-173 (W) Option 32 is not valid. Enter xlc for
list of valid options.
Running Mkbootstrap for ARS ()
chmod 644 ARS.bs
rm -f blib/arch/auto/ARS/ARS.so
LD_RUN_PATH="/home/code/remedy/c/api/lib:/lib" ld
-bhalt:4 -bM:SRE
-bI:/usr/local/lib/perl5/5.6.1/aix/CORE/perl.exp
-bE:ARS.exp -b noentry -lC
-lc -L/usr/local/lib ARS.o support.o supportrev.o -o
blib/arch/auto/ARS/ARS.so
-L/home/code/remedy/c/api/lib -lar -lnsl -lnts
-lpthread
ld: 0711-715 ERROR: File
/home/code/remedy/c/api/lib/libar.a cannot be
processed.
The file must be an object file, an import
file, or an archive.
make: 1254-004 The error code from the last command
is 8.
Stop.
[mad1rem2:root]:
the contents of the api/lib directory look like this:
drwxr-sr-x 6 csaradm cel 512 Nov 12 23:07
..
drwxr-sr-x 2 csaradm cel 512 Sep 07 2001
.
-rw-rw-rw- 1 csaradm cel 85856 Feb 14 2001
libarea.a
-rw-rw-rw- 1 csaradm cel 143984 Feb 14 2001
libnts.a
-rw-rw-rw- 1 csaradm cel 1334016 Feb 14 2001
libar.a
thanks for any input!!
Matt Reinfeldt
Remedy System Administrator & Application Developer
Support Solutions Team - U.S. Cellular
http://miwi-remweb1/
work: 608-441-4491
cell: 608-516-4559
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users