[sr-dev] Compilation Error on OpenSUSE
Edson - Lists
4lists at gmail.com
Fri May 29 15:12:24 CEST 2009
Hi, Andrei...
As You asked for:
# gcc --version
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Edson.
Andrei Pelinescu-Onciul escreveu:
> On May 28, 2009 at 17:38, Edson Gellert Schubert <egschubert at gmail.com> wrote:
>> Just downloaded SR from repository and try to compile it on a OpenSUSE
>> 11.1 VM machine. Not lucky....
>>
>> No matter if I try 'make', 'make all' or 'make install'. Even 'make
>> dist-clean' gives the same.
>>
>> The output is:
>>
>> Kamailio-151:~/sr/sip-router # make
>> config.mak loaded
>> Makefile.defs defs skipped
>> /bin/sh: -c: line 0: syntax error near unexpected token `)'
>> /bin/sh: -c: line 0: `echo CFG_DEFS:= -DNAME=\'\"ser\"\'
>> -DVERSION=\'\"2.1.0-dev23-make\"\' -DARCH=\'\"i386\"\' -DOS=\'linux_\'
>> -DOS_QUOTED=\'\"linux\"\' -DCOMPILER=\'\"gcc Linux)\"\' -D__CPU_i386
>> -D__OS_linux -DSER_VER=2001000 -DCFG_DIR=\'\"/usr/local/etc/ser/\"\'
>> -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST
>> -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE
>> -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC
>> -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT
>> -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2
>> -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
>> -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM
>> -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT
>> -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP >>makecfg.lst'
>> make: *** No rule to make target `makecfg.lst', needed by `action.o'. Stop.
>> Kamailio-151:~/sr/sip-router #
>
> It looks like the gcc version detection fails (-DCOMPILER=\'\"gcc
> Linux)\"\').
> Could you send me the output of gcc --version ?
>
> Andrei
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
More information about the sr-dev
mailing list