Re: Compiling under SunOs 4.1.3
Brought to you by:
jeffmurphy
From: Joel M. <jm...@ca...> - 1996-02-23 00:09:17
|
> > I use gcc to compile instead and it did not give me any error. However, after > did a make, I didn't see any binary created. make install didn't do anything > either. > no actual 'binary' is created. just a shared library ARS.so. the perl executable knows how to load this in dynamically when you have 'use ARS;' in a script. > Here's the output from the compilation: > > /home/aims/ARSperl-1.1> make > umask 0 && cp ARS.pm blib/lib//ARS.pm > AutoSplitting ARS (./blib/lib//auto/ARS) > /usr/local/bin/perl5 -I/usr/local/lib/perl5/sun4-sunos/5.002 > -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp -typemap > /usr/local/lib/perl5/ExtUtils/typemap -typemap typemap ARS.xs >ARS.tc && mv > ARS.tc ARS.c > Please specify prototyping behavior for ARS.xs (see perlxs manual) ^ `-----I've never seen this message before. keep in mind that perl 5.002 is still in beta. I can't find anything about prototyping behavior in 5.001. > gcc -c -I/home/aims/AR/api/include -I/usr/local/include -I/opt/local/include > -O2 -DVERSION=\"1.0beta\" -DXS_VERSION=\"1.0beta\" -fpic > -I/usr/local/lib/perl5/sun4-sunos/5.002/CORE/ ARS.c > Running Mkbootstrap for ARS () > chmod 644 ARS.bs > LD_RUN_PATH="/home/aims/AR/api/lib:/lib" ld -o blib/arch//auto/ARS/ARS.so > -assert nodefinitions -L/usr/local/lib -L/opt/local/lib ARS.o > -L/home/aims/AR/api/lib -lar -lnsl > chmod 755 blib/arch//auto/ARS/ARS.so > cp ARS.bs ./blib/arch//auto/ARS/ARS.bs > chmod 644 blib/arch//auto/ARS/ARS.bs So it re-built ARS.o, but didn't link it into ARS.so. Try removing blib/ and re-running make, or do 'make clean' to start fresh. > > /home/aims/ARSperl-1.1> make install > Skipping /home/aims/local/lib/perl5/site_perl/sun4-sunos/auto/ARS/ARS.bs > (unchanged) > Skipping /home/aims/local/lib/perl5/site_perl/sun4-sunos/auto/ARS/ARS.so > (unchanged) > Skipping /home/aims/local/lib/perl5/site_perl/auto/ARS/autosplit.ix (unchanged) > Skipping /home/aims/local/lib/perl5/site_perl/ARS.pm (unchanged) > Writing /home/aims/local/lib/perl5/site_perl/sun4-sunos/auto/ARS/.packlist > Appending installation info to > /home/aims/local/lib/perl5/sun4-sunos/5.002/perllocal.pod > |