Well I downloaded the code and instructions and followed them exactly. This is what I got as output from the build: make[2]: Entering directory `/usr/src/linux-2.2.10.SuSE/net/ipv4' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE -c -o ip_masq_h3231.o ip_masq_h3231.c ip_masq_h3231.c: In function `masq_h245_out': ip_masq_h3231.c:84: union has no member named `iph' ip_masq_h3231.c:117: warning: passing arg 1 of `ip_masq_new' makes integer from pointer without a cast ip_masq_h3231.c:117: too few arguments to function `ip_masq_new' ip_masq_h3231.c:122: warning: implicit declaration of function `ip_masq_set_expire' ip_masq_h3231.c:122: `ip_masq_expire' undeclared (first use in this function) ip_masq_h3231.c:122: (Each undeclared identifier is reported only once ip_masq_h3231.c:122: for each function it appears in.) ip_masq_h3231.c:125: warning: assignment from incompatible pointer type ip_masq_h3231.c:126: warning: assignment from incompatible pointer type ip_masq_h3231.c:139: warning: passing arg 1 of `ip_masq_new' makes integer from pointer without a cast ip_masq_h3231.c:139: too few arguments to function `ip_masq_new' ip_masq_h3231.c:147: warning: assignment from incompatible pointer type ip_masq_h3231.c:148: warning: assignment from incompatible pointer type ip_masq_h3231.c:162: warning: assignment from incompatible pointer type ip_masq_h3231.c:163: warning: assignment from incompatible pointer type ip_masq_h3231.c:74: warning: `iph' might be used uninitialized in this function ip_masq_h3231.c: At top level: ip_masq_h3231.c:191: warning: initialization from incompatible pointer type ip_masq_h3231.c:192: warning: initialization from incompatible pointer type ip_masq_h3231.c: In function `masq_h323_in': ip_masq_h3231.c:240: union has no member named `iph' ip_masq_h3231.c: At top level: ip_masq_h3231.c:274: warning: initialization from incompatible pointer type ip_masq_h3231.c:275: warning: initialization from incompatible pointer type ip_masq_h3231.c: In function `init_module': ip_masq_h3231.c:356: warning: implicit declaration of function `register_symtab' make[2]: *** [ip_masq_h3231.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.10.SuSE/net/ipv4' make[1]: *** [_modsubdir_ipv4] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.10.SuSE/net' make: *** [_mod_net] Error 2 :-( -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 http://drw.penguinpowered.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Which gcc did you use? 2.7.x or egcs or anything else - it compiles cleanely with gcc 2.95.2 on SuSE 6.2 running kernel 2.2.14. Bostjan * On 23-04-00 at 10:42 Darren R. Weber (weberdr@bellsouth.net) wrote: +----Here quoted text begins----+
Well I downloaded the code and instructions and followed them exactly. This is what I got as output from the build:
make[2]: Entering directory `/usr/src/linux-2.2.10.SuSE/net/ipv4' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE -c -o ip_masq_h3231.o ip_masq_h3231.c ip_masq_h3231.c: In function `masq_h245_out': ip_masq_h3231.c:84: union has no member named `iph' ip_masq_h3231.c:117: warning: passing arg 1 of `ip_masq_new' makes integer from pointer without a cast ip_masq_h3231.c:117: too few arguments to function `ip_masq_new' ip_masq_h3231.c:122: warning: implicit declaration of function `ip_masq_set_expire' ip_masq_h3231.c:122: `ip_masq_expire' undeclared (first use in this function) ip_masq_h3231.c:122: (Each undeclared identifier is reported only once ip_masq_h3231.c:122: for each function it appears in.) ip_masq_h3231.c:125: warning: assignment from incompatible pointer type ip_masq_h3231.c:126: warning: assignment from incompatible pointer type ip_masq_h3231.c:139: warning: passing arg 1 of `ip_masq_new' makes integer from pointer without a cast ip_masq_h3231.c:139: too few arguments to function `ip_masq_new' ip_masq_h3231.c:147: warning: assignment from incompatible pointer type ip_masq_h3231.c:148: warning: assignment from incompatible pointer type ip_masq_h3231.c:162: warning: assignment from incompatible pointer type ip_masq_h3231.c:163: warning: assignment from incompatible pointer type ip_masq_h3231.c:74: warning: `iph' might be used uninitialized in this function ip_masq_h3231.c: At top level: ip_masq_h3231.c:191: warning: initialization from incompatible pointer type ip_masq_h3231.c:192: warning: initialization from incompatible pointer type ip_masq_h3231.c: In function `masq_h323_in': ip_masq_h3231.c:240: union has no member named `iph' ip_masq_h3231.c: At top level: ip_masq_h3231.c:274: warning: initialization from incompatible pointer type ip_masq_h3231.c:275: warning: initialization from incompatible pointer type ip_masq_h3231.c: In function `init_module': ip_masq_h3231.c:356: warning: implicit declaration of function `register_symtab' make[2]: *** [ip_masq_h3231.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.10.SuSE/net/ipv4' make[1]: *** [_modsubdir_ipv4] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.10.SuSE/net' make: *** [_mod_net] Error 2
:-(
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 http://drw.penguinpowered.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ +----and here the quote ends----+
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I am also running SuSE 6.2 and I have not changed anything about the compiler. I just checked to be sure. I have installed gcc 2.7.2.3-38 I haven't upgraded my kernel so I am still running the 2.2.10 kernel from SuSE. As to the question from another list member of if I tried it anyway the answer is yes and no. I would have but the module didn't finish compiling. The error I got was the one you get when you are having a bad day. :-) I think I will try a few things here before I give up. Maybe upgrade my kernel tree since I wanted to do that anyway and rebuild everything and then try the module again. Thanks, If you have any suggestions of other things I should try please send me a note. -Darren On Sun, 23 Apr 2000, Bostjan Muller wrote:
Which gcc did you use? 2.7.x or egcs or anything else - it compiles cleanely with gcc 2.95.2 on SuSE 6.2 running kernel 2.2.14.
Bostjan * On 23-04-00 at 10:42 Darren R. Weber (weberdr@bellsouth.net) wrote: +----Here quoted text begins----+
Well I downloaded the code and instructions and followed them exactly. This is what I got as output from the build:
make[2]: Entering directory `/usr/src/linux-2.2.10.SuSE/net/ipv4' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE -c -o ip_masq_h3231.o ip_masq_h3231.c ip_masq_h3231.c: In function `masq_h245_out': ip_masq_h3231.c:84: union has no member named `iph' ip_masq_h3231.c:117: warning: passing arg 1 of `ip_masq_new' makes integer from pointer without a cast ip_masq_h3231.c:117: too few arguments to function `ip_masq_new' ip_masq_h3231.c:122: warning: implicit declaration of function `ip_masq_set_expire' ip_masq_h3231.c:122: `ip_masq_expire' undeclared (first use in this function) ip_masq_h3231.c:122: (Each undeclared identifier is reported only once ip_masq_h3231.c:122: for each function it appears in.) ip_masq_h3231.c:125: warning: assignment from incompatible pointer type ip_masq_h3231.c:126: warning: assignment from incompatible pointer type ip_masq_h3231.c:139: warning: passing arg 1 of `ip_masq_new' makes integer from pointer without a cast ip_masq_h3231.c:139: too few arguments to function `ip_masq_new' ip_masq_h3231.c:147: warning: assignment from incompatible pointer type ip_masq_h3231.c:148: warning: assignment from incompatible pointer type ip_masq_h3231.c:162: warning: assignment from incompatible pointer type ip_masq_h3231.c:163: warning: assignment from incompatible pointer type ip_masq_h3231.c:74: warning: `iph' might be used uninitialized in this function ip_masq_h3231.c: At top level: ip_masq_h3231.c:191: warning: initialization from incompatible pointer type ip_masq_h3231.c:192: warning: initialization from incompatible pointer type ip_masq_h3231.c: In function `masq_h323_in': ip_masq_h3231.c:240: union has no member named `iph' ip_masq_h3231.c: At top level: ip_masq_h3231.c:274: warning: initialization from incompatible pointer type ip_masq_h3231.c:275: warning: initialization from incompatible pointer type ip_masq_h3231.c: In function `init_module': ip_masq_h3231.c:356: warning: implicit declaration of function `register_symtab' make[2]: *** [ip_masq_h3231.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.10.SuSE/net/ipv4' make[1]: *** [_modsubdir_ipv4] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.10.SuSE/net' make: *** [_mod_net] Error 2
:-(
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 http://drw.penguinpowered.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ +----and here the quote ends----+
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 http://drw.penguinpowered.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I think my download was corrupt. Before I went to the trouble of rebuilding my kernel I thought I should just go through the motions one more time. I downloaded a fresh copy of the module and built it just as before and this time it worked fine. Thanks for the attempted help anyway. I'll let everyone know how it works for me later. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 http://drw.penguinpowered.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
neonatus@gimp.thz.net
-
weberdr@bellsouth.net