Error while compiling

Quiliro Ordóñez quiliro at congresolibre.org
Wed Jun 1 17:14:07 UTC 2011


El 01/06/11 10:32, Quiliro Ordóñez escribió:
> El 31/05/11 10:36, Quiliro Ordóñez escribió:
>> Error while compiling linux-libre from fsfla.org and from 
>> fscorsica.org The steps taken on the last try were:
>>
>> Download and install 
>> http://www.fscorsica.org/kernel/linux-source-2.6.39-libre-planet_2.6.39-libre-planet-10.00.Custom_all.deb
>>
>> cp /usr/src/linux-source-2.6.39-libre-planet.tar.bz2 /home/cao/
>> tar xvjf linux-source-2.6.39-libre-planet.tar.bz2
>> cd linux-source-2.6.39-libre-planet/
>> make xconfig nfig
>> sudo apt-get update
>> sudo aptitude upgrade
>> sudo aptitude install fakeroot kernel-package libncurses5-dev 
>> libqt3-mt-dev bzip2 wget build-essential
>> make xconfig
>> make-kpkg clean
>> fakeroot make-kpkg --initrd --append-to-version=-tercerosistemas 
>> kernel_image kernel_headers
>>
>> The last messages were:
>>
>> In function ‘copy_from_user’,
>> inlined from ‘wpa_set_keys’ at drivers/staging/vt6656/wpactl.c:278:
>> /home/cao/linux-source-2.6.39-libre-planet/arch/x86/include/asm/uaccess_32.h:212: 
>> warning: call to ‘copy_from_user_overflow’ declared with attribute 
>> warning: copy_from_user() buffer size is not provably correct
>> CC [M] drivers/staging/vt6656/aes_ccmp.o
>> CC [M] drivers/staging/vt6656/usbpipe.o
>> CC [M] drivers/staging/vt6656/channel.o
>> CC [M] drivers/staging/vt6656/control.o
>> CC [M] drivers/staging/vt6656/firmware.o
>> drivers/staging/vt6656/firmware.c:44: warning: missing terminating " 
>> character
>> drivers/staging/vt6656/firmware.c: In function ‘FIRMWAREbDownload’:
>> drivers/staging/vt6656/firmware.c:80: error: ‘r’ undeclared (first 
>> use in this function)
>> drivers/staging/vt6656/firmware.c:80: error: (Each undeclared 
>> identifier is reported only once
>> drivers/staging/vt6656/firmware.c:80: error: for each function it 
>> appears in.)
>> drivers/staging/vt6656/firmware.c:80: error: expected ‘;’ before ‘e’
>> drivers/staging/vt6656/firmware.c:80: error: missing terminating " 
>> character
>> drivers/staging/vt6656/firmware.c:83: error: missing terminating " 
>> character
>> drivers/staging/vt6656/firmware.c:83: error: expected expression 
>> before ‘,’ token
>> make[4]: *** [drivers/staging/vt6656/firmware.o] Error 1
>> make[3]: *** [drivers/staging/vt6656] Error 2
>> make[2]: *** [drivers/staging] Error 2
>> make[1]: *** [drivers] Error 2
>> make[1]: se sale del directorio 
>> «/home/cao/linux-source-2.6.39-libre-planet»
>> make: *** [debian/stamp/build/kernel] Error 2
>>
>>
> I removed that module (drivers/staging/vt6656) and then made another 
> compilation where I had a problem with drivers/staging/wlags49_h2. I 
> removed that one and when compiling I had a problem with 
> drivers/staging/wlags49_h25/sta_h25. I removed it and I am now 
> compiling. After finishing will report.
>

Those were the only problems with the kernel compilation configured with 
no changes except those above. The image and header .debs were 
successfully created and gave no errors on installation. I will now try 
to boot with that kernel.

-- 
Quiliro Ordóñez
08 836 2718
02 340 1517


More information about the linux-libre mailing list