[etherlab-users] ./configure not succeeding

Jeff Krasky jeff.krasky at dspcg.com
Thu Jul 14 16:04:13 CEST 2011



> See the attached patch to get a little further... I now get to the
> module.c file and fails there;
> http://paste.opensuse.org/7758400

Hi Malcolm,

so you are using the same kernel as me?  Great.  This will certainly help.
Here is my latest attempt with compiling.  Has anyone seen these
warnings/errors before?

make[2]: Entering directory `/root/Desktop/etherlabmaster-4adb56c4198d'
make[2]: Leaving directory `/root/Desktop/etherlabmaster-4adb56c4198d'
make[1]: Leaving directory `/root/Desktop/etherlabmaster-4adb56c4198d'
make -C "/usr/src/linux-2.6.16.21-0.25-obj/i586/default"
M="/root/Desktop/etherlabmaster-4adb56c4198d" modules
make[1]: Entering directory `/usr/src/linux-2.6.16.21-0.25-obj/i386/default'
make -C ../../../linux-2.6.16.21-0.25
O=../linux-2.6.16.21-0.25-obj/i386/default modules
  CC [M]  /root/Desktop/etherlabmaster-4adb56c4198d/master/cdev.o
/root/Desktop/etherlabmaster-4adb56c4198d/master/cdev.c: In function
'eccdev_vma_nopage':
/root/Desktop/etherlabmaster-4adb56c4198d/master/cdev.c:3938: warning:
unused variable 'master'
  CC [M]  /root/Desktop/etherlabmaster-4adb56c4198d/master/datagram.o
In file included from
/root/Desktop/etherlabmaster-4adb56c4198d/master/datagram.h:44,
                 from
/root/Desktop/etherlabmaster-4adb56c4198d/master/datagram.c:39:
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:350: warning:
'struct semaphore' declared inside parameter list
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:350: warning: its
scope is only this definition or declaration, which is probably not what you
want
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h: In function
'ec_mutex_init':
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:352: error:
implicit declaration of function 'sema_init'
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h: At top level:
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:354: warning:
'struct semaphore' declared inside parameter list
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h: In function
'ec_mutex_lock':
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:356: error:
implicit declaration of function 'down'
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h: At top level:
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:358: warning:
'struct semaphore' declared inside parameter list
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:363: warning:
'struct semaphore' declared inside parameter list
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h: In function
'ec_mutex_lock_interruptible':
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:365: error:
implicit declaration of function 'down_interruptible'
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h: At top level:
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:367: warning:
'struct semaphore' declared inside parameter list
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h: In function
'ec_mutex_unlock':
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:369: error:
implicit declaration of function 'up'
In file included from
/usr/src/linux-2.6.16.21-0.25/include/linux/sched.h:20,
                 from
/usr/src/linux-2.6.16.21-0.25/include/linux/kthread.h:5,
                 from
/root/Desktop/etherlabmaster-4adb56c4198d/master/master.h:44,
                 from
/root/Desktop/etherlabmaster-4adb56c4198d/master/datagram.c:40:
include2/asm/semaphore.h: At top level:
include2/asm/semaphore.h:65: warning: conflicting types for 'sema_init'
include2/asm/semaphore.h:65: error: static declaration of 'sema_init'
follows non-static declaration
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:352: error:
previous implicit declaration of 'sema_init' was here
include2/asm/semaphore.h:98: warning: conflicting types for 'down'
include2/asm/semaphore.h:98: error: static declaration of 'down' follows
non-static declaration
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:356: error:
previous implicit declaration of 'down' was here
include2/asm/semaphore.h:120: error: static declaration of
'down_interruptible' follows non-static declaration
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:365: error:
previous implicit declaration of 'down_interruptible' was here
include2/asm/semaphore.h:173: warning: conflicting types for 'up'
include2/asm/semaphore.h:173: error: static declaration of 'up' follows
non-static declaration
/root/Desktop/etherlabmaster-4adb56c4198d/master/globals.h:369: error:
previous implicit declaration of 'up' was here
make[5]: *** [/root/Desktop/etherlabmaster-4adb56c4198d/master/datagram.o]
Error 1
make[4]: *** [/root/Desktop/etherlabmaster-4adb56c4198d/master] Error 2
make[3]: *** [_module_/root/Desktop/etherlabmaster-4adb56c4198d] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.25-obj/i386/default'
make: *** [modules] Error 2
lem:~/Desktop/etherlabmaster-4adb56c4198d #




More information about the Etherlab-users mailing list