Hi,
I just did a git clone and tried to make SR deb packages, but I'm
getting the following error:
../../lib/kcore/../../atomic/atomic_unknown.h: At top level:
../../lib/kcore/../../atomic/atomic_unknown.h:60: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../lib/kcore/../../atomic/atomic_unknown.h:136: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_inc_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:206: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h:206: error: (Each
undeclared identifier is reported only once
../../lib/kcore/../../atomic/atomic_unknown.h:206: error: for each
function it appears in.)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_dec_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:207: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_and_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:208: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_or_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:209: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_inc_and_test_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:210: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_dec_and_test_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:211: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_get_and_set_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:212: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_cmpxchg_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:213: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_add_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:216: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_inc_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:218: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_dec_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:219: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_and_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:220: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_or_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:221: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_inc_and_test_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:222: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_dec_and_test_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:223: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_get_and_set_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:224: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_cmpxchg_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:225: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘atomic_add_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:228: error:
‘_atomic_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘mb_atomic_get_int’:
../../lib/kcore/../../atomic/atomic_unknown.h:257: error:
‘__membar_lock’ undeclared (first use in this function)
../../lib/kcore/../../atomic/atomic_unknown.h: In function
‘mb_atomic_get_long’:
../../lib/kcore/../../atomic/atomic_unknown.h:270: error:
‘__membar_lock’ undeclared (first use in this function)
enum_mod.c: At top level:
enum_mod.c:40: error: ‘NAME’ undeclared here (not in a function)
enum_mod.c:40: error: expected ‘,’ or ‘;’ before string constant
make[3]: *** [enum_mod.o] Error 1
make[3]: se sale del directorio `/usr/src/sip-router/modules/enum'
make[2]: *** [modules] Error 1
make[2]: se sale del directorio `/usr/src/sip-router'
make[1]: *** [build-stamp] Error 2
make[1]: se sale del directorio `/usr/src/sip-router'
dpkg-buildpackage: failure: debian/rules build gave error exit status
2
make: [deb] Error 2 (no tiene efecto)
All dependencies seem to de installed, and I'm using Debian Lenny. Is
there anything I can test to try to get it compile?
Thanks in advance!
--
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/