Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Error in Suse 9.0 Kernel Source

Status
Not open for further replies.

verilog_crack

Full Member level 2
Joined
Sep 6, 2003
Messages
134
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
In the Sky
Activity points
992
Hi
Did anybody compile the Suse 9.0 kernel modules?
During the compile procedure it reaches the error like this

Code:
make -C svr4 modules
make[2]: Entering directory `/usr/src/linux-2.4.21-99/abi/svr4'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-99/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -fno-unit-at-a-time -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-99/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=sysinfo  -c -o sysinfo.o sysinfo.c
sysinfo.c:9:27: linux/compile.h: No such file or directory
sysinfo.c: In function `svr4_sysinfo':
sysinfo.c:83: error: `UTS_VERSION' undeclared (first use in this function)
sysinfo.c:83: error: (Each undeclared identifier is reported only once
sysinfo.c:83: error: for each function it appears in.)
make[2]: *** [sysinfo.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21-99/abi/svr4'
make[1]: *** [_modsubdir_svr4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-99/abi'
make: *** [_mod_abi] Error 2

I didn't any change in the kernel source but it couldn't compile
Pls help me
Regards
 

Maybe you forget to make link:

cd /usr/src ; ln -s linux-2.4.21-99 linux

or try to delete old object files before compilling:

make clean
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top