Compile error

Help
seany
2013-11-07
2013-11-08
  • seany

    seany - 2013-11-07

    Hello

    while trying to compile with CMAKE, i am getting this error :

    [ 51%] Building C object src/libged/CMakeFiles/libged-static.dir/ypr.c.o
    [ 51%] Building C object src/libged/CMakeFiles/libged-static.dir/zap.c.o
    [ 51%] Building C object src/libged/CMakeFiles/libged-static.dir/zoom/zoom.c.o
    Linking CXX static library ../../lib/libged.a
    /usr/bin/ar: ../../lib/libged.a: Auf dem Gerät ist kein Speicherplatz mehr verfügbar
    make[2]: *** [lib/libged.a] Fehler 1

    that is, libged.a is complaining, that there is no place left, although i have about 50 gb of free space in my drive.

    My system is a 64 bit Linux (Chakra) .

    How can I solve it?

     
    Last edit: seany 2013-11-07
    • Tom Browder

      Tom Browder - 2013-11-07

      On Thu, Nov 7, 2013 at 1:51 PM, seany seanscon@users.sf.net wrote:

      while trying to compile with CMAKE, i am getting this error :
      ...
      that is, libged.a is complaining, that there is no place left, although i have about 50 gb of free space in my drive.

      It sounds as if there is no space on the actual partition you are
      using for the build (and maybe /tmp but I'm not sure).

      Do these steps:

      $ cd <BRLCAD build="" directory="">

      Now execute:

      $ pwd

      and let us know the results.

      Then execute:

      $ df -h

      and let us know the results.

      Best regards,

      -Tom

       
  • seany

    seany - 2013-11-07

    Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
    /dev/sdb2 100G 26G 69G 27% /
    dev 2,0G 0 2,0G 0% /dev
    run 2,0G 1008K 2,0G 1% /run
    tmpfs 2,0G 100K 2,0G 1% /dev/shm
    tmpfs 2,0G 0 2,0G 0% /sys/fs/cgroup
    tmpfs 2,0G 1,9G 34M 99% /tmp
    /dev/sdb4 148G 21G 120G 15% /home
    /dev/sdb3 203G 1,5G 191G 1% /projects
    /dev/sdc1 15G 441M 15G 3% /run/media/apua/LM18-Z36C

    I am doing the compilation is /dev/sdb3,
    Größe (size) : 203G
    Benutzt (used) : 1,5G
    Available (verfügbar / verf.) : 191 G

    and this is the true pwd of where things are happening:
    /projects/chakra/brlcad/brlcad/src/brlcad-build

     
    Last edit: seany 2013-11-07
    • Tom Browder

      Tom Browder - 2013-11-07

      On Thu, Nov 7, 2013 at 3:45 PM, seany seanscon@users.sf.net wrote:
      ..

      Benutzt (used) : 1,5G
      Available (verfügbar / verf.) : 191 G

      Hm, a mystery to me, sorry. Maybe someone else can help.

      Best regards,

      -Tom

       
    • Sean Morrison

      Sean Morrison - 2013-11-07

      By chance are you compiling with ccache? Your /tmp space is dangerously full. Suspicious to have 2GB of temp data too. Even the compiler without ccache could be trying to write out files there and failing, which would result in the error message you observed.

      Cheers!
      Sean

       
  • seany

    seany - 2013-11-08

    Hi!

    Clearing the /tmp solved it!

    thanks a lot,
    -the other Sean

     

Log in to post a comment.