on ubuntu 15.04 #162

Guria opened this Issue Sep 24, 2015 · 7 comments


None yet

4 participants

Guria commented Sep 24, 2015

gcc 5.2.1 20150922

In file included from ../ncurses/curses.priv.h:283:0,
                 from ../ncurses/lib_gen.c:19:
_24265.c:835:15: error: expected ‘)’ before ‘int’
../include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
 #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
Makefile:785: recipe for target '../objects/lib_gen.o' failed
make[1]: *** [../objects/lib_gen.o] Error 1

See cloudius-systems/osv#634 for similar stack trace

Guria commented Sep 24, 2015

Using gcc 4.9 resolves an issue

sudo apt-get install gcc-4.9 gcc-4.9-base
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 10

I get the same error with Ubuntu 15.10.

Checking gcc:

cloud9@homesrv:~/c9sdk$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-22ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) 

So, it looks like I have 5.2.1.

Doing the above workaround seems to get past the compilation problems. Then I had to install the package nodejs-legacy otherwise the call to node in the install script fails.


i get the same error me too Kyle in ubuntu 15.10

can you help me


try installing tmux from apt-get before running the


i am traying to build Img for my beagle bone and i am using Hob interfaces, there where i found this problem
can you help me


Not sure what Hob interfaces means.
Did you try sudo apt-get install tmux?


Hob is a graphical application which build a Embedded linux distribution.

i am following this tuto :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment