From: Klaus-Peter N. <kla...@av...> - 2002-09-24 08:57:31
|
Hi ! Following problem with SuSE 7.3 /repository/extract/cvsfs-1.1.8> uname -a Linux xyz 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 unknown =============================== = Here you can see ./configure =============================== /repository/extract/cvsfs-1.1.8> ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking for streambuf... (cached) no checking for streambuf.h... (cached) yes checking for working const... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for mktime... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strtoul... (cached) yes creating ./config.status creating cvsfs/Makefile creating cvsfsd/Makefile creating cvsumount/Makefile creating Makefile creating cvsmnt/Makefile creating cvsmount/Makefile creating include/Makefile creating tools/Makefile creating init/Makefile creating cvsfs.spec =============================== = Here you can see make =============================== /repository/extract/cvsfs-1.1.8> make Making all in cvsfs make[1]: Entering directory `/repository/extract/cvsfs-1.1.8/cvsfs' gcc -DMODULE -D__KERNEL__ -DLINUX -DVERSION=\"1.1.8\" -I/lib/modules/2.4.10-4GB/build/include -O3 -Wall -fomit-frame-pointer -c main.c In file included from /lib/modules/2.4.10-4GB/build/include/linux/module.h:299, from main.c:19: /usr/include/linux/version.h:2: #error "=======================================================" /usr/include/linux/version.h:3: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5: #error "" /usr/include/linux/version.h:6: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10: #error "included via other system header files - user space" /usr/include/linux/version.h:11: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12: #error "<asm/*.h> as well." /usr/include/linux/version.h:13: #error "" /usr/include/linux/version.h:14: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15: #error "" /usr/include/linux/version.h:16: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17: #error "" /usr/include/linux/version.h:18: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20: #error " the matching kernel source directory" /usr/include/linux/version.h:21: #error "" /usr/include/linux/version.h:22: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24: #error "" /usr/include/linux/version.h:25: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27: #error "" /usr/include/linux/version.h:28: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29: #error "" /usr/include/linux/version.h:30: #error " instead of" /usr/include/linux/version.h:31: #error "" /usr/include/linux/version.h:32: #error " -I/usr/include/linux" /usr/include/linux/version.h:33: #error "" /usr/include/linux/version.h:34: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35: #error "=======================================================" In file included from /lib/modules/2.4.10-4GB/build/include/linux/udf_fs_sb.h:22, from /lib/modules/2.4.10-4GB/build/include/linux/fs.h:730, from main.c:22: /usr/include/linux/version.h:2: #error "=======================================================" /usr/include/linux/version.h:3: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5: #error "" /usr/include/linux/version.h:6: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10: #error "included via other system header files - user space" /usr/include/linux/version.h:11: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12: #error "<asm/*.h> as well." /usr/include/linux/version.h:13: #error "" /usr/include/linux/version.h:14: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15: #error "" /usr/include/linux/version.h:16: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17: #error "" /usr/include/linux/version.h:18: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20: #error " the matching kernel source directory" /usr/include/linux/version.h:21: #error "" /usr/include/linux/version.h:22: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24: #error "" /usr/include/linux/version.h:25: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27: #error "" /usr/include/linux/version.h:28: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29: #error "" /usr/include/linux/version.h:30: #error " instead of" /usr/include/linux/version.h:31: #error "" /usr/include/linux/version.h:32: #error " -I/usr/include/linux" /usr/include/linux/version.h:33: #error "" /usr/include/linux/version.h:34: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35: #error "=======================================================" main.c:71: parse error make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/repository/extract/cvsfs-1.1.8/cvsfs' make: *** [all-recursive] Error 1 Thanks -- Klaus-Peter Niedermann Software Engineering Avitech Aviation Management Technologies AG, D-88045 Friedrichshafen Tel.: +49 (0) 7531 / 94228-34 +49 (0) 7541 / 282-470 Fax.: +49 (0) 7531 / 94228-28 +49 (0) 7541 / 282-299 E-mail: kla...@av... |