bug-zebra
[Top][All Lists]
Advanced

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

Re: Problem with make.


From: Yasuhiro Ohara
Subject: Re: Problem with make.
Date: Thu, 23 Sep 2004 18:14:16 +0900 (JST)

Sorry for this late response.

It seems that the compilation error indicates that zebra.h misses
(possibly just one) C-header file that should be included, on your
platform.

Please grep '__kernel_fsid_t' in /usr/include/ and lower.
There should be "typedef __kernel_fsid_t ..." in a xxx.h.
Put the "#include <xxx.h>" in zebra.h: line 101 manually,
and then please give us what is the result.

regards,
yasu

From: Zbigniew Swietkowski <address@hidden>
Subject: Problem with make.
Date: Tue, 7 Sep 2004 10:30:57 +0200 (CEST)

> Hello, 
> I was trying to compile quagga on Trustix Secure Linux release 2.0 (Cloud)
> with Linux wiedzmin 2.4.24-grsec #1 Sun Jan 25 15:11:16 CET 2004 i686 
> unknown unknown GNU/Linux
> 
> But I got error:
> address@hidden ~/install/quagga-0.96.5# make
> make  all-recursive
> make[1]: Entering directory `/root/install/quagga-0.96.5'
> Making all in lib
> make[2]: Entering directory `/root/install/quagga-0.96.5/lib'
> echo '' >version.c
> echo 'char *host_name = "";' >>version.c
> if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. 
> -I.. -I../lib    -g -O2 -Wall -MT version.o -MD -MP -MF 
> ".deps/version.Tpo" \
>   -c -o version.o `test -f 'version.c' || echo './'`version.c; \
> then mv -f ".deps/version.Tpo" ".deps/version.Po"; \
> else rm -f ".deps/version.Tpo"; exit 1; \
> fi
> if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. 
> -I.. -I../lib    -g -O2 -Wall -MT network.o -MD -MP -MF 
> ".deps/network.Tpo" \
>   -c -o network.o `test -f 'network.c' || echo './'`network.c; \
> then mv -f ".deps/network.Tpo" ".deps/network.Po"; \
> else rm -f ".deps/network.Tpo"; exit 1; \
> fi
> In file included from /usr/include/linux/vfs.h:4,
>                  from /usr/include/linux/fs.h:14,
>                  from /usr/include/linux/capability.h:17,
>                  from /usr/include/sys/capability.h:24,
>                  from zebra.h:101,
>                  from network.c:23:
> /usr/include/asm/statfs.h:20: error: parse error before "__kernel_fsid_t"
> /usr/include/asm/statfs.h:23: error: parse error before '}' token
> make[2]: *** [network.o] Error 1
> make[2]: Leaving directory `/root/install/quagga-0.96.5/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/install/quagga-0.96.5'
> make: *** [all] Error 2
> address@hidden ~/install/quagga-0.96.5#
> 
> address@hidden ~/install/quagga-0.96.5# netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt 
> Iface
> 62.181.170.0    0.0.0.0         255.255.255.128 U         0 0          0 
> eth0
> 212.244.251.128 0.0.0.0         255.255.255.128 U         0 0          0 
> eth2
> 172.16.0.0      0.0.0.0         255.255.255.0   U         0 0          0 
> eth3
> 127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 
> lo
> 0.0.0.0         62.181.170.1    0.0.0.0         UG        0 0          0 
> eth0
> address@hidden ~/install/quagga-0.96.5#
> 
> address@hidden ~/install/quagga-0.96.5# ifconfig -a
> eth0      Link encap:Ethernet  HWaddr 00:04:23:91:30:42
>           inet addr:62.181.170.2  Bcast:62.181.170.255  
> Mask:255.255.255.128
>           inet6 addr: fe80::204:23ff:fe91:3042/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:431934284 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:329400694 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:3261983472 (3110.8 Mb)  TX bytes:1456775816 (1389.2 Mb)
>           Interrupt:9 Base address:0xd400 Memory:fd000000-fd020000
> 
> eth0:0    Link encap:Ethernet  HWaddr 00:04:23:91:30:42
>           inet addr:62.181.170.10  Bcast:62.255.255.255  
> Mask:255.255.255.128
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           Interrupt:9 Base address:0xd400 Memory:fd000000-fd020000
> 
> eth0:1    Link encap:Ethernet  HWaddr 00:04:23:91:30:42
>           inet addr:62.181.170.11  Bcast:62.255.255.255  
> Mask:255.255.255.128
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           Interrupt:9 Base address:0xd400 Memory:fd000000-fd020000
> 
> eth1      Link encap:Ethernet  HWaddr 00:04:23:91:30:0A
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>           Interrupt:9 Base address:0xd000 Memory:fc000000-fc020000
> 
> eth2      Link encap:Ethernet  HWaddr 00:04:23:91:33:B7
>           inet addr:212.244.251.248  Bcast:212.244.251.255  
> Mask:255.255.255.128
>           inet6 addr: fe80::204:23ff:fe91:33b7/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:53672215 errors:3 dropped:0 overruns:0 frame:3
>           TX packets:50550431 errors:1 dropped:0 overruns:0 carrier:1
>           collisions:4832469 txqueuelen:1000
>           RX bytes:2760182863 (2632.3 Mb)  TX bytes:3111808048 (2967.6 Mb)
>           Interrupt:9 Base address:0xb800 Memory:fb000000-fb020000
> eth3      Link encap:Ethernet  HWaddr 00:08:02:F7:C2:09
>           inet addr:172.16.0.1  Bcast:172.16.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::208:2ff:fef7:c209/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:379961809 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:469694324 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:232505552 (221.7 Mb)  TX bytes:676490567 (645.1 Mb)
>           Interrupt:3
> 
> gre0      Link encap:UNSPEC  HWaddr 
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>           NOARP  MTU:1476  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:40 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:4101 (4.0 Kb)  TX bytes:4101 (4.0 Kb)
> sit0      Link encap:IPv6-in-IPv4
>           NOARP  MTU:1480  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> teql0     Link encap:UNSPEC  HWaddr 
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>           NOARP  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> tunl0     Link encap:IPIP Tunnel  HWaddr
>           NOARP  MTU:1480  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> 
> I did somethink wrong or is it a bug?
> 
> I looking forward from you.
> 
> regards,
> -- 
> Zbigniew Swietkowski
> [ Net Admin @mac.edu.pl ]
> [ http://yataman.mac.edu.pl ]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]