MySQL Forums
Forum List  »  Source, Builds, Binaries

Problems Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/terminal.c.o
Posted by: Mariano Apilado
Date: May 26, 2016 10:52AM

Hi,

I get the following error when compiling mysql-5.7.12 on Nexenta 4.0.4 OS ( Formerly known as Open Solaris / Illumos ).

In order to temporarily bypass this problem, I commented out. However, this is not the solution.

/usr/local/mysql-5.7.12/cmd-line-utils/libedit/terminal.c:60:
/*
*#ifdef HAVE_CURSES_H
*#include <curses.h>
*#elif HAVE_NCURSES_H
*#include <ncurses.h>
*#endif
*/

Thanks and Regards,
Mariano


Error:
[? 4%] Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/terminal.c.o
cd /usr/local/mysql-5.7.12/cmd-line-utils/libedit && /usr/bin/gcc? -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -D_PTHREADS -D_REENTRANT -D__EXTENSIONS__ -I/usr/local/mysql-5.7.12/cmd-line-utils/libedit -I/usr/local/mysql-5.7.12/include -I/usr/local/mysql-5.7.12/extra/rapidjson/include -I/usr/local/mysql-5.7.12/libbinlogevents/include -I/usr/local/mysql-5.7.12/libbinlogevents/export -I/usr/xpg4/include? -m64 -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF?? -fPIC? -m64 -lstdc++ -R'RIGIN/../lib' -R/usr/lib/amd64 -o CMakeFiles/edit.dir/terminal.c.o?? -c /usr/local/mysql-5.7.12/cmd-line-utils/libedit/terminal.c
In file included from /usr/xpg4/include/curses.h:43,
???????????????? from /usr/local/mysql-5.7.12/cmd-line-utils/libedit/terminal.c:60:
/usr/xpg4/include/term.h:596: error: conflicting types for ?tgoto?
/usr/local/mysql-5.7.12/cmd-line-utils/libedit/sys.h:137: note: previous declaration of ?tgoto? was here
gmake[2]: *** [cmd-line-utils/libedit/CMakeFiles/edit.dir/terminal.c.o] Error 1
gmake[2]: Leaving directory `/usr/local/mysql-5.7.12'
gmake[1]: *** [cmd-line-utils/libedit/CMakeFiles/edit.dir/all] Error 2
gmake[1]: Leaving directory `/usr/local/mysql-5.7.12?
gmake: *** [all] Error 2

Options: ReplyQuote


Subject
Views
Written By
Posted
Problems Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/terminal.c.o
883
May 26, 2016 10:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.