Login  •  Register


The time is now: Fri Sep 20, 2019 10:56 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 1 post ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Sun Jun 17, 2012 10:42 pm 
Offline
Space Cadet

Joined: Wed Jun 06, 2012 7:11 pm
Posts: 7
Hi I am having a issue compiling the Sheep Net driver on Ubuntu 12.5
This is the error code. Any ideas regarding possible fix would be very much appreciated!

[i][i]puma@puma-Presario-2500:~$ cd BasiliskII/src/Unix/Linux/Netdriver
puma@puma-Presario-2500:~/BasiliskII/src/Unix/Linux/Netdriver$ make
make -C /lib/modules/3.2.0-25-generic-pae/build M=$PWD modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-25-generic-pae'
CC [M] /home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.o
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c:155:2: error: unknown field ‘ioctl’ specified in initializer
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c:155:2: warning: initialization from incompatible pointer type [enabled by default]
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c:155:2: warning: (near initialization for ‘sheep_net_fops.unlocked_ioctl’) [enabled by default]
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c: In function ‘sheep_net_write’:
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c:409:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ [-Wformat]
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c: In function ‘sheep_net_ioctl’:
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c:603:4: error: too many arguments to function ‘dev_mc_add’
include/linux/netdevice.h:2491:12: note: declared here
/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.c:614:4: error: implicit declaration of function ‘dev_mc_delete’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/home/puma/BasiliskII/src/Unix/Linux/Netdriver/sheep_net.o] Error 1
make[1]: *** [_module_/home/puma/BasiliskII/src/Unix/Linux/Netdriver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-25-generic-pae'
make: *** [sheep_net.ko] Error 2
[/i][/i]


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 1 post ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group