Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#49 Compilation error under 2.6.20

open
nobody
None
5
2007-06-03
2007-06-03
No

I'm trying to compile CVS and tarball 0.9.8 version but i have these same errors with both:

root@root:/usr/src/udf# make udf.o

Linux UDF Configuration Script

The default responses for each question are correct for most users.

Linux source directory [/usr/src/linux]:
Alternate target install directory []:
C compiler name [gcc]:
Linker name [ld]:
Compiler flags for debugging [-g]:

The UDF driver needs to be compiled to match the kernel it
will be used with, or it may fail to load.
If you are not sure what to do, please consult the UDF manual.

How would you like to set kernel-specific options?
1 - Read from the currently running kernel
2 - Read from the Linux source tree
Enter option (1-2) [1]:

./Configure: line 241: /sbin/ksyms: No such file or directory
Hmmm... /sbin/ksyms is broken. Using /proc/ksyms...
cat: /proc/ksyms: No such file or directory
cat: /proc/ksyms: No such file or directory
cat: /proc/ksyms: No such file or directory
cat: /proc/ksyms: No such file or directory
cat: /proc/ksyms: No such file or directory
Extracting kernel symbol versions...
cat: /proc/ksyms: No such file or directory
Kernel configuration options:
Symmetric multiprocessing support is disabled.
Max physical memory in MB is 1024
Advanced Power Management (APM) support is disabled.
Networking support is disabled.
Module version checking is disabled.

The kernel source tree is version 2.6.20.
WARNING: the current kernel is actually version 2.6.20-16-generic.
The current kernel build date is Wed May 23 01:46:23 UTC 2007.
Cannot determine version from version.h. Using Makefile.

No patch for Linux version 2.6.
Your module utilities are version 3.3-pre2.
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
.: 2: config.out: not found
make: *** [udf.o] Błąd 2

I've tryed it with gcc 4.1, gcc 3.4, gcc 3.3 and gcc 2.95

Discussion