LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 11-26-2009, 01:24 AM   #1
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Rep: Reputation: 0
Linux Header files not found


Hello,

I have done an kernel update on Debian 5.0 from Kernel 2.6.26 to 2.6.38 all seems to work fine.
But now I want to compile openss7, which has run on kernel 2.6.26 but I get this errors:
Code:
In file included from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:76:28: error: linux/autoconf.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:77:27: error: linux/version.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:78:26: error: linux/module.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:79:24: error: linux/init.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:81:28: error: linux/compiler.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:82:24: error: linux/slab.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:83:29: error: linux/interrupt.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:87:25: error: linux/delay.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:88:26: error: linux/sysctl.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:89:24: error: linux/file.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:90:24: error: linux/poll.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:91:22: error: linux/fs.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:98:25: error: linux/major.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:99:24: error: asm/atomic.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:101:73: error: linux/kernel.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:102:53: error: linux/pagemap.h: Datei oder Verzeichnis nicht gefunden
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:106:54: error: linux/mount.h: Datei oder Verzeichnis nicht gefunden
Datei oder Verzeichnis nicht gefunden is german and means File or folder/subfolder not found.

The header files are available in /usr/src/linux-2.6.32-rc8/include but it seems that is not the standard path...

Have anybody an idea, whats going wrong?

Regards
Frank
 
Old 11-26-2009, 01:33 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,599
Blog Entries: 29

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Kindly check whether u have installed kernel-devel and kernel-headers packages !
 
Old 11-26-2009, 02:10 AM   #3
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
I installed the kernel from kernel.org and I didn't see another file then the linux-2.6.32-rc8.tar.bz2 file.

My problem is not that I missing the file. I think, the problem is that the program can't found the header files.

Regards
 
Old 11-26-2009, 02:22 AM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,599
Blog Entries: 29

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
the problem is that the program can't found the header files.
Reconfirm once again from synaptic-package-manager in Debian 5.0, that you have installed both the above mentioned files.
 
Old 11-26-2009, 02:46 AM   #5
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
Kernel-package is already installed.

Kernel-devel is not found in the list and not with apt-cache search or something else. Is this the right package name for debian?
 
Old 11-26-2009, 02:54 AM   #6
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

Try re-installing the kernel headers, if they are installed. If not installed, install them, if they are installed rerunning will fix broken links.

First run from a terminal as root:
Code:
uname -r
will give you a number like 2.6.32-i686 or different depending on your architecture (I think the 38 was a typo in your post since the latest kernel is 2.6.32-rc8 if I'm not mistaking.

Then install the headers from a terminal as root:
Code:
apt-get install kernel-headers-2.6.32-i686
(with the number you got from the uname -r command).

Then try running your compile again.

Kind regards,

Eric
 
Old 11-26-2009, 03:14 AM   #7
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
Code:
debian:/usr/src# uname -r
2.6.32-rc8
debian:/usr/src# apt-get install kernel-headers-2.6.32-rc8
Paketlisten werden gelesen... Fertig <--Loading package list - Ready
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
E: Konnte Paket kernel-headers-2.6.32-rc8 nicht finden <-- Can't find package kernel-headers-2.6.32-rc8
That's what I got!

@EricTRA I didn't install the kernel from apt-get. I compiled it myself from kernel.org

Code:
debian:/usr/src# apt-cache search 2.6.32
linux-doc-2.6.32 - Linux kernel specific documentation for version 2.6.32
linux-manual-2.6.32 - Linux kernel API manual pages for version 2.6.32
linux-patch-debian-2.6.32 - Debian patches to version 2.6.32 of the Linux kernel
linux-source-2.6.32 - Linux kernel source for version 2.6.32 with Debian patches
linux-support-2.6.32-rc8 - Support files for Linux 2.6.32-rc8
linux-tree-2.6.32 - Linux kernel source tree for building Debian kernel images
linux-image-2.6.32-rc8 - Linux kernel binary image for version 2.6.32-rc8

Last edited by Frank85; 11-26-2009 at 03:24 AM.
 
Old 11-26-2009, 03:21 AM   #8
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

My bad, should have known that. Have a look if this file does the trick:
Linux headers for 2.6.32.

Download the correct one depending on your architecture and install using:
Code:
dpkg -i filename.deb
where filename is the name of the file you download of course

Kind regards,

Eric
 
Old 11-26-2009, 04:01 AM   #9
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
Hey,

I installed the package and make a recompilation but, it comes the same error with the header-files.

I'm pretty much at a loss.

Another idea?

Or is there in the meantime a package with kernel 2.6.32-xxx which I can use without compiling myself (for i386)?
 
Old 11-26-2009, 04:25 AM   #10
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,599
Blog Entries: 29

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
This may sound strange but not having proper linkings i.e. incorrect or missing paths with -l, -L, -I options in the makefile can also lead to the errors you are facing !
 
Old 11-26-2009, 04:31 AM   #11
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Maybe if you try to force the configure and make to use the headers you installed like this:
Code:
./configure CC="gcc -I /usr/src/linux-headers-2.6.XX/include/ -I /usr/include/"
(look in your /usr/src directory for the exact name).

And then make:
Code:
make CC="gcc -I /usr/src/linux-headers-2.6.XX/include/ -I/usr/include/"
(look in your /usr/src directory for the exact name).

If this doesn't work then I'm all out of options. I spend some time looking on the web to see if there is a package for the last kernel but couldn't find anything.

Kind regards,

Eric
 
Old 11-26-2009, 05:31 AM   #12
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
@Eric It will helps a little bit. So I get new errors

I will post something of the errors:
Code:
debian:/usr/src/build_opennss7# make CC="gcc -I /usr/src/linux-2.6.32-rc8/include/ -I /usr/src/linux-2.6.32-rc8/arch/x86/include/"
make  all-recursive
make[1]: Entering directory `/usr/src/build_opennss7'
Making all in streams
make[2]: Entering directory `/usr/src/build_opennss7/streams'
make  all-recursive
make[3]: Entering directory `/usr/src/build_opennss7/streams'
Making all in include
make[4]: Entering directory `/usr/src/build_opennss7/streams/include'
make  all-am
make[5]: Entering directory `/usr/src/build_opennss7/streams/include'
make[5]: Für das Ziel »all-am« ist nichts zu tun.
make[5]: Leaving directory `/usr/src/build_opennss7/streams/include'
make[4]: Leaving directory `/usr/src/build_opennss7/streams/include'
Making all in .
make[4]: Entering directory `/usr/src/build_opennss7/streams'
gcc -I /usr/src/linux-2.6.32-rc8/include/ -I /usr/src/linux-2.6.32-rc8/arch/x86/include/ -DHAVE_CONFIG_H   -I. -I. -I../../openss7-0.9.2.G/streams -DLFS=1 -imacros ./config.h -imacros ./include/sys/config.h -I../../openss7-0.9.2.G/streams -I./include -I../../openss7-0.9.2.G/streams/include -nostdinc -iwithprefix include -DLINUX -D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR('`echo libLfS_specfs_a-specfs.o | sed -e 's,lib.*_a-,,;s,\.o,,;s,-,_,g'`')' -DMODULE  -D__NO_VERSION__ -DEXPORT_SYMTAB  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -ffreestanding  -c -o libLfS_specfs_a-specfs.o `test -f 'src/kernel/specfs.c' || echo '../../openss7-0.9.2.G/streams/'`src/kernel/specfs.c
In file included from ../../openss7-0.9.2.G/streams/include/sys/stream.h:80,
                 from ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:158,
                 from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/include/sys/streams/stream.h:169: error: redefinition of typedef ‘uintptr_t’
/usr/src/linux-2.6.32-rc8/include/linux/types.h:41: error: previous declaration of ‘uintptr_t’ was here
In file included from ../../openss7-0.9.2.G/streams/include/sys/dki.h:80,
                 from ../../openss7-0.9.2.G/streams/include/sys/streams/stream.h:206,
                 from ../../openss7-0.9.2.G/streams/include/sys/stream.h:80,
                 from ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:158,
                 from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/include/sys/streams/dki.h:101: error: redefinition of ‘struct cred’
In file included from ../../openss7-0.9.2.G/streams/include/sys/ddi.h:80,
                 from ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:161,
                 from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h: In function ‘drv_priv’:
../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h:250: error: ‘cred_t’ has no member named ‘cr_uid’
../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h:250: error: ‘cred_t’ has no member named ‘cr_ruid’
In file included from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘spec_snode’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:334: error: implicit declaration of function ‘iget4’
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:334: warning: assignment makes pointer from integer without a cast
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: At top level:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:575: warning: initialization from incompatible pointer type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:754: warning: initialization from incompatible pointer type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘spec_read_inode’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:944: error: ‘struct inode’ has no member named ‘u’
In file included from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:957:2: error: #error HAVE_KMEMB_STRUCT_SUPER_BLOCK_S_FS_INFO or HAVE_KMEMB_STRUCT_SUPER_BLOCK_U_GENERIC_SBP must be defined.
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:960: error: ‘sbi’ undeclared (first use in this function)
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:960: error: (Each undeclared identifier is reported only once
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:960: error: for each function it appears in.)
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:999: error: ‘struct inode’ has no member named ‘u’
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: At top level:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1113: warning: ‘struct statfs’ declared inside parameter list
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1113: warning: its scope is only this definition or declaration, which is probably not what you want
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘spec_statfs’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1116: error: dereferencing pointer to incomplete type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1117: error: dereferencing pointer to incomplete type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1118: error: dereferencing pointer to incomplete type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘spec_remount_fs’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1142: error: ‘sbi’ undeclared (first use in this function)
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: At top level:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1204: warning: initialization from incompatible pointer type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1321:2: error: #error HAVE_KMEMB_STRUCT_FILE_SYSTEM_TYPE_GET_SB or HAVE_KMEMB_STRUCT_FILE_SYSTEM_TYPE_READ_SUPER must be defined.
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘specfs_mount’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1332: error: ‘spec_fs_type’ undeclared (first use in this function)
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘specfs_init_cache’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1406: warning: passing argument 5 of ‘kmem_cache_create’ from incompatible pointer type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1406: error: too many arguments to function ‘kmem_cache_create’
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘specfs_init’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1435: error: ‘spec_fs_type’ undeclared (first use in this function)
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘specfs_exit’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1458: error: ‘spec_fs_type’ undeclared (first use in this function)
make[4]: *** [libLfS_specfs_a-specfs.o] Fehler 1
make[4]: Leaving directory `/usr/src/build_opennss7/streams'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/src/build_opennss7/streams'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/usr/src/build_opennss7/streams'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/build_opennss7'
make: *** [all] Fehler 2
I hope you can see someting...But an header error is it not...
 
Old 11-26-2009, 05:42 AM   #13
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi Frank,

Maybe silly question but did you run a
Code:
make clean
before compiling and make again? If not, could you run that command, then configure and make again.

Kind regards,

Eric
 
Old 11-26-2009, 06:03 AM   #14
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
Hi Eric,

yes I did it now and I get only a few errors:
Code:
debian:/usr/src/build_opennss7# make CC="gcc -I /usr/src/linux-2.6.32-rc8/include/ -I /usr/src/linux-2.6.32-rc8/arch/x86/include/"
make  all-recursive
make[1]: Entering directory `/usr/src/build_opennss7'
Making all in streams
make[2]: Entering directory `/usr/src/build_opennss7/streams'
make  all-recursive
make[3]: Entering directory `/usr/src/build_opennss7/streams'
Making all in include
make[4]: Entering directory `/usr/src/build_opennss7/streams/include'
make  all-am
make[5]: Entering directory `/usr/src/build_opennss7/streams/include'
make[5]: Für das Ziel »all-am« ist nichts zu tun.
make[5]: Leaving directory `/usr/src/build_opennss7/streams/include'
make[4]: Leaving directory `/usr/src/build_opennss7/streams/include'
Making all in .
make[4]: Entering directory `/usr/src/build_opennss7/streams'
gcc -I /usr/src/linux-2.6.32-rc8/include/ -I /usr/src/linux-2.6.32-rc8/arch/x86/include/ -DHAVE_CONFIG_H   -I. -I. -I../../openss7-0.9.2.G/streams -DLFS=1 -imacros ./config.h -imacros ./include/sys/config.h -I../../openss7-0.9.2.G/streams -I./include -I../../openss7-0.9.2.G/streams/include -nostdinc -iwithprefix include -DLINUX -D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR('`echo libLfS_specfs_a-specfs.o | sed -e 's,lib.*_a-,,;s,\.o,,;s,-,_,g'`')' -DMODULE  -D__NO_VERSION__ -DEXPORT_SYMTAB  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -ffreestanding  -c -o libLfS_specfs_a-specfs.o `test -f 'src/kernel/specfs.c' || echo '../../openss7-0.9.2.G/streams/'`src/kernel/specfs.c
In file included from ../../openss7-0.9.2.G/streams/include/sys/dki.h:80,
                 from ../../openss7-0.9.2.G/streams/include/sys/streams/stream.h:206,
                 from ../../openss7-0.9.2.G/streams/include/sys/stream.h:80,
                 from ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:158,
                 from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/include/sys/streams/dki.h:101: error: redefinition of ‘struct cred’
In file included from ../../openss7-0.9.2.G/streams/include/sys/ddi.h:80,
                 from ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:161,
                 from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h: In function ‘drv_priv’:
../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h:250: error: ‘cred_t’ has no member named ‘cr_uid’
../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h:250: error: ‘cred_t’ has no member named ‘cr_ruid’
In file included from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function ‘specfs_init_cache’:
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1406: warning: passing argument 5 of ‘kmem_cache_create’ from incompatible pointer type
../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1406: error: too many arguments to function ‘kmem_cache_create’
make[4]: *** [libLfS_specfs_a-specfs.o] Fehler 1
make[4]: Leaving directory `/usr/src/build_opennss7/streams'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/src/build_opennss7/streams'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/usr/src/build_opennss7/streams'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/build_opennss7'
make: *** [all] Fehler 2
An idea?

Thanks and Regards



PS:
Why is the Post Reply at top of the page?
I will it at the bottom...
 
Old 11-26-2009, 06:08 AM   #15
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

Well, we've covered all the ground on which I feel at ease, I really don't know how to fix these last errors. Seems like pointing to invalid pointers when creating a command, but that's more in the region of the programmer's knowledge and beyond my scope. Maybe it has to do with the new kernel you use, I don't know.

However, I'm sure someone will pick it up and help you out with these last issues.

BTW, there is a Post reply button on the bottom too

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header files for the Linux Kernel alfredofernandeza Linux - Kernel 1 10-18-2006 08:11 PM
Linux Header Files Roy-Svork Programming 8 08-01-2005 08:45 AM
Linux kernel header files cranium2004 Programming 4 03-04-2005 04:41 AM
how do i install linux header files jelgavchik Linux - General 2 01-02-2005 07:15 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration