help > compilation problems
Showing 1-2 of 2 posts
Mar 25, 2011 05:03 PM | Stephan Gerhard
compilation problems
hi,
i am trying as well to compile on ubuntu 10.10, with the following error:
make[1]: Betrete Verzeichnis '/home/stephan/dev/bxh_xcede_tools/trunk/bxh_xcede_tools/libsrc'
g++ -c -o bxh_datarec.o -DXMLH_VERSIONSTR="\"BXH utilities (1.9.9.5)\"" -I. -g -O2 -pthread -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/libgdome -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I. -g -DBIAC=1 -DHAVE_CONFIG_H ./bxh_datarec.cpp
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp: In function ‘size_t path_match_dirs(const char*)’:
./bxh_datarec.cpp:117: error: invalid conversion from ‘const char*’ to ‘char*’
./bxh_datarec.cpp: In function ‘bxhrawdatarec* bxh_datarec_readXYZTData(bxhrawdatarec*, void*, int)’:
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [bxh_datarec.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/stephan/dev/bxh_xcede_tools/trunk/bxh_xcede_tools/libsrc'
make: *** [libsrc] Fehler 2
i am trying as well to compile on ubuntu 10.10, with the following error:
make[1]: Betrete Verzeichnis '/home/stephan/dev/bxh_xcede_tools/trunk/bxh_xcede_tools/libsrc'
g++ -c -o bxh_datarec.o -DXMLH_VERSIONSTR="\"BXH utilities (1.9.9.5)\"" -I. -g -O2 -pthread -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/libgdome -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I. -g -DBIAC=1 -DHAVE_CONFIG_H ./bxh_datarec.cpp
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:57: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp: In function ‘size_t path_match_dirs(const char*)’:
./bxh_datarec.cpp:117: error: invalid conversion from ‘const char*’ to ‘char*’
./bxh_datarec.cpp: In function ‘bxhrawdatarec* bxh_datarec_readXYZTData(bxhrawdatarec*, void*, int)’:
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
./bxh_datarec.cpp:2688: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [bxh_datarec.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/stephan/dev/bxh_xcede_tools/trunk/bxh_xcede_tools/libsrc'
make: *** [libsrc] Fehler 2
Mar 25, 2011 05:03 PM | Syam Gadde
RE: compilation problems
I have committed several updates to SVN which enable successful
compilation on Xubuntu 10.4 LTS. If it doesn't fix it for
you, please let me know. Thanks!