This is a discussion on devfs build problems within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I am trying to install devfs on my slackware 10.2 (2.6 kernel); but when i try to make ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I am trying to install devfs on my slackware 10.2 (2.6 kernel); but when i try to make I get a bunch of errors. I've been searching on the internet but haven't really found much. Here are the files that I have been working with... /usr/src/linux-2.4.31/fs/devfs# locate devfs /etc/udev/scripts/ide-devfs.sh /etc/udev/scripts/scsi-devfs.sh /etc/udev/rules.d/devfs.rules.unsupported /usr/doc/udev-064/docs/udev_vs_devfs /usr/src/linux-2.4.31/fs/devfs /usr/src/linux-2.4.31/fs/devfs/Makefile /usr/src/linux-2.4.31/fs/devfs/base.c /usr/src/linux-2.4.31/fs/devfs/util.c /usr/src/linux-2.4.31/arch/ppc64/configs/iSeries_devfs_defconfig /usr/src/linux-2.4.31/arch/ppc64/configs/iSeries_nodevfs_ideemul_defconfig /usr/src/linux-2.4.31/Documentation/filesystems/devfs /usr/src/linux-2.4.31/Documentation/filesystems/devfs/ToDo /usr/src/linux-2.4.31/Documentation/filesystems/devfs/README /usr/src/linux-2.4.31/Documentation/filesystems/devfs/boot-options /usr/src/linux-2.4.31/Documentation/filesystems/devfs/ChangeLog /usr/src/linux-2.4.31/include/linux/devfs_fs_kernel.h /usr/src/linux-2.4.31/include/linux/devfs_fs.h /usr/src/linux-2.4.31/include/config/devfs /usr/src/linux-2.4.31/include/config/devfs/fs.h /usr/src/linux-2.4.31/include/config/devfs/debug.h /usr/src/linux-2.4.31/include/config/devfs/mount.h /usr/include/linux/devfs_fs_kernel.h /usr/include/linux/devfs_fs.h ---when I do a make i get allot of errors; I will give you some of the list... base.c: In function `init_devfs_fs': base.c:3527: error: `KERN_INFO' undeclared (first use in this function) base.c:3527: error: syntax error before string constant base.c:3531: warning: assignment makes pointer from integer without a cast base.c:3532: error: `KERN_CRIT' undeclared (first use in this function) base.c:3532: error: syntax error before string constant base.c:3537: error: syntax error before string constant base.c:3538: error: `devfs_fs_type' undeclared (first use in this function) base.c:3541: warning: initialization makes pointer from integer without a cast base.c: At top level: base.c:3549: error: redefinition of `mount_devfs_fs' /usr/include/linux/devfs_fs_kernel.h:54: error: `mount_devfs_fs' previously defined here base.c: In function `mount_devfs_fs': base.c:3554: error: `KERN_INFO' undeclared (first use in this function) base.c:3554: error: syntax error before string constant base.c: At top level: base.c:3556: error: syntax error before '}' token base.c:844: error: storage size of `fs_info' isn't known base.c:882: error: storage size of `devfsd_fops' isn't known base.c:3253: error: storage size of `devfs_iops' isn't known base.c:3258: error: storage size of `devfs_dir_iops' isn't known base.c:2825: error: storage size of `devfs_fops' isn't known base.c:2830: error: storage size of `devfs_dir_fops' isn't known base.c:3269: error: storage size of `devfs_symlink_iops' isn't known base.c:2602: error: storage size of `devfs_sops' isn't known base.c:2874: error: storage size of `devfs_dops' isn't known base.c:2883: error: storage size of `devfs_wait_dops' isn't known make[1]: *** [base.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.31/fs/devfs' make: *** [first_rule] Error 2 Any ideas will help, Thank you.. -Jimmie |
| ||||
| On 22 Feb 2006 07:40:09 -0800, jimi_xyz@hotmail.com wrote: >I am trying to install devfs on my slackware 10.2 (2.6 kernel); but devfs is no longer supported in 2.6 (finally) is to move away from devfs to sysfs + udev, see: http://www.kernel.org/pub/linux/util...plug/udev.html http://www.us.kernel.org/pub/linux/u.../udev_vs_devfs Grant. -- .... The computer scientist, who had listened to all of this said, "Yes, but where do you think the chaos came from?" |