make problem on Fedora Core 1 (2.4.22-1.2115)

Help
2003-11-26
2004-03-07
  • I'm getting this make error with 0.9.7 (and also 0.9.6). I'm using:

    - Fedora Core release 1 (Yarrow)
    - kernel 2.4.22-1.2115.nptl
    - gcc-3.3.2-1
    - make-3.80-4

    g++: Internal error: Segmentation fault (program cc1plus)
    Please submit a full bug report.
    See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
    make[2]: *** [sshfs.lo] Error 1

     

    • Anonymous
      2004-01-30

      Same error with same configuration. :-(

      I also try version 0.9.7 and 0.9.6.

      g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I/home/carlos/lufs-0.9.6/include -O2 -Wall -DSSHPROG=\&quot;/usr/bin/ssh\&quot; -MT sshfs.lo -MD -MP -MF .deps/sshfs.Tpo -c sshfs.cpp  -fPIC -DPIC -o sshfs.lo
      g++: Internal error: Segmentation fault (program cc1plus)
      Please submit a full bug report.
      See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
      make[3]: *** [sshfs.lo] Error 1
      make[3]: Saliendo directorio `/home/carlos/lufs-0.9.6/filesystems/sshfs'
      make[2]: *** [all-recursive] Error 1
      make[2]: Saliendo directorio `/home/carlos/lufs-0.9.6/filesystems'
      make[1]: *** [all-recursive] Error 1
      make[1]: Saliendo directorio `/home/carlos/lufs-0.9.6'
      make: *** [all] Error 2

       
    • Mihai Bazon
      Mihai Bazon
      2004-02-19

      That's a GCC 3.3.2 problem..  try to upgrade GCC first, or build lufs on a machine where you have an older (or a newer?) gcc.  According to some mailing listst, there seem to be a 3.3.3 GCC release which fixes this problem.

       
    • Nandan Dixit
      Nandan Dixit
      2004-02-23

      Just use gcc 2.96
      You'll have to build kernel modules separately though

      export CC=gcc296
      export CXX=g++296
      ./configure --disable-kernel-support

       

    • Anonymous
      2004-03-07

      here is a fix that was posted in the bugs section, and i confirmed that it did fix this problem

      Date: 2004-03-01 15:02
      Sender: crwth
      Logged In: YES
      user_id=146134

      Additionally,

      In the SSHFS::do_open() function, line 348 (in the 0.9.7
      code), you can change

              handles.push_back((struct atbl){string(file), handle,
      time
      (NULL),
               mode});    

      to

              struct atbl a={string(file), handle, time(NULL), mode};
              handles.push_back(a);

      to get around the issue.

      --
        Wayne