[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mkcdrec on debian testing



Hallo Marco!

Marco Estrada Martinez schrieb am Mittwoch, den 17. Februar 2010:

> networking/libiproute/lib.a(iptunnel.o): In function `parse_args':
> iptunnel.c:(.text.parse_args+0xed): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.parse_args+0x101): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.parse_args+0x176): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.parse_args+0x1f0): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.parse_args+0x24e): undefined reference to `__cpu_to_be16'
> networking/libiproute/lib.a(iptunnel.o):iptunnel.c:(.text.parse_args+0x290):
> more undefined references to `__cpu_to_be16' follow
> collect2: ld returned 1 exit status
> make[2]: *** [busybox_unstripped] Error 1
> make[2]: Leaving directory `/tmp/mkcdrec/busybox'

Das sieht nach einem fehlenden Include aus.
Der Patch hier, sollte es fixen:
--- networking/libiproute/iptunnel.c.bak        2010-02-17 22:15:58.000000000 +0100
+++ networking/libiproute/iptunnel.c    2010-02-17 22:16:03.000000000 +0100
@@ -18,6 +18,7 @@
 #include <net/if.h>
 #include <net/if_arp.h>
 #include <asm/types.h>
+#include <asm/byteorder.h>
 #ifndef __constant_htons
 #define __constant_htons htons
 #endif



Grüße
Christian
-- 
Moral ein Maulkorb für den Willen, Logik ein Steigriemen für den
Geist.
		-- Franz Grillparzer


Reply to: