Results 1 to 2 of 2

Thread: compile 2.4.20-xfs problem :help

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    48

    compile 2.4.20-xfs problem :help

    I try to recompile linux-2.4.20-xfs.tar.bz2 from developer.linuxtag.net /knoppix/sources
    in order to include squashfs compression file system .
    But I am stopped at kernel 's sysctl.c concerning fs_table[ ] a lot here

    Some one has encountered and solved this ? Thanks

    using knoppix 3.2 /2.4.20-xfs installed on hd (probably version june 2003 )

  2. #2
    Member registered user
    Join Date
    Jul 2003
    Posts
    48

    compile error post

    . scripts/mkversion > .tmpversion
    gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DUTS_MACHINE='"i386"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
    make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20-xfs/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 " -C kernel
    make[1]: Entering directory `/usr/src/linux-2.4.20-xfs/kernel'
    make all_targets
    make[2]: Entering directory `/usr/src/linux-2.4.20-xfs/kernel'
    gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -nostdinc -iwithprefix include -DKBUILD_BASENAME=sysctl -c -o sysctl.o sysctl.c
    sysctl.c:296: `nr_dquots' undeclared here (not in a function)
    sysctl.c:296: initializer element is not constant
    sysctl.c:296: (near initialization for `fs_table[4].data')
    sysctl.c:297: initializer element is not constant
    sysctl.c:297: (near initialization for `fs_table[4]')
    sysctl.c:299: initializer element is not constant
    sysctl.c:299: (near initialization for `fs_table[5]')
    sysctl.c:302: initializer element is not constant
    sysctl.c:302: (near initialization for `fs_table[6]')
    sysctl.c:305: initializer element is not constant
    sysctl.c:305: (near initialization for `fs_table[7]')
    sysctl.c:307: initializer element is not constant
    sysctl.c:307: (near initialization for `fs_table[8]')
    sysctl.c:309: initializer element is not constant
    sysctl.c:309: (near initialization for `fs_table[9]')
    sysctl.c:311: initializer element is not constant
    sysctl.c:311: (near initialization for `fs_table[10]')
    sysctl.c:312: initializer element is not constant
    sysctl.c:312: (near initialization for `fs_table[11]')
    make[2]: *** [sysctl.o] Error 1
    make[2]: Leaving directory `/usr/src/linux-2.4.20-xfs/kernel'
    make[1]: *** [first_rule] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.4.20-xfs/kernel'
    make: *** [_dir_kernel] Error 2

Similar Threads

  1. simple c++ compile problem
    By turbine in forum General Support
    Replies: 2
    Last Post: 01-26-2005, 06:01 AM
  2. How to compile
    By gamezealot in forum General Support
    Replies: 6
    Last Post: 01-20-2005, 08:54 PM
  3. Problem with kernel 2.6.7 compile
    By FelixDzerzhinsky in forum General Support
    Replies: 12
    Last Post: 08-26-2004, 04:04 AM
  4. Kernel compile problem
    By Worm in forum General Support
    Replies: 0
    Last Post: 02-01-2004, 07:42 PM
  5. Kernel compile problem - first Knoppix kernel compile
    By Nigel_Tufnel in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-20-2003, 01:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$33.58