[OpenSIPS-Users] Error Compiling OpenSIPS on Solaris Sparc 10]

Nathaniel L Keeling keeling at akan-tech.com
Sun May 31 07:42:36 CEST 2009


Here is the output from my cmpile:

# gmake modules
Makefile:463: warning: overriding commands for target `/'
Makefile:454: warning: ignoring old commands for target `/'


gmake[1]: Entering directory `/usr/local/opensips-1.5.1-tls/modules/acc'
gmake[1]: `acc.so' is up to date.
gmake[1]: Leaving directory `/usr/local/opensips-1.5.1-tls/modules/acc'


gmake[1]: Entering directory 
`/usr/local/opensips-1.5.1-tls/modules/alias_db'
gmake[1]: `alias_db.so' is up to date.
gmake[1]: Leaving directory `/usr/local/opensips-1.5.1-tls/modules/alias_db'


gmake[1]: Entering directory `/usr/local/opensips-1.5.1-tls/modules/auth'
Compiling auth_mod.c
gcc -fPIC -DPIC  -g -O9 -funroll-loops   -Wall   -DMOD_NAME='"auth"'    
-DNAME='"opensips"' -DVERSION='"1.5.1-notls"' -DARCH='"sparc64"' 
-DOS='"solaris"' -DCOMPILER='"gcc 3.4.3"' -D__CPU_sparc64 -D__OS_solaris 
-D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM  
-DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE 
-DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC  
-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  
-DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD 
-DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS 
-DHAVE_DEVPOLL -DHAVE_SELECT -c auth_mod.c -o auth_mod.o
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 660: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 680: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 707: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 754: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 774: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 800: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 853: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 873: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 899: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 942: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 962: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 988: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 1014: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 1034: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 1061: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2345: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2365: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2394: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2424: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2444: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2473: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2503: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2523: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2552: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2581: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2601: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2630: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2650: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2670: error: cannot use 
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2699: error: cannot use 
v8plus instructions in a non-v8plus target binary
gmake[1]: *** [auth_mod.o] Error 1
gmake[1]: Leaving directory `/usr/local/opensips-1.5.1-tls/modules/auth'
gmake: *** [modules] Error 2


Subject:
Re: [OpenSIPS-Users] Error Compiling OpenSIPS on Solaris Sparc 10
From:
Sergio Gutierrez <saguti at gmail.com>
Date:
Sat, 30 May 2009 18:12:51 -0500

To:
Nathaniel L Keeling III <keeling at akan-tech.com>
CC:
users at lists.opensips.org



Hmmm...

Quite strange.

Please, post the full output of gmake.

Regards.

Sergio.

On Sat, May 30, 2009 at 5:14 PM, Nathaniel L Keeling III 
<keeling at akan-tech.com <mailto:keeling at akan-tech.com>> wrote:

    This is a package that was installed from the sunfreeware.com
    <http://sunfreeware.com> website
    after installing the OS. I am not defining any CFLAGS or LDFLAGS when I
    try to compile. Here is the command that I use to compile:

    gmake modules

    Sergio Gutierrez wrote:

     > Hi Nathaniel.
     >
     > GCC you are using is the one shipped with Solaris 10, or another
    package?
     >
     > Are you defining any value for CFLAGS or LDFLAGS at compilation time?
     >
     > Regards.
     >
     > Sergio
     >
     > On Sat, May 30, 2009 at 4:28 PM, Nathaniel L Keeling III
     > <keeling at akan-tech.com <mailto:keeling at akan-tech.com>
    <mailto:keeling at akan-tech.com <mailto:keeling at akan-tech.com>>> wrote:
     >
     >     I a using gcc version 3.4.6
     >
     >     Sergio Gutierrez wrote:
     >
     >         Hi Nathaniel.
     >
     >         Pleas provide us the version of GCC you are using;
     >
     >         Best regards.
     >
     >         Sergio
     >
     >         On Sat, May 30, 2009 at 2:25 PM, Nathaniel L Keeling
     >         <keeling at akan-tech.com <mailto:keeling at akan-tech.com>
    <mailto:keeling at akan-tech.com <mailto:keeling at akan-tech.com>>
     >         <mailto:keeling at akan-tech.com
    <mailto:keeling at akan-tech.com> <mailto:keeling at akan-tech.com
    <mailto:keeling at akan-tech.com>>>>
     >         wrote:
     >
     >            I am trying to compile opensips on Solaris Sparc 10 and I
     >         am getting
     >            these errors:
     >
     >            /usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2650: error:
     >         cannot use
     >            v8plus instructions in a non-v8plus target binary
     >            /usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2670: error:
     >         cannot use
     >            v8plus instructions in a non-v8plus target binary
     >            /usr/ccs/bin/as: "/var/tmp//ccXzM5OE.s", line 2699: error:
     >         cannot use
     >            v8plus instructions in a non-v8plus target binary
     >            gmake[1]: *** [auth_mod.o] Error 1
     >            gmake[1]: Leaving directory
     >            `/usr/local/opensips-1.5.1-tls/modules/auth'
     >            gmake: *** [modules] Error 2
     >
     >            I believe that I have all of the dependencies install
    and I
     >         am just
     >            trying to get a basic install to start to work with.
     >
     >            Thanks
     >
     >            _______________________________________________
     >            Users mailing list
     >            Users at lists.opensips.org
    <mailto:Users at lists.opensips.org> <mailto:Users at lists.opensips.org
    <mailto:Users at lists.opensips.org>>
     >         <mailto:Users at lists.opensips.org
    <mailto:Users at lists.opensips.org>
     >         <mailto:Users at lists.opensips.org
    <mailto:Users at lists.opensips.org>>>
     >
     >            http://lists.opensips.org/cgi-bin/mailman/listinfo/users
     >
     >
     >
     >
     >         --
     >         Sergio Gutiérrez
     >
     >
     >
     >
     >
     > --
     > Sergio Gutiérrez


    _______________________________________________
    Users mailing list
    Users at lists.opensips.org <mailto:Users at lists.opensips.org>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users




-- 
Sergio Gutiérrez

------------------------------------------------------------------------





More information about the Users mailing list