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

Kernel 2.3.39 and GCC 2.95



 Ehlo !

    I tried to compile kernels 2.0.36 and 2.2.10 with gcc 2.95 and had
problems.. Then somebody wrote that there are patches for kernel-source but
where they are (I don't had that letters - small disc crash).

    Few days ago somebody on irc said that kernels 2.3.xx should compile
with gcc 2.95 without any problems. So I tried..

    kernel-2.3.39 from sunsite.auc.dk (m68k version of course)

    Errors...

gcc -D__KERNEL__ -I/usr/src/linux-2.3.39/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -ffixed-a2 -m68040   -c -o semaphore.o semaphore.c
In file included from semaphore.c:7:
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h: In function `waking_non_zero':
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h:28: `semaphore_wake_lock' undeclared (first use in this function)
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h:28: (Each undeclared identifier is reported only once
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h:28: for each function it appears in.)
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h: In function `waking_non_zero_interruptible':
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h:66: `semaphore_wake_lock' undeclared (first use in this function)
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h: In function `waking_non_zero_trylock':
/usr/src/linux-2.3.39/include/asm/semaphore-helper.h:111: `semaphore_wake_lock'
undeclared (first use in this function)
make[1]: *** [semaphore.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.3.39/arch/m68k/kernel'
make: *** [_dir_arch/m68k/kernel] Error 2
hrwandil:/usr/src/linux-2.3.39#

*Argh......*
 
-- 
Marcin Juszkiewicz (Szczepan/BlaBla) Szcz-BB on IRC
mailto: szczepan@blabla.w.pl UIN: 51497227
A1200T 040/40 2+48 MB 17.4 GB HDD KingMax F-ATA


Reply to: