Re: ubuntu compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@all

You see the error:

/home/olivares/Downloads/intel-536-537/coredrv/softserial_io.c:68:8:
warning: type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’

because I did not change sofserial_io.c correctly, the original file
had DECLARE_MUTEX, and I changed to DECLARE_SEMAPHORE when I should
have changed it to DEFINE_SEMAPHORE and then it all works as it
should.

Sorry for not carefully looking at it, got to excited to share the good news :)

Regards,

Antonio

On Sat, Jul 2, 2011 at 8:17 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> @Phillipe,
>
> I have found a solution:
>
> http://www.mail-archive.com/arch-commits@xxxxxxxxxxxxx/msg50418.html
>
> namely change DECLARE_MUTEX(semX) to DEFINE_SEMAPHORE(semX) in locks.c and
> softserial_io.c  and it will work :)
>
>
> [root@toshiba-satellite intel-536-537]# make clean
> cd coredrv; make clean
> make[1]: Entering directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
> rm -rf .tmp_versions
> make[1]: Leaving directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.o *.ko
> [root@toshiba-satellite intel-536-537]# make 536
> cd coredrv; make clean
> make[1]: Entering directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
> rm -rf .tmp_versions
> make[1]: Leaving directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.o *.ko
>   Module precompile check
>   Current running kernel is: 2.6.38.8-32.fc15.i686
>   /lib/modules...   autoconf.h exists
> diff: /boot/vmlinuz.autoconf.h: No such file or directory
>   autoconf.h matches running kernel
> diff: /boot/vmlinuz.version.h: No such file or directory
>   version.h matches running kernel
> make[1]: Entering directory `/home/olivares/Downloads/intel-536-537'
>  Not a 536EP phone modem board
> /bin/bash: line 2: //: Is a directory
> 2.6.38.8-32.fc15.i686
> make[2]: Entering directory `/home/olivares/Downloads/intel-536-537/coredrv'
> make -C /lib/modules/2.6.38.8-32.fc15.i686/build
> SUBDIRS=/home/olivares/Downloads/intel-536-537/coredrv modules
> make[3]: Entering directory `/usr/src/kernels/2.6.38.8-32.fc15.i686'
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/coredrv.o
> /home/olivares/Downloads/intel-536-537/coredrv/coredrv.c:775:4:
> warning: data definition has no type or storage class [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/coredrv.c:775:4:
> warning: type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/coredrv.c:775:4:
> warning: parameter names (without types) in function declaration
> [enabled by default]
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/clmmain.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/rts.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/task.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/uart.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/wwh_dflt.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/locks.o
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:144:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:144:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:144:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:145:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:145:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:145:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:146:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:146:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:146:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:147:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:147:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:147:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:148:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:148:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:148:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:149:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:149:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:149:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:150:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:150:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:150:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:151:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:151:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:151:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:152:1: warning:
> data definition has no type or storage class [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:152:1: warning:
> type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:152:1: warning:
> parameter names (without types) in function declaration [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c: In function
> ‘linux_RSAGetExclusive’:
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:160:24: error:
> ‘sem0’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:160:24: note:
> each undeclared identifier is reported only once for each function it
> appears in
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:164:24: error:
> ‘sem1’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:168:24: error:
> ‘sem2’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:172:24: error:
> ‘sem3’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:176:24: error:
> ‘sem4’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:180:24: error:
> ‘sem5’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:184:24: error:
> ‘sem6’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:188:24: error:
> ‘sem7’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:192:24: error:
> ‘sem8’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c: In function
> ‘linux_RSAFreeExclusive’:
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:210:11: error:
> ‘sem0’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:213:11: error:
> ‘sem1’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:216:11: error:
> ‘sem2’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:219:11: error:
> ‘sem3’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:222:11: error:
> ‘sem4’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:225:11: error:
> ‘sem5’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:228:11: error:
> ‘sem6’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:231:11: error:
> ‘sem7’ undeclared (first use in this function)
> /home/olivares/Downloads/intel-536-537/coredrv/locks.c:234:11: error:
> ‘sem8’ undeclared (first use in this function)
> make[4]: *** [/home/olivares/Downloads/intel-536-537/coredrv/locks.o] Error 1
> make[3]: *** [_module_/home/olivares/Downloads/intel-536-537/coredrv] Error 2
> make[3]: Leaving directory `/usr/src/kernels/2.6.38.8-32.fc15.i686'
> make[2]: *** [536core_26] Error 2
> make[2]: Leaving directory `/home/olivares/Downloads/intel-536-537/coredrv'
> 2.6.38.8-32.fc15.i686
> Failed to build driver
> make[1]: Leaving directory `/home/olivares/Downloads/intel-536-537'
> [root@toshiba-satellite intel-536-537]# kwrite coredrv/locks.c &
> [1] 2952
>
>
> made the changes :)
>
> [root@toshiba-satellite intel-536-537]# make clean
> cd coredrv; make clean
> make[1]: Entering directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
> rm -rf .tmp_versions
> make[1]: Leaving directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.o *.ko
> [1]+  Done                    kwrite coredrv/locks.c
> [root@toshiba-satellite intel-536-537]# make 536
> cd coredrv; make clean
> make[1]: Entering directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
> rm -rf .tmp_versions
> make[1]: Leaving directory `/home/olivares/Downloads/intel-536-537/coredrv'
> rm -f *.o *.ko
>   Module precompile check
>   Current running kernel is: 2.6.38.8-32.fc15.i686
>   /lib/modules...   autoconf.h exists
> diff: /boot/vmlinuz.autoconf.h: No such file or directory
>   autoconf.h matches running kernel
> diff: /boot/vmlinuz.version.h: No such file or directory
>   version.h matches running kernel
> make[1]: Entering directory `/home/olivares/Downloads/intel-536-537'
>  Not a 536EP phone modem board
> /bin/bash: line 2: //: Is a directory
> 2.6.38.8-32.fc15.i686
> make[2]: Entering directory `/home/olivares/Downloads/intel-536-537/coredrv'
> make -C /lib/modules/2.6.38.8-32.fc15.i686/build
> SUBDIRS=/home/olivares/Downloads/intel-536-537/coredrv modules
> make[3]: Entering directory `/usr/src/kernels/2.6.38.8-32.fc15.i686'
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/coredrv.o
> /home/olivares/Downloads/intel-536-537/coredrv/coredrv.c:775:4:
> warning: data definition has no type or storage class [enabled by
> default]
> /home/olivares/Downloads/intel-536-537/coredrv/coredrv.c:775:4:
> warning: type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/coredrv.c:775:4:
> warning: parameter names (without types) in function declaration
> [enabled by default]
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/clmmain.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/rts.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/task.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/uart.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/wwh_dflt.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/locks.o
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/softserial_io.o
> /home/olivares/Downloads/intel-536-537/coredrv/softserial_io.c:68:8:
> warning: type defaults to ‘int’ in declaration of ‘DECLARE_SEMAPHORE’
> [-Wimplicit-int]
> /home/olivares/Downloads/intel-536-537/coredrv/softserial_io.c:68:1:
> warning: parameter names (without types) in function declaration
> [enabled by default]
> /home/olivares/Downloads/intel-536-537/coredrv/softserial_io.c:68:8:
> warning: ‘DECLARE_SEMAPHORE’ declared ‘static’ but never defined
> [-Wunused-function]
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/softserial_ioctl.o
> /home/olivares/Downloads/intel-536-537/coredrv/softserial_ioctl.c: In
> function ‘softserial_ioctl’:
> /home/olivares/Downloads/intel-536-537/coredrv/softserial_ioctl.c:124:20:
> warning: variable ‘status’ set but not used
> [-Wunused-but-set-variable]
>  CC [M]  /home/olivares/Downloads/intel-536-537/coredrv/softserial.o
>  LD [M]  /home/olivares/Downloads/intel-536-537/coredrv/Intel536.o
>  Building modules, stage 2.
>  MODPOST 1 modules
> WARNING: could not find
> /home/olivares/Downloads/intel-536-537/coredrv/.536core.lib.cmd for
> /home/olivares/Downloads/intel-536-537/coredrv/536core.lib
>  CC      /home/olivares/Downloads/intel-536-537/coredrv/Intel536.mod.o
>  LD [M]  /home/olivares/Downloads/intel-536-537/coredrv/Intel536.ko
> make[3]: Leaving directory `/usr/src/kernels/2.6.38.8-32.fc15.i686'
> make[2]: Leaving directory `/home/olivares/Downloads/intel-536-537/coredrv'
> make[1]: Leaving directory `/home/olivares/Downloads/intel-536-537'
> [root@toshiba-satellite intel-536-537]#
>
> Try those and report back :)
>
> Regards,
>
>
> Antonio
>
> On Sat, Jul 2, 2011 at 4:06 PM, Philippe Vouters
> <philippe.vouters@xxxxxxxxxxx> wrote:
>>
>> Dear Stephen,
>>
>> I still have an Intel 536EP modem plugged in into my computer. However I
>> completely switched to Voice-over-IP for savings reasons and do not any
>> longer have access to any analog phone line.
>>
>> However as I upgraded to Fedora 15, I now run a 2.6.38.8-32.fc15.i686
>> kernel. And I now do reproduce the compile-time problems you observe on
>> your side. I shall put efforts onto this intel-536-537/coredrv/lock.c as
>> soon as I have spare time, as I now spend most of my time and efforts
>> onto another side of my Web site satisfying the worldwide IT community
>> with completely unrelated subjects (mostly programming oriented
>> subjects, refer to http://vouters.dyndns.org/tima/ ).I have kept your
>> mail and your wish to satisfy your Ubuntu community and shall address
>> your concern. However I may not respond as immediately as before.
>>
>> Yours truly,
>> Philippe
>>
>> Le 02/07/2011 21:13, S Pinker a écrit :
>>> Philippe, my friend, problems over in Ubuntu-village again.I receive similar errors when compiling 536 and 537 drivers.
>>>
>>> I am using this source, as I am unaware of a more recent update-
>>>
>>> http://vouters.dyndns.org/Intel/intel-536EP-537EP_2010_07_19.tar.bz2
>>>
>>> I no longer have a 536EP modem anymore, so to compile the driver, I have to comment out line#53 of makefile_536:
>>>
>>> exit; \
>>>
>>>
>>> The current kernel used on Ubuntu is Linux 2.6.38.
>>>
>>> Over the past few months since Ubuntu 11.04 was released, I have tried several different ways two make this work, but I seem to keep coming back to the same errors. Hopefully you can help me out on this.
>>>
>>>
>>> Sep
>>>
>>> http://groups.google.com/group/ubuntu-modems
>>>
>>>
>>>
>>> root@ubuntu:/usr/src/intel-536-537# make 536
>>> cd coredrv; make clean
>>> make[1]: Entering directory `/usr/src/intel-536-537/coredrv'
>>> rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
>>> rm -rf .tmp_versions
>>> make[1]: Leaving directory `/usr/src/intel-536-537/coredrv'
>>> rm -f *.o *.ko
>>>    Module precompile check
>>>    Current running kernel is: 2.6.38-8-generic
>>>    /lib/modules...   autoconf.h exists
>>> diff: /boot/vmlinuz.autoconf.h: No such file or directory
>>>    autoconf.h matches running kernel
>>> diff: /boot/vmlinuz.version.h: No such file or directory
>>>    version.h matches running kernel
>>> make[1]: Entering directory `/usr/src/intel-536-537'
>>>  Not a 536EP phone modem board
>>> 2.6.38-8-generic
>>> make[2]: Entering directory `/usr/src/intel-536-537/coredrv'
>>> make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/usr/src/intel-536-537/coredrv modules
>>> make[3]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
>>>   CC [M]  /usr/src/intel-536-537/coredrv/coredrv.o
>>> /usr/src/intel-536-537/coredrv/coredrv.c:775:4: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/coredrv.c:775:4: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/coredrv.c:775:4: warning: parameter names (without types) in function declaration
>>>   CC [M]  /usr/src/intel-536-537/coredrv/clmmain.o
>>>   CC [M]  /usr/src/intel-536-537/coredrv/rts.o
>>>   CC [M]  /usr/src/intel-536-537/coredrv/task.o
>>>   CC [M]  /usr/src/intel-536-537/coredrv/uart.o
>>>   CC [M]  /usr/src/intel-536-537/coredrv/wwh_dflt.o
>>>   CC [M]  /usr/src/intel-536-537/coredrv/locks.o
>>> /usr/src/intel-536-537/coredrv/locks.c:144:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:144:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:144:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:145:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:145:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:145:1: warning: parameter names (without
>>> types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:146:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:146:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:146:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:147:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:147:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:147:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:148:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:148:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:148:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:149:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:149:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:149:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:150:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:150:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:150:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:151:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:151:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:151:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c:152:1: warning: data definition has no type or storage class
>>> /usr/src/intel-536-537/coredrv/locks.c:152:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
>>> /usr/src/intel-536-537/coredrv/locks.c:152:1: warning: parameter names (without types) in function declaration
>>> /usr/src/intel-536-537/coredrv/locks.c: In function ‘linux_RSAGetExclusive’:
>>> /usr/src/intel-536-537/coredrv/locks.c:160:24: error: ‘sem0’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:160:24: note: each undeclared identifier is reported only once for each function it appears in
>>> /usr/src/intel-536-537/coredrv/locks.c:164:24: error: ‘sem1’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:168:24: error: ‘sem2’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:172:24: error: ‘sem3’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:176:24: error: ‘sem4’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:180:24: error: ‘sem5’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:184:24: error: ‘sem6’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:188:24: error: ‘sem7’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:192:24: error: ‘sem8’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c: In function ‘linux_RSAFreeExclusive’:
>>> /usr/src/intel-536-537/coredrv/locks.c:210:11: error: ‘sem0’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:213:11: error: ‘sem1’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:216:11: error: ‘sem2’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:219:11: error: ‘sem3’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:222:11: error: ‘sem4’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:225:11: error: ‘sem5’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:228:11: error: ‘sem6’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:231:11: error: ‘sem7’ undeclared (first use in this function)
>>> /usr/src/intel-536-537/coredrv/locks.c:234:11: error: ‘sem8’ undeclared (first use in this function)
>>> make[4]: *** [/usr/src/intel-536-537/coredrv/locks.o] Error 1
>>> make[3]: *** [_module_/usr/src/intel-536-537/coredrv] Error 2
>>> make[3]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
>>> make[2]: *** [536core_26] Error 2
>>> make[2]: Leaving directory `/usr/src/intel-536-537/coredrv'
>>> 2.6.38-8-generic
>>> Failed to build driver
>>> make[1]: Leaving directory `/usr/src/intel-536-537'
>>> root@ubuntu:/usr/src/intel-536-537#
>>>
>>
>> --
>> Philippe Vouters (Fontainebleau/France)
>> URL: http://vouters.dyndns.org/
>>
>>
>>
>



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux