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

Close

#63 2.6 not supported

open-fixed
Florin Malita
None
5
2003-10-30
2003-07-16
Timothee Besset
No

the configure won't work on 2.6-test0 kernel:

checking kernel... 2.6.0-test1
checking kernel support... configure: error: 2.6 not
supported!

have to symlink 2.5 to 2.6 here ,, proper fix would be nice

Discussion

  • Logged In: NO

    I have made the same but with -test9 but it didnt compiled

     
  • Florin Malita
    Florin Malita
    2003-10-30

    Logged In: YES
    user_id=154306

    should work now (CVS).

     
  • Florin Malita
    Florin Malita
    2003-10-30

    • assigned_to: nobody --> mali
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=2063

    make fails with the following error:

    make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
    make[5]: Entering directory
    `/home/timo/Kernels/linux-2.6.0-test6'
    CHK include/linux/version.h
    MKELF scripts/elfconfig.h
    /bin/sh: line 1: scripts/elfconfig.h: Permission denied

    scripts/elfconfig.h already exists in my kernel tree, and is
    owned by root ( I use debian's make-kpkg to generate .deb of
    the kernels I use ).

     
  • Logged In: YES
    user_id=2063

    and if doing make as root, gcc ICEs on the following file:

    g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../
    -I/home/timo/Build/lufs2/include -O2 -Wall
    -DSSHPROG=\"/usr/bin/ssh\" -g -DDEBUG -g -O2 -Wall -DDEBUG
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -Wp,-MD,.deps/sshfs.pp -c sshfs.cpp -fPIC -DPIC -o
    .libs/sshfs.o
    g++: Internal error: Terminated (program cc1plus)

    spins crazy eating up memory until kernel kills it

    $ gcc --version
    gcc (GCC) 3.3.2 (Debian)
    Debian Sid

     
    • status: closed-fixed --> open-fixed
     
  • Florin Malita
    Florin Malita
    2003-10-30

    Logged In: YES
    user_id=154306

    well, this isn't really a lufs bug.

    if g++ goes crazy when compiling a cpp file it must be a
    compiler/glibc/kernel problem. especially since it is in the
    filesystem subdir, it doesn't have anything to do with the
    kernel modules just built or with lufs' 2.6 support.

    try using a different compiler, or see whether disabling
    sshfs helps. or chown the 2.6 tree to your user and try
    building lufs again, maybe running g++ as non-root will help.

    works for me...
    [mali@fmalita lufs2]$ gcc --version
    gcc (GCC) 3.3.1 20030930 (Red Hat Linux 3.3.1-6)

    regarding the previous error, yes, you need rw access to the
    2.6 build tree. there is no way around it.

     
  • Logged In: YES
    user_id=822455

    check out lufs, it contains a port of ftpfs for newer
    kernels (just search for "lufs" here on sourceforge