Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel: Error compiling target udev.conf (unsolved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Quarks
n00b
n00b


Joined: 10 Aug 2004
Posts: 22
Location: Germany

PostPosted: Wed Aug 18, 2004 11:04 am    Post subject: Genkernel: Error compiling target udev.conf (unsolved) Reply with quote

The genkernel script doesn't work on my system. I'm trying to install the "gentoo-sources".

I already read https://forums.gentoo.org/viewtopic.php?t=210857
I emerged udev and applied the mentioned patch in the topic above.
See: https://bugs.gentoo.org/attachment.cgi?id=36416&action=view

Still my system is not able to compile udev (Generating kernel and modules seems to work properly).

I tried to compile the "vanilla-sources" with same error.

Code:
#emerge gentoo-sources
#genkernel all
--> error

#emerge unmerge gentoo-sources
#rm -f /usr/src/linux
#emerge vanilla-sources
#ln -s /usr/src/linux-2.4.27 /usr/src/linux
#genkernel all
--> error


System specs: Laptop, Pentium 3 / 700 MHz, 256 MB RAM, 12 GB HDD (4 Gig for Gentoo)

Part of the genkernel.log (after building the gentoo-sources):


Code:
* Gentoo Linux Genkernel; Version 3.0.2e

* Compiling Linux Kernel 2.4.26-gentoo-r9 for x86...
* kernel: >> Running mrproper...

...

* Copying config for successful build to /etc/kernels/kernel-config-x86-2.4.26-gentoo-r9
* udev: >> Compiling...
COMMAND: make -j2 KERNEL_DIR=/usr/src/linux USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf
make -C klibc KERNEL_DIR=/usr/src/linux
sed -e "s:@udevdir@:/dev:" < udev.8.in > udev.8
make[1]: Entering directory `/var/tmp/genkernel/udev-030/klibc'
gcc  -pipe -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall  -nostdinc  -march=i386 -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0 -D__KLIBC__ -fno-builtin-printf -I/var/tmp/genkernel/udev-030/klibc/klibc/include -I/var/tmp/genkernel/udev-030/klibc/klibc/arch/i386/include -I/var/tmp/genkernel/udev-030/klibc/klibc/include/bits32 -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include -I/usr/src/linux/include -I/var/tmp/genkernel/udev-030/libsysfs   -c -o udevsend.o udevsend.c
cc1: Warnung: -malign-loops is obsolete, use -falign-loops
cc1: Warnung: -malign-jumps is obsolete, use -falign-jumps
cc1: Warnung: -malign-functions is obsolete, use -falign-functions
In file included from udevsend.c:25:
/var/tmp/genkernel/udev-030/klibc/klibc/include/sys/types.h:30: error: Syntaxfehler before "timer_t"
/var/tmp/genkernel/udev-030/klibc/klibc/include/sys/types.h:30: Warnung: type defaults to `int' in declaration of `timer_t'
/var/tmp/genkernel/udev-030/klibc/klibc/include/sys/types.h:30: Warnung: data definition has no type or storage class
make: *** [udevsend.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
make[2]: Entering directory `/var/tmp/genkernel/udev-030/klibc/klibc'
gcc -Wp,-MD,arch/i386/.crt0.d  -march=i386 -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0  -nostdinc -iwithprefix include -I../klibc -I../klibc/arch/i386/include -I../klibc/include/bits32 -D__KLIBC__ -DBITSIZE=32 -I../klibc/include -I/usr/src/linux/include -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -D__ASSEMBLY__ -c -o arch/i386/crt0.o arch/i386/crt0.S
cc1: Warnung: -malign-loops is obsolete, use -falign-loops
cc1: Warnung: -malign-jumps is obsolete, use -falign-jumps
cc1: Warnung: -malign-functions is obsolete, use -falign-functions
gcc -Wp,-MD,./.__static_init.d  -march=i386 -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0  -nostdinc -iwithprefix include -I../klibc -I../klibc/arch/i386/include -I../klibc/include/bits32 -D__KLIBC__ -DBITSIZE=32 -I../klibc/include -I/usr/src/linux/include -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o __static_init.o __static_init.c
cc1: Warnung: -malign-loops is obsolete, use -falign-loops
cc1: Warnung: -malign-jumps is obsolete, use -falign-jumps
cc1: Warnung: -malign-functions is obsolete, use -falign-functions
gcc -Wp,-MD,./.vsnprintf.d  -march=i386 -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0  -nostdinc -iwithprefix include -I../klibc -I../klibc/arch/i386/include -I../klibc/include/bits32 -D__KLIBC__ -DBITSIZE=32 -I../klibc/include -I/usr/src/linux/include -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o vsnprintf.o vsnprintf.c
cc1: Warnung: -malign-loops is obsolete, use -falign-loops
cc1: Warnung: -malign-jumps is obsolete, use -falign-jumps
cc1: Warnung: -malign-functions is obsolete, use -falign-functions
gcc -Wp,-MD,./.snprintf.d  -march=i386 -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0  -nostdinc -iwithprefix include -I../klibc -I../klibc/arch/i386/include -I../klibc/include/bits32 -D__KLIBC__ -DBITSIZE=32 -I../klibc/include -I/usr/src/linux/include -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o snprintf.o snprintf.c
cc1: Warnung: -malign-loops is obsolete, use -falign-loops
cc1: Warnung: -malign-jumps is obsolete, use -falign-jumps
cc1: Warnung: -malign-functions is obsolete, use -falign-functions
In file included from ../klibc/include/unistd.h:11,
                 from ../klibc/include/stdio.h:11,
                 from vsnprintf.c:13:
../klibc/include/sys/types.h:30: error: Syntaxfehler before "timer_t"
../klibc/include/sys/types.h:30: Warnung: type defaults to `int' in declaration of `timer_t'
../klibc/include/sys/types.h:30: Warnung: data definition has no type or storage class
In file included from ../klibc/include/unistd.h:11,
                 from ../klibc/include/stdio.h:11,
                 from snprintf.c:5:
../klibc/include/sys/types.h:30: error: Syntaxfehler before "timer_t"
../klibc/include/sys/types.h:30: Warnung: type defaults to `int' in declaration of `timer_t'
../klibc/include/sys/types.h:30: Warnung: data definition has no type or storage class
make[2]: *** [vsnprintf.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: *** [snprintf.o] Fehler 1
make[2]: Leaving directory `/var/tmp/genkernel/udev-030/klibc/klibc'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/tmp/genkernel/udev-030/klibc'
make: *** [/var/tmp/genkernel/udev-030/klibc/klibc/crt0.o] Fehler 2
* Gentoo Linux Genkernel; Version 3.0.2e

* ERROR: Failed to compile the "KERNEL_DIR=/usr/src/linux USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" target...
* -- Grepping log... --
* -- End log... --

...



I hope anyone has an idea how to solve this.
Back to top
View user's profile Send private message
mahir
l33t
l33t


Joined: 05 Dec 2003
Posts: 725
Location: London

PostPosted: Tue Oct 05, 2004 5:05 pm    Post subject: hhh Reply with quote

can you do a emerge --info and post it
i get the same problem
_________________
"wa ma tawfiqi illah billah"
Mahir Sayar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum