Results 1 to 3 of 3
make all-am
make[4]: Entering directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0/RogueScannerAPI/client'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/ruby-1.9.1 -g -O2 -Wall -MT soapC.o -MD -MP -MF ".deps/soapC.Tpo" -c -o soapC.o soapC.cpp; \
then mv -f ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-02-2011 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 31
I gotta an error when i am make the Rougescanner
make all-am
make[4]: Entering directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0/RogueScannerAPI/client'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/ruby-1.9.1 -g -O2 -Wall -MT soapC.o -MD -MP -MF ".deps/soapC.Tpo" -c -o soapC.o soapC.cpp; \
then mv -f ".deps/soapC.Tpo" ".deps/soapC.Po"; else rm -f ".deps/soapC.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/ruby-1.9.1 -g -O2 -Wall -MT soapClient.o -MD -MP -MF ".deps/soapClient.Tpo" -c -o soapClient.o soapClient.cpp; \
then mv -f ".deps/soapClient.Tpo" ".deps/soapClient.Po"; else rm -f ".deps/soapClient.Tpo"; exit 1; fi
rm -f libclientapi.a
ar cru libclientapi.a soapC.o soapClient.o
ranlib libclientapi.a
make[4]: Leaving directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0/RogueScannerAPI/client'
make[3]: Leaving directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0/RogueScannerAPI/client'
make[3]: Entering directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0/RogueScannerAPI'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Iclient -I/usr/local/include/ruby-1.9.1 -g -O2 -Wall -MT ScannerAPITypes.o -MD -MP -MF ".deps/ScannerAPITypes.Tpo" -c -o ScannerAPITypes.o ScannerAPITypes.cpp; \
then mv -f ".deps/ScannerAPITypes.Tpo" ".deps/ScannerAPITypes.Po"; else rm -f ".deps/ScannerAPITypes.Tpo"; exit 1; fi
ScannerAPITypes.cpp: In function ‘StringArray* CreateStringArray(soap*)’:
[B][B]ScannerAPITypes.cpp:110: error: cannot convert ‘std::string**’ to ‘std::string*’ in assignment
ScannerAPITypes.cpp: In function ‘void AddString(StringArray*, std::string)’:
ScannerAPITypes.cpp:124: error: invalid conversion from ‘std::string*’ to ‘char’

ScannerAPITypes.cpp:124: error: initializing argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’
ScannerAPITypes.cpp:126: error: no match for ‘operator*’ in ‘**(S->StringArray::__ptr + ((unsigned int)(((unsigned int)(S->StringArray::__size ++)) * 4u)))’
make[3]: *** [ScannerAPITypes.o] Error 1
make[3]: Leaving directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0/RogueScannerAPI'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0/RogueScannerAPI'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/saravanan/rouge/rouge3/roguescanner-2.6.0.0'
make: *** [all] Error 2
- 09-03-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,236
These error messages show where in your source code you have programming errors:
Code:ScannerAPITypes.cpp: In function ‘StringArray* CreateStringArray(soap*)’: [ScannerAPITypes.cpp:110: error: cannot convert ‘std::string**’ to ‘std::string*’ in assignment ScannerAPITypes.cpp: In function ‘void AddString(StringArray*, std::string)’: ScannerAPITypes.cpp:124: error: invalid conversion from ‘std::string*’ to ‘char’ ScannerAPITypes.cpp:124: error: initializing argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’ ScannerAPITypes.cpp:126: error: no match for ‘operator*’ in ‘**(S->StringArray::__ptr + ((unsigned int)(((unsigned int)(S->StringArray::__size ++)) * 4u)))’
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-03-2011 #3Just Joined!
- Join Date
- Oct 2010
- Posts
- 31
how to resolve the programming errors!
I tryed to resolve this error..But Finally i got more errors..Is there any solution to solve this error !..
Thanks in Advance..
Regards
Saravanan G


Reply With Quote
