Gentoo Archives: gentoo-user

From: alex ponomarev <ponomarev.alex1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ipsec-tools-0.7.3 fails to build
Date: Sat, 07 Nov 2009 17:16:51
Message-Id: 8e2566a50911070916u6f8cd1d6ibc2cb58938d5ccad@mail.gmail.com
In Reply to: [gentoo-user] ipsec-tools-0.7.3 fails to build by Mick
1 On Sat, Nov 7, 2009 at 8:10 PM, Mick <michaelkintzios@×××××.com> wrote:
2
3 > Like so:
4 >
5 > i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec -
6 > D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h
7 > -I./src/include-glibc -
8 > I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include
9 > ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -
10 > I../../src/include-glibc -DSYSCONFDIR=\"/etc\" -
11 > DADMINPORTDIR=\"/var/lib/racoon\" -O2 -march=pentium3 -fomit-frame-pointer
12 > -
13 > msse -mmmx -pipe -Wall -Wno-unused -MT session.o -MD -MP -MF
14 > .deps/session.Tpo -c -o session.o session.c
15 > mv -f .deps/session.Tpo .deps/session.Po
16 > i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec -
17 > D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h
18 > -I./src/include-glibc -
19 > I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include
20 > ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -
21 > I../../src/include-glibc -DSYSCONFDIR=\"/etc\" -
22 > DADMINPORTDIR=\"/var/lib/racoon\" -O2 -march=pentium3 -fomit-frame-pointer
23 > -
24 > msse -mmmx -pipe -Wall -Wno-unused -MT isakmp.o -MD -MP -MF
25 > .deps/isakmp.Tpo
26 > -c -o isakmp.o isakmp.c
27 > In file included from ../../src/include-
28 > glibc/linux/byteorder/little_endian.h:12,
29 > from /usr/include/asm/byteorder.h:79,
30 > from ../../src/include-glibc/linux/ip.h:20,
31 > from isakmp.c:115:
32 > ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file
33 > or
34 > directory
35 > make[4]: *** [isakmp.o] Error 1
36 > make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
37 > tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon'
38 > make[3]: *** [all] Error 2
39 > make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
40 > tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon'
41 > make[2]: *** [all-recursive] Error 1
42 > make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
43 > tools-0.7.3/work/ipsec-tools-0.7.3/src'
44 > make[1]: *** [all-recursive] Error 1
45 > make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
46 > tools-0.7.3/work/ipsec-tools-0.7.3'
47 > make: *** [all] Error 2
48 > *
49 > * ERROR: net-firewall/ipsec-tools-0.7.3 failed.
50 > * Call stack:
51 > * ebuild.sh, line 49: Called src_compile
52 > * environment, line 4014: Called die
53 > * The specific snippet of code:
54 > * emake -j1 || die
55 > * The die message:
56 > * (no error message)
57 >
58 > Has anyone managed to build it?
59 > --
60 > Regards,
61 > Mick
62 >
63 Why don't you try to compile it with another version of gcc, selecting
64 another version with 'gcc-config'? May be it'll help?

Replies

Subject Author
Re: [gentoo-user] ipsec-tools-0.7.3 fails to build Mick <michaelkintzios@×××××.com>