Trouble during compilation time of the 2.6.33 libre kernel on a full free debian

aurelien ice.cube at gmx.com
Thu Mar 4 08:30:34 UTC 2010


Hi,

I am on debian with only free software, i've try first to compile from
source the 2.6.32.8 from :: 

http://www.linux-libre.fsfla.org/pub/linux-libre/releases/

I have try many times.

For this example the source as original.

#

IHEX2FW firmware/keyspan_pda/xircom_pgs.fw
make[1]: Leaving directory `/usr/src/linux-2.6.33'
/usr/bin/make  EXTRAVERSION=-libre-planet  ARCH=i386 \
     -C Documentation/lguest
make[1]: Entering directory `/usr/src/linux-2.6.33/Documentation/lguest'
cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3
-I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE    lguest.c
-o lguest
lguest.c:21:25: error: sys/eventfd.h: No such file or directory
lguest.c: In function ‘create_thread’:
lguest.c:1027: warning: implicit declaration of function ‘eventfd’
make[1]: *** [lguest] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.33/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2


#

For this example i have use the same receipe i use for the 2.6.32.8 ::
remove lguest at linux-2.6.33/Documentation/lguest/Makefile

all: lguest  <<< remove lguest >>>

clean:

....

Now with this ^ receipe it done

make[1]: Entering directory `/usr/src/linux-2.6.33'
====== making target
debian/stamp/install/linux-image-2.6.33-libre-planet [new
prereqs: ]======
This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo "
\"\" "; echo "does not match current version:"; echo "
\"2.6.33-libre-planet\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
	   "" 
does not match current version:
	   "2.6.33-libre-planet" 
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33-libre-planet]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33'
make: *** [kernel_image] Error 2

#

For the moment : Linux version 2.6.32.8-libre-planet (root at bob) (gcc
version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Thu Mar 4 07:05:31 SST 2010

seems to working well.

May the source be with you!

-- 
Libreplanet.org
http://groups.fsf.org/wiki/User:Aurelien



More information about the linux-libre mailing list