[OLSR-users] Cross compiling ipsec-tools-0.5rc1 for arm

sai krishna sai (spam-protected)
Mon Feb 7 07:04:07 CET 2005


  
Hi,

I am trying to cross compile ipsec-tools for arm.I am able to pass the configure section by solving some problems like flex library,openssl...

But when I am trying to do make , i got the following errors.I am not able to get which is going wrong for me.

I am very thankful if anybody suggest me a way to cross this errors and  some detailed explaination for that.


Regards
SaiKrishna

****************************************************************************************************

 
In file included from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:28,
                from pfkey.c:61:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/dst.h:30: error: parse error before "atomic_t"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/dst.h:67: error: parse error before '}' token
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/dst.h:85: error: parse error before "atomic_t"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/dst.h:87: error: parse error before '}' token
In file included from ../../src/include-glibc/linux/timex.h:188,
                from ../../src/include-glibc/linux/sched.h:11,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/time.h:9: error: redefinition of `struct timespec'
../../src/include-glibc/linux/time.h:15: error: redefinition of `struct timeval'
In file included from ../../src/include-glibc/linux/preempt.h:10,
                from ../../src/include-glibc/linux/spinlock.h:9,
                from ../../src/include-glibc/linux/jiffies.h:6,
                from ../../src/include-glibc/linux/sched.h:12,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/linkage.h:5:25: asm/linkage.h: No such file or directory
In file included from ../../src/include-glibc/linux/spinlock.h:12,
                from ../../src/include-glibc/linux/jiffies.h:6,
                from ../../src/include-glibc/linux/sched.h:12,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/thread_info.h:21:29: asm/thread_info.h: No such file or directory
In file included from ../../src/include-glibc/linux/jiffies.h:6,
                from ../../src/include-glibc/linux/sched.h:12,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/spinlock.h: In function `bit_spin_lock':
../../src/include-glibc/linux/spinlock.h:479: error: invalid type argument of `->'
../../src/include-glibc/linux/spinlock.h: In function `bit_spin_trylock':
../../src/include-glibc/linux/spinlock.h:502: error: invalid type argument of `->'
../../src/include-glibc/linux/spinlock.h: In function `bit_spin_unlock':
../../src/include-glibc/linux/spinlock.h:517: error: invalid type argument of `->'
../../src/include-glibc/linux/spinlock.h:517: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
../../src/include-glibc/linux/spinlock.h:517: error: (Each undeclared identifier is reported only once
../../src/include-glibc/linux/spinlock.h:517: error: for each function it appears in.)
../../src/include-glibc/linux/spinlock.h: In function `bit_spin_is_locked':
../../src/include-glibc/linux/spinlock.h:528: error: invalid type argument of `->'
In file included from ../../src/include-glibc/linux/jiffies.h:7,
                from ../../src/include-glibc/linux/sched.h:12,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/seqlock.h: In function `write_seqlock':
../../src/include-glibc/linux/seqlock.h:52: error: invalid type argument of `->'
../../src/include-glibc/linux/seqlock.h: In function `write_sequnlock':
../../src/include-glibc/linux/seqlock.h:61: error: invalid type argument of `->'
../../src/include-glibc/linux/seqlock.h:61: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
../../src/include-glibc/linux/seqlock.h: In function `write_tryseqlock':
../../src/include-glibc/linux/seqlock.h:66: error: invalid type argument of `->'
../../src/include-glibc/linux/seqlock.h:66: error: invalid type argument of `->'
../../src/include-glibc/linux/seqlock.h:66: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from ../../src/include-glibc/linux/sched.h:12,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/jiffies.h: At top level:
../../src/include-glibc/linux/jiffies.h:16: error: parse error before "jiffies_64"
../../src/include-glibc/linux/jiffies.h:20: error: parse error before "get_jiffies_64"
In file included from ../../src/include-glibc/linux/cpumask.h:78,
                from ../../src/include-glibc/linux/sched.h:15,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/bitmap.h: In function `bitmap_zero':
../../src/include-glibc/linux/bitmap.h:113: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_fill':
../../src/include-glibc/linux/bitmap.h:128: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_copy':
../../src/include-glibc/linux/bitmap.h:134: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_and':
../../src/include-glibc/linux/bitmap.h:145: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_or':
../../src/include-glibc/linux/bitmap.h:154: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_xor':
../../src/include-glibc/linux/bitmap.h:163: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_andnot':
../../src/include-glibc/linux/bitmap.h:172: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_complement':
../../src/include-glibc/linux/bitmap.h:181: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_equal':
../../src/include-glibc/linux/bitmap.h:190: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_intersects':
../../src/include-glibc/linux/bitmap.h:199: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_subset':
../../src/include-glibc/linux/bitmap.h:208: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_empty':
../../src/include-glibc/linux/bitmap.h:216: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_full':
../../src/include-glibc/linux/bitmap.h:224: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_shift_right':
../../src/include-glibc/linux/bitmap.h:238: error: `BITS_PER_LONG' undeclared (first use in this function)
../../src/include-glibc/linux/bitmap.h: In function `bitmap_shift_left':
../../src/include-glibc/linux/bitmap.h:247: error: `BITS_PER_LONG' undeclared (first use in this function)
In file included from ../../src/include-glibc/linux/sched.h:15,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/cpumask.h:79:21: asm/bug.h: No such file or directory
In file included from ../../src/include-glibc/linux/sched.h:15,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:81: error: parse error before "DECLARE_BITMAP"
../../src/include-glibc/linux/cpumask.h:82: error: parse error before "_unused_cpumask_arg_"
../../src/include-glibc/linux/cpumask.h:85: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpu_set':
../../src/include-glibc/linux/cpumask.h:87: error: `cpu' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:87: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:91: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpu_clear':
../../src/include-glibc/linux/cpumask.h:93: error: `cpu' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:93: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:97: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_setall':
../../src/include-glibc/linux/cpumask.h:99: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:99: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:103: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_clear':
../../src/include-glibc/linux/cpumask.h:105: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:105: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:112: error: parse error before "cpumask_t"
../../src/include-glibc/linux/cpumask.h: In function `__cpu_test_and_set':
../../src/include-glibc/linux/cpumask.h:114: error: `cpu' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:114: error: `addr' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:118: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_and':
../../src/include-glibc/linux/cpumask.h:121: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:121: error: `src1p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:121: error: `src2p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:121: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:125: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_or':
../../src/include-glibc/linux/cpumask.h:128: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:128: error: `src1p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:128: error: `src2p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:128: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:132: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_xor':
../../src/include-glibc/linux/cpumask.h:135: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:135: error: `src1p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:135: error: `src2p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:135: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:140: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_andnot':
../../src/include-glibc/linux/cpumask.h:143: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:143: error: `src1p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:143: error: `src2p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:143: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:147: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_complement':
../../src/include-glibc/linux/cpumask.h:150: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:150: error: `srcp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:150: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:154: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_equal':
../../src/include-glibc/linux/cpumask.h:157: error: `src1p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:157: error: `src2p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:157: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:161: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_intersects':
../../src/include-glibc/linux/cpumask.h:164: error: `src1p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:164: error: `src2p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:164: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:168: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_subset':
../../src/include-glibc/linux/cpumask.h:171: error: `src1p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:171: error: `src2p' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:171: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:175: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_empty':
../../src/include-glibc/linux/cpumask.h:177: error: `srcp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:177: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:181: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_full':
../../src/include-glibc/linux/cpumask.h:183: error: `srcp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:183: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:187: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_weight':
../../src/include-glibc/linux/cpumask.h:189: error: `srcp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:189: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:194: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_shift_right':
../../src/include-glibc/linux/cpumask.h:197: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:197: error: `srcp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:197: error: `n' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:197: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:202: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpus_shift_left':
../../src/include-glibc/linux/cpumask.h:205: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:205: error: `srcp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:205: error: `n' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:205: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:209: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__first_cpu':
../../src/include-glibc/linux/cpumask.h:211: error: parse error before "int"
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:215: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__next_cpu':
../../src/include-glibc/linux/cpumask.h:217: error: parse error before "int"
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:266: error: parse error before '*' token
../../src/include-glibc/linux/cpumask.h: In function `__cpumask_scnprintf':
../../src/include-glibc/linux/cpumask.h:268: error: `buf' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:268: error: `len' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:268: error: `srcp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:268: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:274: error: parse error before "cpumask_t"
../../src/include-glibc/linux/cpumask.h: In function `__cpumask_parse':
../../src/include-glibc/linux/cpumask.h:276: error: `buf' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:276: error: `len' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:276: error: `dstp' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h:276: error: `nbits' undeclared (first use in this function)
../../src/include-glibc/linux/cpumask.h: At top level:
../../src/include-glibc/linux/cpumask.h:344: error: parse error before "cpu_possible_map"
../../src/include-glibc/linux/cpumask.h:345: error: parse error before "cpu_online_map"
../../src/include-glibc/linux/cpumask.h:346: error: parse error before "cpu_present_map"
In file included from ../../src/include-glibc/linux/sched.h:18,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:18: error: parse error before "wait_queue_head_t"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h: In function `sema_init':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:47: error: dereferencing pointer to incomplete type
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:48: error: dereferencing pointer to incomplete type
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:49: error: dereferencing pointer to incomplete type
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h: In function `down':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:88: error: parse error before "SYMBOL_NAME_STR"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h: In function `down_interruptible':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:101: error: parse error before "SYMBOL_NAME_STR"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h: In function `down_trylock':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:110: error: parse error before "SYMBOL_NAME_STR"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h: In function `up':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/semaphore.h:125: error: parse error before "SYMBOL_NAME_STR"
In file included from ../../src/include-glibc/linux/signal.h:6,
                from ../../src/include-glibc/linux/sched.h:25,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/signal.h: At top level:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/signal.h:27: error: conflicting types for `sigset_t'
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/sys/select.h:38: error: previous declaration of `sigset_t'In file included from ../../src/include-glibc/linux/sched.h:29,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/completion.h:15: error: parse error before "wait_queue_head_t"
../../src/include-glibc/linux/completion.h: In function `init_completion':
../../src/include-glibc/linux/completion.h:26: error: dereferencing pointer to incomplete type
../../src/include-glibc/linux/completion.h:27: error: dereferencing pointer to incomplete type
In file included from ../../src/include-glibc/linux/sched.h:30,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/pid.h: At top level:
../../src/include-glibc/linux/pid.h:17: error: field `pid_chain' has incomplete type
../../src/include-glibc/linux/pid.h:19: error: field `pid_list' has incomplete type
In file included from ../../src/include-glibc/linux/sched.h:31,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/percpu.h:7:24: asm/percpu.h: No such file or directory
In file included from ../../src/include-glibc/linux/sched.h:31,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/percpu.h: In function `__alloc_percpu':
../../src/include-glibc/linux/percpu.h:45: error: `GFP_KERNEL' undeclared (first use in this function)
In file included from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/sched.h: At top level:
../../src/include-glibc/linux/sched.h:92: error: parse error before "process_counts"
In file included from ../../src/include-glibc/linux/sched.h:101,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:14,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
../../src/include-glibc/linux/timer.h:12: error: field `entry' has incomplete type
In file included from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:29,
                from pfkey.c:61:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h: In function `inet_putpeer':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:43: error: invalid type argument of `->'
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:51: error: invalid type argument of `->'
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:51: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h: In function `inet_getid':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:60: error: invalid type argument of `->'
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:62: error: invalid type argument of `->'
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/inetpeer.h:62: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/asm/byteorder.h:29,
                from ../../src/include-glibc/linux/ip.h:19,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:33,
                from pfkey.c:61:
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:43: error: parse error before "__cpu_to_le64p"
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__cpu_to_le64p':
../../src/include-glibc/linux/byteorder/little_endian.h:45: error: `__le64' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:47: error: parse error before '*' token
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__le64_to_cpup':
../../src/include-glibc/linux/byteorder/little_endian.h:49: error: `p' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:51: error: parse error before "__cpu_to_le32p"
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__cpu_to_le32p':
../../src/include-glibc/linux/byteorder/little_endian.h:53: error: `__le32' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:55: error: parse error before '*' token
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__le32_to_cpup':
../../src/include-glibc/linux/byteorder/little_endian.h:57: error: `p' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:59: error: parse error before "__cpu_to_le16p"
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__cpu_to_le16p':
../../src/include-glibc/linux/byteorder/little_endian.h:61: error: `__le16' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:63: error: parse error before '*' token
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__le16_to_cpup':
../../src/include-glibc/linux/byteorder/little_endian.h:65: error: `p' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:67: error: parse error before "__cpu_to_be64p"
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__cpu_to_be64p':
../../src/include-glibc/linux/byteorder/little_endian.h:69: error: `__be64' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h:69: error: parse error before "__swab64p"
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:71: error: parse error before '*' token
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__be64_to_cpup':
../../src/include-glibc/linux/byteorder/little_endian.h:73: error: `p' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:75: error: parse error before "__cpu_to_be32p"
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__cpu_to_be32p':
../../src/include-glibc/linux/byteorder/little_endian.h:77: error: `__be32' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h:77: error: parse error before "__swab32p"
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:79: error: parse error before '*' token
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__be32_to_cpup':
../../src/include-glibc/linux/byteorder/little_endian.h:81: error: `p' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:83: error: parse error before "__cpu_to_be16p"
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__cpu_to_be16p':
../../src/include-glibc/linux/byteorder/little_endian.h:85: error: `__be16' undeclared (first use in this function)
../../src/include-glibc/linux/byteorder/little_endian.h:85: error: parse error before "__swab16p"
../../src/include-glibc/linux/byteorder/little_endian.h: At top level:
../../src/include-glibc/linux/byteorder/little_endian.h:87: error: parse error before '*' token
../../src/include-glibc/linux/byteorder/little_endian.h: In function `__be16_to_cpup':
../../src/include-glibc/linux/byteorder/little_endian.h:89: error: `p' undeclared (first use in this function)
In file included from pfkey.c:61:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:37:2: #warning This file is not supposed to be used outside of kernel.
In file included from pfkey.c:61:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h: At top level:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:66: error: field `dst' has incomplete type
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:119: error: parse error before "old_gw"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:124: error: parse error before "u32"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:129: error: parse error before "addr"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:132: error: parse error before '*' token
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:137: error: parse error before "u32"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h: In function `ip_route_output':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:139: error: `daddr' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:139: error: `saddr' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:139: error: `oif' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:139: error: `tos' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:141: error: `rp' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h: At top level:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:155: error: parse error before "tos"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h: In function `rt_tos2priority':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:157: error: `tos' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h: At top level:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:160: error: parse error before "u32"
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h: In function `ip_route_connect':
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:163: error: `rp' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:163: error: `dst' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:163: error: `src' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:163: error: `tos' undeclared (first use in this function)
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/net/route.h:163: error: `oif' undeclared (first use in this function)
In file included from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/openssl/asn1.h:62,
                from /home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/openssl/rsa.h:62,
                from handler.h:36,
                from pfkey.c:89:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/time.h: At top level:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/time.h:160: error: redefinition of `struct itimerspec'
In file included from handler.h:38,
                from pfkey.c:89:
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/sys/time.h:58: error: redefinition of `struct timezone'
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/sys/time.h:95: error: parse error before numeric constant
/home/naveen/arm-tools/tools.Linux/hard_fp/armv5-linux/sys-include/sys/time.h:109: error: redefinition of `struct itimerval'
make[3]: *** [pfkey.o] Error 1
make[3]: Leaving directory `/home/naveen/ipsec-tools-0.5-rc1/src/racoon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/naveen/ipsec-tools-0.5-rc1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naveen/ipsec-tools-0.5-rc1'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20050207/617b41db/attachment.html>


More information about the Olsr-users mailing list