Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
10-13-2005, 04:47 AM
#1
LQ Newbie
Registered: Oct 2005
Posts: 1
Rep:
VPN Client Apani.com: can't install it
Hey!
I want to install the VPN Client from Apani.com
The readme says that I should enable netfiltering. I've done that, but this error occurs:
Code:
cd src && make all
make[1]: Entering directory `/tmp/vpn/cvc_linux-suse-gcc3-3.3/src'
cd k2.6 && make
make[2]: Entering directory `/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6'
make -C /lib/modules/2.6.13.3/build SUBDIRS=/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6 modules
make[3]: Entering directory `/usr/src/linux-2.6.13.3'
CC [M] /tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.o
/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function `nl_skb_dup':
/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:527: error: structure has no member named `security'
/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:527: error: structure has no member named `security'
/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function `do_checksum_offload':
/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:744: error: dereferencing pointer to incomplete type
make[4]: *** [/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.o] Error 1
make[3]: *** [_module_/tmp/vpn/cvc_linux-suse-gcc3-3.3/src/k2.6] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.13.3'
Does anybody know how to fix this?
Danke
Last edited by Finswimmer; 10-13-2005 at 05:24 AM .
10-19-2005, 05:16 PM
#2
Member
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90
Rep:
I've got the same problem trying to compile on Slackware 10.2 with 2.6.13 kernel.
I can get rid of of the security errors by deleting the security line from src/linux_wrapper.c
but I still get the do_checksum_offload errors.
I don't know anything about evaluating that function, but I could post that section of code if anyone is willing to look at it.
10-19-2005, 09:04 PM
#3
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
Same errors here, Gentoo Distribution using 2.6.13-3 kernel. Any help/suggestion would be great.
10-21-2005, 08:06 PM
#4
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
I had similar errors trying to compile the Apani cvc_linux client in SUSE 10.0 with the 2.6.13-15 kernel. I contacted Apani tech support who informed me that the latest kernel that cvc_linux v. 3.3 supports is 2.6.11. As of this week they do not have a target date for an updated client to support later kernels.
11-03-2005, 11:07 PM
#5
LQ Newbie
Registered: Nov 2005
Location: NJ
Distribution: Debian
Posts: 3
Rep:
#include <linux/tcp.h>
To get rid of the "dereferencing pointer to incomplete type" error message, simply add
#include <linux/tcp.h>
line at the beginning of the file (somewhere next to #include <linux/udp.h>)
Hope this helps!
11-04-2005, 12:42 PM
#6
Member
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90
Rep:
Re: #include <linux/tcp.h>
Quote:
Originally posted by motus
To get rid of the "dereferencing pointer to incomplete type" error message, simply add
#include <linux/tcp.h>
line at the beginning of the file (somewhere next to #include <linux/udp.h>)
Hope this helps!
So far this is working great. Thank you so much.
11-05-2005, 07:02 PM
#7
LQ Newbie
Registered: Nov 2005
Location: NJ
Distribution: Debian
Posts: 3
Rep:
Re: Re: #include <linux/tcp.h>
Quote:
Originally posted by sn9ke_eyes
So far this is working great. Thank you so much.
Do you mean it
compiles great, or does it really
WORK ?? I doubt the latter - at least, on my Debian+2.6.13.3 it just hangs the whole system. Most likely you have to use it with some older kernel.. I've just peeked into the source code of Debian/Sarge default 2.6.8 kernel, and that stuff looks way more promising - the sk_buff.security field is there, at least. Will try it tonight.
Hope this helps!
-- Sergei
11-07-2005, 07:31 AM
#8
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
Compiles, but hangs
I was waiting until I had time to collect more information. But the vpn compiles but hangs my system now. I also get some error messages about the ' 'mshim' not about to allocate memory, or some such. Last time I was replying about this, my sytem died right when I tried to post this info
11-07-2005, 11:50 AM
#9
Member
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90
Rep:
Re: Re: Re: #include <linux/tcp.h>
Quote:
Originally posted by motus
Do you mean it compiles great, or does it really WORK ?? I doubt the latter - at least, on my Debian+2.6.13.3 it just hangs the whole system. Most likely you have to use it with some older kernel.. I've just peeked into the source code of Debian/Sarge default 2.6.8 kernel, and that stuff looks way more promising - the sk_buff.security field is there, at least. Will try it tonight.
Hope this helps!
-- Sergei
No I mean it worked. I was not able to test again over the weekend, so that was only 1 test that it worked on.
11-09-2005, 11:46 AM
#10
Member
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90
Rep:
Re: Re: Re: Re: #include <linux/tcp.h>
Quote:
Originally posted by sn9ke_eyes
No I mean it worked. I was not able to test again over the weekend, so that was only 1 test that it worked on.
ok I'm using this again today and it is working.
1 - added the line to the linux_wrapper.c
2 - deleted the security line from linux_wrapper.c
3 - make all
4 - make install
To run:
insmod /etc/netlock/mishim.o
/etc/netlock/nleac
then start the extranet client through the gnome shortcut
This is on slackware 10.2 with custom 2.6.13 kernel
11-10-2005, 10:22 AM
#11
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
Still locking here
Edited cvc_linux-rh-gcc3-3.3/src/k2.6/linux_wrapper.c
I added the line:
#include <linux/tcp.h>
after the line:
#include <linux/udp.h>
approximately line 75
I also deleted the line:
new_skb->security = skb->security;
approximate at Line 528
Everything compiled fine, but when I preform 'insmod /etc/netlock/mishim.o', Within a minute my system will completely lockup:
Code:
NetLOCK: flushing heap cache
NetLOCK: Could not allocate 116 bytes from system (currently using 0 bytes)
Unable to handle kernel paging request at virtual address f8c1a620
printing eip:
c03d14b2
*pde = 37153067
*pte = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_via82xx snd_ac97_codec snd_mpu401_uart snd_rawmidi tuner bttv video_buf firmware_class btcx_risc tveeprom 8139too nvidia
CPU: 0
EIP: 0060:[<c03d14b2>] Tainted: P VLI
EFLAGS: 00010202 (2.6.11-gentoo-r11)
EIP is at nf_iterate+0x32/0xa0
eax: c05329b8 ebx: f4e87c24 ecx: 00000000 edx: f8c1a620
esi: 80000000 edi: c05d0f78 ebp: c03e04b0 esp: f4e87bd8
ds: 007b es: 007b ss: 0068
Process nmbd (pid: 9251, threadinfo=f4e86000 task=f776c550)
Stack: 00000003 f4e87c44 00000000 f76cd800 c03e04b0 f4d42d40 00000003 00000002
c03e04b0 c03d18d5 c05d0f78 f4e87c44 00000003 00000000 f76cd800 f4e87c24
c03e04b0 80000000 00000000 f8c1a620 f4d42d40 00000040 f20905e0 f71b7040
Call Trace:
[<c03e04b0>] dst_output+0x0/0x30
[<c03e04b0>] dst_output+0x0/0x30
[<c03d18d5>] nf_hook_slow+0x75/0x120
[<c03e04b0>] dst_output+0x0/0x30
[<c03e003a>] ip_push_pending_frames+0x3fa/0x460
[<c03e04b0>] dst_output+0x0/0x30
[<c03fb70e>] udp_push_pending_frames+0x14e/0x290
[<c03fbbf1>] udp_sendmsg+0x361/0x6f0
[<c03c0254>] kfree_skbmem+0x24/0x30
[<c0403a4d>] inet_sendmsg+0x4d/0x60
[<c03bbfd5>] sock_sendmsg+0xe5/0x100
[<c03d1921>] nf_hook_slow+0xc1/0x120
[<c013b242>] prep_new_page+0x52/0x60
[<c013b7b2>] buffered_rmqueue+0xe2/0x200
[<c0112920>] finish_task_switch+0x30/0x90
[<c044cd91>] schedule+0x311/0x530
[<c012b6e0>] autoremove_wake_function+0x0/0x60
[<c03bd673>] sys_sendto+0xe3/0x100
[<c016b030>] __pollwait+0x0/0xd0
[<c0271e76>] copy_from_user+0x46/0x90
[<c03bdf79>] sys_socketcall+0x189/0x260
[<c010325b>] syscall_call+0x7/0xb
Code: 8b 5c 24 3c 8b 7c 24 28 8b 6c 24 40 8b 74 24 44 8b 03 8b 10 89 13 8b 02 0f 18 00 90 39 fa 74 15 8b 03 3b 70 18 7e 1d 8b 10 89 13 <8b> 02 0f 18 00 90 39 fa 75 eb ba 01 00 00 00 83 c4 14 89 d0 5b
<6>note: nmbd[9251] exited with preempt_count 1
System info:
uname -a:
Code:
Linux trollbox 2.6.11-gentoo-r11 #7 Thu Oct 20 18:56:53 EST 2005 i686 AMD Duron(tm) processor AuthenticAMD GNU/Linux
lsmod
Code:
snd_via82xx 22880 2
snd_ac97_codec 74040 1 snd_via82xx
snd_mpu401_uart 6336 1 snd_via82xx
snd_rawmidi 20576 1 snd_mpu401_uart
tuner 21220 0
bttv 146064 0
video_buf 17668 1 bttv
firmware_class 7936 1 bttv
btcx_risc 3912 1 bttv
tveeprom 11544 1 bttv
8139too 21120 0
nvidia 3464828 9 [permanent]
lshw
Code:
description: Desktop Computer
product: FX43
vendor: VIA Technologies, Inc.
width: 32 bits
capabilities: smbios-2.3 dmi-2.3
configuration: boot=normal chassis=desktop uuid=1297F643-FFFF-FFFF-FFFF-FFFFFFFFFFFF
*-core
description: Motherboard
product: FX43
vendor: SHUTTLE INC
physical id: 0
slot: LPT1
*-firmware
description: BIOS
vendor: Phoenix Technologies, LTD
physical id: 0
version: 6.00 PG (09/10/2004)
size: 128KB
capacity: 448KB
capabilities: isa pci pnp apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot biosbootspecification
*-cpu
description: CPU
product: AMD Duron(tm) processor
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: 6.8.1
slot: Socket A
size: 1800MHz
capacity: 3GHz
width: 32 bits
clock: 133MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow
*-cache:0
description: L1 cache
physical id: 8
slot: Internal Cache
size: 128KB
capacity: 128KB
capabilities: synchronous internal write-back
*-cache:1
description: L2 cache
physical id: 9
slot: External Cache
size: 64KB
capacity: 64KB
capabilities: synchronous external write-back
*-memory
description: System Memory
physical id: 19
slot: System board or motherboard
size: 1GB
capacity: 2GB
*-bank:0
description: DIMM
product: None
vendor: None
physical id: 0
serial: None
slot: A0
size: 512MB
*-bank:1
description: DIMM
product: None
vendor: None
physical id: 1
serial: None
slot: A1
size: 512MB
*-pci
description: Host bridge
product: VT8378 [KM400/A] Chipset Host Bridge
vendor: VIA Technologies, Inc.
physical id: a0000000
bus info: pci@00:00.0
version: 00
width: 32 bits
clock: 66MHz
resources: iomemory:a0000000-bfffffff
*-pci
description: PCI bridge
product: VT8237 PCI Bridge
vendor: VIA Technologies, Inc.
physical id: 1
bus info: pci@00:01.0
version: 00
width: 32 bits
clock: 66MHz
capabilities: pci normal_decode bus_master cap_list
*-display
description: VGA compatible controller
product: NV36.1 [GeForce FX 5700 Ultra]
vendor: nVidia Corporation
physical id: 0
bus info: pci@01:00.0
version: a1
size: 256MB
width: 32 bits
clock: 66MHz
capabilities: vga bus_master vga_palette cap_list
configuration: driver=nvidia
resources: iomemory:d0000000-d0ffffff iomemory:c0000000-cfffffff irq:11
*-multimedia:0
description: Multimedia video controller
product: Bt878 Video Capture
vendor: Brooktree Corporation
physical id: a
bus info: pci@00:0a.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=bttv
resources: iomemory:d2000000-d2000fff irq:11
*-multimedia:1 UNCLAIMED
description: Multimedia controller
product: Bt878 Audio Capture
vendor: Brooktree Corporation
physical id: a.1
bus info: pci@00:0a.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
resources: iomemory:d2001000-d2001fff irq:11
*-network
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: b
bus info: pci@00:0b.0
logical name: eth0
version: 10
serial: 00:30:1b:3e:67:17
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegociation
configuration: autonegociation=on broadcast=yes driver=8139too driverversion=0.9.27 duplex=half ip=192.168.123.124 link=yes multicast=yes port=MII speed=10MB/s
resources: ioport:b000-b0ff iomemory:d2002000-d20020ff irq:10
*-firewire
description: FireWire (IEEE 1394)
product: IEEE 1394 Host Controller
vendor: VIA Technologies, Inc.
physical id: c
bus info: pci@00:0c.0
version: 46
width: 32 bits
clock: 33MHz
capabilities: ohci bus_master cap_list
configuration: driver=ohci1394
resources: iomemory:d2003000-d20037ff ioport:b400-b47f irq:11
*-storage UNCLAIMED
description: RAID bus controller
product: VIA VT6420 SATA RAID Controller
vendor: VIA Technologies, Inc.
physical id: f
bus info: pci@00:0f.0
version: 80
width: 32 bits
clock: 33MHz
capabilities: storage bus_master cap_list
resources: ioport:b800-b807 ioport:bc00-bc03 ioport:c000-c007 ioport:c400-c403 ioport:c800-c80f ioport:cc00-ccff irq:11
*-ide
description: IDE interface
product: VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE
vendor: VIA Technologies, Inc.
physical id: f.1
bus info: pci@00:0f.1
version: 06
width: 32 bits
clock: 33MHz
capabilities: ide bus_master cap_list
configuration: driver=VIA_IDE
resources: ioport:d000-d00f irq:11
*-ide:0
description: IDE Channel 0
physical id: 0
bus info: ide@0
logical name: ide0
clock: 33MHz
*-disk
description: ATA Disk
product: SAMSUNG SP1604N
physical id: 0
bus info: ide@0.0
logical name: /dev/hda
version: TM100-24
serial: S013J20X119436
size: 149GB
capabilities: ata dma lba iordy smart security pm
configuration: mode=udma5 smart=on
*-ide:1
description: IDE Channel 1
physical id: 1
bus info: ide@1
logical name: ide1
clock: 33MHz
*-cdrom
description: DVD writer
product: BENQ DVD DD DW1620
physical id: 1
bus info: ide@1.1
logical name: /dev/hdd
version: B7V9
capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd dvd-r
configuration: mode=udma2
*-usb:0
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10
bus info: pci@00:10.0
version: 81
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd
resources: ioport:d400-d41f irq:11
*-usbhost
product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
vendor: Linux 2.6.11-gentoo-r11 uhci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:1
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.1
bus info: pci@00:10.1
version: 81
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd
resources: ioport:d800-d81f irq:11
*-usbhost
product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
vendor: Linux 2.6.11-gentoo-r11 uhci_hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:2
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.2
bus info: pci@00:10.2
version: 81
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd
resources: ioport:dc00-dc1f irq:11
*-usbhost
product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
vendor: Linux 2.6.11-gentoo-r11 uhci_hcd
physical id: 1
bus info: usb@4
logical name: usb4
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb UNCLAIMED
description: Communication device
product: Creative Modem Blaster USB DE5670
vendor: Creative
physical id: 2
bus info: usb@4:2
version: 1.00
capabilities: usb-1.00
configuration: maxpower=400mA speed=12.0MB/s
*-usb:3
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.3
bus info: pci@00:10.3
version: 81
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd
resources: ioport:e000-e01f irq:11
*-usbhost
product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
vendor: Linux 2.6.11-gentoo-r11 uhci_hcd
physical id: 1
bus info: usb@5
logical name: usb5
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:4
description: USB Controller
product: USB 2.0
vendor: VIA Technologies, Inc.
physical id: 10.4
bus info: pci@00:10.4
version: 86
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci_hcd
resources: iomemory:d2004000-d20040ff irq:10
*-usbhost
product: VIA Technologies, Inc. USB 2.0
vendor: Linux 2.6.11-gentoo-r11 ehci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 2.06
capabilities: usb-2.00
configuration: driver=hub maxpower=0mA slots=8 speed=480.0MB/s
*-isa UNCLAIMED
description: ISA bridge
product: VT8237 ISA bridge [KT600/K8T800/K8T890 South]
vendor: VIA Technologies, Inc.
physical id: 11
bus info: pci@00:11.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
*-multimedia:2
description: Multimedia audio controller
product: VT8233/A/8235/8237 AC97 Audio Controller
vendor: VIA Technologies, Inc.
physical id: 11.5
bus info: pci@00:11.5
version: 60
width: 32 bits
clock: 33MHz
capabilities: cap_list
configuration: driver=VIA 82xx Audio
resources: ioport:e400-e4ff irq:10
11-10-2005, 01:35 PM
#12
Member
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90
Rep:
Try making sure this is enabled in your kernel:
Processor type and features --> Use register arguments (CONFIG_REGPARM)
11-10-2005, 06:12 PM
#13
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
It works
with that added option, it now works. Thank you ever so much for your help
11-10-2005, 09:18 PM
#14
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
I'm attemptiing to get the 3.3 client compiled and installed in SuSE 10.0 but am having problems.
I have added the :
"#include <linux/tcp.h>" line in the linux_wrapper.c file and also deleted the "new_skb->security = skb->security" line in the same file.
I get these errors at the "make all" command:
linux:/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3 # make all
cd src && make all
make[1]: Entering directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src'
cd k2.6 && make
make[2]: Entering directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6'
make -C /lib/modules/2.6.13-15-default/build SUBDIRS=/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6 modules
make[3]: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/default modules
CC [M] /home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.o
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function ‘register_nl_netfilter’:
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:195: error: implicit declaration of function ‘nl_nf_register_hook’
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function ‘nlshim_init’:
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:662: error: implicit declaration of function ‘mishim_init’
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function ‘nlshim_exit’:
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:667: error: implicit declaration of function ‘mishim_uninit’
make[6]: *** [/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.o] Error 1
make[5]: *** [_module_/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6] Error 2
make[4]: *** [modules] Error 2
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make[2]: *** [kmod_build] Error 2
make[2]: Leaving directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src'
make: *** [all] Error 2
Here's my kernel version:
linux:/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src # uname -a
Linux linux 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 i686 i686 i386 GNU/Linux
Here's my lsmod output:
linux:/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src # lsmod
Module Size Used by
hfsplus 75140 0
vfat 12800 0
fat 49692 1 vfat
subfs 7552 1
speedstep_lib 4228 0
freq_table 4612 0
vmhgfs 40108 4
ipv6 242752 10
snd_pcm_oss 59168 0
snd_mixer_oss 18944 2 snd_pcm_oss
snd_seq_midi 9760 0
snd_seq_midi_event 6784 1 snd_seq_midi
snd_seq 51984 2 snd_seq_midi,snd_seq_midi_event
edd 9824 0
button 7056 0
battery 10244 0
ac 5252 0
af_packet 21384 0
snd_ens1371 23136 2
gameport 14600 1 snd_ens1371
snd_rawmidi 24864 2 snd_seq_midi,snd_ens1371
snd_seq_device 8588 3 snd_seq_midi,snd_seq,snd_rawmidi
pcnet32 26884 0
snd_ac97_codec 90876 1 snd_ens1371
mii 5504 1 pcnet32
snd_pcm 93064 3 snd_pcm_oss,snd_ens1371,snd_ac97_codec
snd_timer 24452 2 snd_seq,snd_pcm
snd 60420 13 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_ens1371,snd_rawmidi,snd_seq_de vice,snd_ac97_codec,snd_pcm,snd_timer
soundcore 9184 2 snd
snd_page_alloc 10632 1 snd_pcm
snd_ac97_bus 2432 1 snd_ac97_codec
i2c_piix4 8720 0
i2c_core 20368 1 i2c_piix4
uhci_hcd 32016 0
intel_agp 22044 1
agpgart 33096 1 intel_agp
usbcore 112640 2 uhci_hcd
generic 4484 0 [permanent]
shpchp 88676 0
pci_hotplug 26164 1 shpchp
parport_pc 38980 1
lp 11460 0
parport 33864 2 parport_pc,lp
dm_mod 54972 0
reiserfs 250480 1
fan 4996 0
thermal 14472 0
processor 24252 1 thermal
sg 35744 0
ide_cd 39684 0
cdrom 36896 1 ide_cd
mptspi 8456 0
mptscsih 34004 1 mptspi
mptbase 41824 2 mptspi,mptscsih
piix 9988 0 [permanent]
sd_mod 18576 3
scsi_mod 131304 4 sg,mptspi,mptscsih,sd_mod
ide_disk 17152 0
ide_core 122380 4 generic,ide_cd,piix,ide_disk
What am I missing or what do I need to do to get this client compiled and installed correctly. I'm a relative newbie to Linux but learning fast.
Thanks
11-14-2005, 08:09 AM
#15
Member
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90
Rep:
Quote:
Originally posted by sganesh
I'm attemptiing to get the 3.3 client compiled and installed in SuSE 10.0 but am having problems.
I have added the :
"#include <linux/tcp.h>" line in the linux_wrapper.c file and also deleted the "new_skb->security = skb->security" line in the same file.
I get these errors at the "make all" command:
linux:/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3 # make all
cd src && make all
make[1]: Entering directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src'
cd k2.6 && make
make[2]: Entering directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6'
make -C /lib/modules/2.6.13-15-default/build SUBDIRS=/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6 modules
make[3]: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/default modules
CC [M] /home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.o
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function ‘register_nl_netfilter’:
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:195: error: implicit declaration of function ‘nl_nf_register_hook’
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function ‘nlshim_init’:
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:662: error: implicit declaration of function ‘mishim_init’
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c: In function ‘nlshim_exit’:
/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.c:667: error: implicit declaration of function ‘mishim_uninit’
make[6]: *** [/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6/linux_wrapper.o] Error 1
make[5]: *** [_module_/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6] Error 2
make[4]: *** [modules] Error 2
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make[2]: *** [kmod_build] Error 2
make[2]: Leaving directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src/k2.6'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sganesh/CVC-Linux/cvc_linux-suse-gcc3-3.3/src'
make: *** [all] Error 2
What am I missing or what do I need to do to get this client compiled and installed correctly. I'm a relative newbie to Linux but learning fast.
Thanks
I don't know why it wouldn't be, but netfiltering must be enabled in your kernel.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 08:07 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News