BRL-CAD 7.8.0 for AMD64 Linux?

Help
Ben C.
2006-04-14
2013-04-22
  • Ben C.

    Ben C. - 2006-04-14

    I've tried compiling brl-cad 7.8.0 for linux on my x86_64 machine but I get an error when compiling.
    gcc -pipe -fno-strict-aliasing -fno-common -g -O3 -pipe -fno-strict-aliasing -fno-common -g -O3 -o rise_observer rise_observer-main.o rise_observer-observer.o  -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib /usr/lib/libSDL.a /usr/lib/libartsc.so -L/usr/share/qt3/lib /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libesd.a /usr/lib/libaudiofile.a -laudio -lXt -lXext /usr/lib/libaa.a -lncurses -lslang -lX11 /usr/lib/libasound.a -ldl ../../../../src/adrt/libtienet/.libs/libtienet.a ../../../../src/adrt/libtie/.libs/libtie.a ../../../../src/adrt/libtexture/.libs/libtexture.a ../../../../src/adrt/libcommon/.libs/libcommon.a ../../../../src/adrt/librender/.libs/librender.a ../../../../src/adrt/libutil/.libs/libutil.a -lpthread -lm -lz
    /usr/lib/libaa.a(aastdin.o): In function `stdin_getchar':
    : undefined reference to `Gpm_Getc'
    /usr/lib/libaa.a(aastdin.o): In function `stdin_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_zerobased'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `_gpm_arg'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `_gpm_buf'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_consolefd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `_gpm_buf'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_zerobased'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `_gpm_arg'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `_gpm_buf'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_consolefd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `_gpm_buf'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `Gpm_Getc'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `Gpm_GetEvent'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_handler'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_data'
    /usr/lib/libaa.a(aaslnkbd.o): In function `slang_getchar':
    : undefined reference to `gpm_hflag'
    /usr/lib/libaa.a(aaslang.o): In function `slang_getsize':
    : undefined reference to `gpm_mx'
    /usr/lib/libaa.a(aaslang.o): In function `slang_getsize':
    : undefined reference to `gpm_my'
    /usr/lib/libaa.a(aalinux.o): In function `linux_getsize':
    : undefined reference to `gpm_mx'
    /usr/lib/libaa.a(aalinux.o): In function `linux_getsize':
    : undefined reference to `gpm_my'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `gpm_visiblepointer'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `gpm_zerobased'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `_gpm_arg'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `_gpm_buf'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `gpm_consolefd'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `_gpm_buf'
    /usr/lib/libaa.a(aalinuxkbd.o): In function `linux_getchar':
    : undefined reference to `Gpm_GetEvent'
    /usr/lib/libaa.a(aacurses.o): In function `curses_getsize':
    : undefined reference to `gpm_mx'
    /usr/lib/libaa.a(aacurses.o): In function `curses_getsize':
    : undefined reference to `gpm_my'
    /usr/lib/libaa.a(aacurkbd.o): In function `curses_getchar':
    : undefined reference to `Gpm_Wgetch'
    /usr/lib/libaa.a(aagpm.o): In function `gpm_init':
    : undefined reference to `Gpm_Open'
    /usr/lib/libaa.a(aagpm.o): In function `gpm_init':
    : undefined reference to `gpm_fd'
    /usr/lib/libaa.a(aagpm.o): In function `gpm_init':
    : undefined reference to `gpm_handler'
    /usr/lib/libaa.a(aagpm.o): In function `gpm_init':
    : undefined reference to `gpm_visiblepointer'
    /usr/lib/libaa.a(aagpm.o): In function `gpm_init':
    : undefined reference to `gpm_hflag'
    /usr/lib/libaa.a(aagpm.o): In function `gpm_mousemode':
    : undefined reference to `gpm_visiblepointer'
    /usr/lib/libaa.a(aagpm.o): In function `gpm_uninit':
    : undefined reference to `Gpm_Close'
    collect2: ld returned 1 exit status
    make[4]: *** [rise_observer] Error 1
    make[4]: Leaving directory `/home/bcherian/brlcad-7.8.0/src/adrt/rise/observer'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/bcherian/brlcad-7.8.0/src/adrt/rise'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/bcherian/brlcad-7.8.0/src/adrt'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/bcherian/brlcad-7.8.0/src'
    make: *** [all-recursive] Error 1

    (sorry for the long post, but i'm not sure how to make an attachment)

    I've tried with cflags="-fPIC" and without.
    I've also been able to build BRL-CAD 7.6.6 on this same machine without problems (using "-fPIC")

    Thanks in advance,
    Ben

     
    • Nobody/Anonymous

      I got it working in AMD64 ubuntu by simply DLing      brlcad-7.8.0_linux_x86_64.tar.gz into the / directory.  Then I typed:

      sudo tar -xvzf brlcad-7.8.0_linux_x86_64.tar.gz
      export PATH=/usr/brlcad/bin:$PATH

      And that's it!  Start the program by typing into a terminal window:

      mged

      It works for me!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks