Attempting to build kernel-2.6.35.14

Circuits

New Member
Joined
Aug 29, 2018
Messages
15
Reaction score
3
Credits
13
Ubuntu 16.04

I was attempting to build an old kernel today: 2.6.35.14 and I got an error:

Code:
make -f scripts/Makefile.build obj=arch/arm/mm
make -f scripts/Makefile.build obj=arch/arm/common
make -f scripts/Makefile.build obj=arch/arm/mach-mx5
make -f scripts/Makefile.build obj=arch/arm/plat-mxc
make -f scripts/Makefile.build obj=arch/arm/vfp
make -f scripts/Makefile.build obj=kernel
make -f scripts/Makefile.build obj=mm
make -f scripts/Makefile.build obj=arch/arm/plat-mxc/devices
make -f scripts/Makefile.build obj=arch/arm/plat-mxc/sdma
make -f scripts/Makefile.build obj=arch/arm/plat-mxc/sdma/iapi
make -f scripts/Makefile.build obj=arch/arm/plat-mxc/sdma/iapi/src
make -f scripts/Makefile.build obj=fs
make -f scripts/Makefile.build obj=ipc
  perl kernel/timeconst.pl 100 > kernel/timeconst.h
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
/home/rob/sandbox/Revision67951/trunk/P51Platform/kernel-2.6.35.14/kernel/Makefile:138: recipe for target 'kernel/timeconst.h' failed
make[1]: *** [kernel/timeconst.h] Error 255
Makefile:892: recipe for target 'kernel' failed
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....
make -f scripts/Makefile.build obj=fs/devpts
make -f scripts/Makefile.build obj=fs/ext2
make -f scripts/Makefile.build obj=fs/ext3
make -f scripts/Makefile.build obj=fs/fat
make -f scripts/Makefile.build obj=fs/jbd
make -f scripts/Makefile.build obj=fs/jffs2
make -f scripts/Makefile.build obj=fs/lockd
make -f scripts/Makefile.build obj=fs/nfs
make -f scripts/Makefile.build obj=fs/nfs_common
make -f scripts/Makefile.build obj=fs/nls
make -f scripts/Makefile.build obj=fs/notify
make -f scripts/Makefile.build obj=fs/partitions
make -f scripts/Makefile.build obj=fs/proc
make -f scripts/Makefile.build obj=fs/notify/dnotify
make -f scripts/Makefile.build obj=fs/notify/inotify
make -f scripts/Makefile.build obj=fs/quota
make -f scripts/Makefile.build obj=fs/ramfs
make -f scripts/Makefile.build obj=fs/sysfs
make -f scripts/Makefile.build obj=fs/ubifs
make: *** wait: No child processes.  Stop.

Any ideas on what's wrong here? It says there is something going on in timeconst.h but if I search for that file from within the kernel main directory it finds it but when I pull it up its empty.
 

Members online


Latest posts

Top