Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ipsec-tools-0.7.3 fails to build
Date: Sat, 07 Nov 2009 18:05:06
Message-Id: 200911071804.54524.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] ipsec-tools-0.7.3 fails to build by alex ponomarev
1 On Saturday 07 November 2009 17:16:48 alex ponomarev wrote:
2 > On Sat, Nov 7, 2009 at 8:10 PM, Mick <michaelkintzios@×××××.com> wrote:
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
12 > > -fomit-frame-pointer -
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
23 > > -fomit-frame-pointer -
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
33 > > file 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?
65
66 Thanks, but I currently only have i686-pc-linux-gnu-4.3.4 on this machine
67 (stable x86).
68 --
69 Regards,
70 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature