Building Codelite on OpenIndiana/Illumos
Posted: Fri Oct 25, 2013 6:02 pm
Hi,
I'm trying to build codelite on OpenIndiana (Illumos)
i have built wxWidgets 2.9.5 and installed without issue. It seems to not be very happy with the _U functions. Any help appreciated.
[ 8%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/cpp_comment_creator.cpp.o
cd /home/sleary/SVNWork/codelitegit/build-release/CodeLite && /opt/gcc/4.4.4/bin/c++ -DINSTALL_DIR=\"/usr/share/codelite\" -DNDEBUG -DPLUGINS_DIR=\"/usr/lib/codelite\" -DWXUSINGDLL -DWXUSINGDLL_WXSQLITE3 -DYY_NEVER_INTERACTIVE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__WXGTK__ -Dlibcodelite_EXPORTS -O2 -pthreads -fPIC -isystem /usr/local/lib/wx/include/gtk2-unicode-2.9 -isystem /usr/local/include/wx-2.9 -I/home/sleary/SVNWork/codelitegit/sdk/wxsqlite3/include -I/home/sleary/SVNWork/codelitegit/sdk/codelite_indexer/network -I/home/sleary/SVNWork/codelitegit/PCH -o CMakeFiles/libcodelite.dir/cpp_comment_creator.cpp.o -c /home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp: In member function ‘wxString CppCommentCreator::FunctionComment()’:
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp:78: error: ‘1’ cannot be used as a function
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp:88: error: ‘1’ cannot be used as a function
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp:89: error: ‘1’ cannot be used as a function
make[2]: *** [CodeLite/CMakeFiles/libcodelite.dir/cpp_comment_creator.cpp.o] Error 1
make[2]: Leaving directory `/home/sleary/SVNWork/codelitegit/build-release'
make[1]: *** [CodeLite/CMakeFiles/libcodelite.dir/all] Error 2
make[1]: Leaving directory `/home/sleary/SVNWork/codelitegit/build-release'
make: *** [all] Error 2
Some system info...
sleary@openindiana:~/SVNWork/codelitegit/build-release$ uname -a
SunOS openindiana 5.11 oi_151a8 i86pc i386 i86pc Solaris
sleary@openindiana:~/SVNWork/codelitegit/build-release$ gcc --version
gcc (Illumos gcc-4.4.4-il-3) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sleary@openindiana:~/SVNWork/codelitegit/build-release$ g++ --version
g++ (Illumos gcc-4.4.4-il-3) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sleary@openindiana:~/SVNWork/codelitegit/build-release$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-pc-solaris2.11
I'm trying to build codelite on OpenIndiana (Illumos)
i have built wxWidgets 2.9.5 and installed without issue. It seems to not be very happy with the _U functions. Any help appreciated.
[ 8%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/cpp_comment_creator.cpp.o
cd /home/sleary/SVNWork/codelitegit/build-release/CodeLite && /opt/gcc/4.4.4/bin/c++ -DINSTALL_DIR=\"/usr/share/codelite\" -DNDEBUG -DPLUGINS_DIR=\"/usr/lib/codelite\" -DWXUSINGDLL -DWXUSINGDLL_WXSQLITE3 -DYY_NEVER_INTERACTIVE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__WXGTK__ -Dlibcodelite_EXPORTS -O2 -pthreads -fPIC -isystem /usr/local/lib/wx/include/gtk2-unicode-2.9 -isystem /usr/local/include/wx-2.9 -I/home/sleary/SVNWork/codelitegit/sdk/wxsqlite3/include -I/home/sleary/SVNWork/codelitegit/sdk/codelite_indexer/network -I/home/sleary/SVNWork/codelitegit/PCH -o CMakeFiles/libcodelite.dir/cpp_comment_creator.cpp.o -c /home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp: In member function ‘wxString CppCommentCreator::FunctionComment()’:
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp:78: error: ‘1’ cannot be used as a function
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp:88: error: ‘1’ cannot be used as a function
/home/sleary/SVNWork/codelitegit/CodeLite/cpp_comment_creator.cpp:89: error: ‘1’ cannot be used as a function
make[2]: *** [CodeLite/CMakeFiles/libcodelite.dir/cpp_comment_creator.cpp.o] Error 1
make[2]: Leaving directory `/home/sleary/SVNWork/codelitegit/build-release'
make[1]: *** [CodeLite/CMakeFiles/libcodelite.dir/all] Error 2
make[1]: Leaving directory `/home/sleary/SVNWork/codelitegit/build-release'
make: *** [all] Error 2
Some system info...
sleary@openindiana:~/SVNWork/codelitegit/build-release$ uname -a
SunOS openindiana 5.11 oi_151a8 i86pc i386 i86pc Solaris
sleary@openindiana:~/SVNWork/codelitegit/build-release$ gcc --version
gcc (Illumos gcc-4.4.4-il-3) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sleary@openindiana:~/SVNWork/codelitegit/build-release$ g++ --version
g++ (Illumos gcc-4.4.4-il-3) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sleary@openindiana:~/SVNWork/codelitegit/build-release$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-pc-solaris2.11