hoihoi
Ik heb een OpenBSD4.1 op i386 boxje (jaja ik moet updaten) en wil daarop Chillispot compileren met de hand.
Als ik de recentste stable van Chillispot wil maken (na een configure) gaat dat fout:
Eens even in de source gekekeken....
Kan iemand mij vertellen hoe ik dit nou precies oplos?
De compiler error slaat op de elif, maar dat is gewoon een standaard preprocessor macro
Ik heb een OpenBSD4.1 op i386 boxje (jaja ik moet updaten) en wil daarop Chillispot compileren met de hand.
Als ik de recentste stable van Chillispot wil maken (na een configure) gaat dat fout:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| # make make all-recursive Making all in src if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -fno-builtin -DSBINDIR='"/usr/local/sbin"' -g -O2 -MT tun.o -MD -MP -MF ".deps/tun.Tpo" -c -o tun.o tun.c; then mv -f ".deps/tun.Tpo" ".deps/tun.Po"; else rm -f ".deps/tun.Tpo"; exit 1; fi tun.c:369:29: missing binary operator before token "defined" tun.c:427:2: #error "Unknown platform!" tun.c:448:28: missing binary operator before token "defined" tun.c:500:28: missing binary operator before token "defined" tun.c:508:2: #error "Unknown platform!" tun.c:588:28: missing binary operator before token "defined" tun.c:649:2: #error "Unknown platform!" tun.c:677:28: missing binary operator before token "defined" tun.c:690:2: #error "Unknown platform!" tun.c:725:28: missing binary operator before token "defined" tun.c:824:2: #error "Unknown platform!" *** Error code 1 |
Eens even in de source gekekeken....
code:
1
2
3
4
5
| #elif defined (__FreeBSD__) defined (__OpenBSD__) || defined (__NetBSD__) || defined (__APPLE__) //foo #else #error "Unknown platform!" #endif |
Kan iemand mij vertellen hoe ik dit nou precies oplos?
De compiler error slaat op de elif, maar dat is gewoon een standaard preprocessor macro