Re: lug-bg: IPX routing
- Subject: Re: lug-bg: IPX routing
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Sun, 6 Jan 2002 23:57:20 +0200
sorry za pravopisnata greshka:
usr/src da se 4ete /usr/include , t.e.
> V dneshni vremena (2.2.xx 2.4.xx kernels) da imash goreposo4enite symlinks
> e prosto zaqvka za problem, i to _golqm_ . Vsustnost ti pak si imash kernel
> headers v libc-to, no te sa tezi sprqmo kojto e kompilirano libc-to, i ne
> biva da se promenqt. T.e. /usr/src/linux e direktoriq a NE _symlink_ kym
T.e. /usr/inlude/linux
> sourceto na tekustiq ti kernel. Ponqkoga ima i /usr/src/linux.old , v tazi
/usr/include/linux.old
> direktoriq se sydurzhat po-stari kernel headers i ponqkoga se prenaso4va
> gcc s opciqta -I za da include-va ot tam i nomera minava pri kompilaciqta
> na takiva stari source-ta kojto raz4itat na stari .h files.
> > root@wireless:/work/ipxripd# make
> > cc -Wall -O2 -g -c -o ipxd.o ipxd.c
> > In file included from ipxutil.h:28,
> > from ipxd.h:27,
> > from ipxd.c:33:
> > /usr/include/linux/ipx.h:11: parse error before `__u16'
> > /usr/include/linux/ipx.h:11: warning: no semicolon at end of struct or
> > union /usr/include/linux/ipx.h:12: warning: data definition has no type
> > or storage class
> > /usr/include/linux/ipx.h:14: parse error before `sipx_type'
> > /usr/include/linux/ipx.h:14: warning: data definition has no type or
> > storage class
> > /usr/include/linux/ipx.h:16: parse error before `}'
> > /usr/include/linux/ipx.h:29: parse error before `__u32'
> > /usr/include/linux/ipx.h:29: warning: no semicolon at end of struct or
> > union /usr/include/linux/ipx.h:30: warning: data definition has no type
> > or storage class
> > /usr/include/linux/ipx.h:32: parse error before `}'
> > /usr/include/linux/ipx.h:32: warning: data definition has no type or
> > storage class
> > /usr/include/linux/ipx.h:36: parse error before `__u32'
> > /usr/include/linux/ipx.h:36: warning: no semicolon at end of struct or
> > union /usr/include/linux/ipx.h:50: parse error before `}'
> > /usr/include/linux/ipx.h:50: warning: data definition has no type or
> > storage class
> > /usr/include/linux/ipx.h:64: parse error before `__u32'
> > /usr/include/linux/ipx.h:64: warning: no semicolon at end of struct or
> > union /usr/include/linux/ipx.h:65: warning: data definition has no type
> > or storage class
> > /usr/include/linux/ipx.h:74: parse error before `}'
> > In file included from ipxd.h:29,
> > from ipxd.c:33:
> > ipxsap.h:72: field `dest_addr' has incomplete type
> > In file included from ipxd.h:30,
> > from ipxd.c:33:
> > ipxrip.h:58: field `dest_addr' has incomplete type
> > In file included from ipxd.c:33:
> > ipxd.h: In function `print_time':
> > ipxd.h:71: warning: implicit declaration of function `time'
> > ipxd.h:72: warning: implicit declaration of function `ctime'
> > ipxd.h:72: warning: format argument is not a pointer (arg 3)
> > ipxd.c: At top level:
> > ipxd.c:64: initializer element is not constant
> > ipxd.c: In function `ifc_net':
> > ipxd.c:69: warning: `__v' might be used uninitialized in this function
> > ipxd.c: In function `run':
> > ipxd.c:462: storage size of `sipx' isn't known
> > ipxd.c:462: warning: unused variable `sipx'
> > make: *** [ipxd.o] Error 1
> > root@wireless:/work/ipxripd#
>
> mda, eto kolko mnogo nesta sa promenini v ipxd.h , a tozi kojto e pisal
> ipxd.c o4akva syvsem drugo da include ot tam :)
imah predvid /usr/include/linux/ipx.h
P.S. za durgite se sestajte :) , 23:56 e ... i az spq i gresha :)
--
Greets,
fr33zb1
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|