Welcome to the Linux Foundation Forum!
linux make file
gulhk
Posts: 3
Hello everyone.
I am new to creating make files. I have been able to create simple makefiles for those applications which do not involve database but am unable to create for the ones that do involve database. When I run that make file, it just deletes the .exe file of that application from the folder. Could anyone please help me with this.
That's how my make file looks
INCLUDES = -I/usr/include/mysql++ -I/usr/include/mysql
LIBRARY = -L/usr/lib64/ -L/usr/lib64/mysql -lmysqlpp
SOURCE = /usr/local/babbage/bin/BreachCheck
VPATH = $(INCLUDES) $(LIBRARY) $(SOURCE)
OBJS = breachtester.o breachwriter.o cherrypicker.o datecl.o formatter.o frontrunner.o liffeconnect.o \
liffe_runbreach.o logger.o positionmonitor.o reportwriter.o
CC = g++
DEBUG = -g
CFLAGS = -Wall -c $(DEBUG)
LFLAGS = -Wall $(DEBUG)
liffe_runbreach-64bit : $(OBJS)
$(CC) $(LFLAGS) $(OBJS) -o liffe_runbreach-64bit
breachtester.o : breachtester.h breachtester.cpp breachwriter.h logger.h formatter.h \
datecl.h liffeconnect.h
$(CC) $(INCLUDES) $(CFLAGS) breachtester.cpp
breachwriter.o : breachwriter.h breachwriter.cpp breachtester.h liffeconnect.h
$(CC) $(INCLUDES) $(CFLAGS) breachwriter.cpp
cherrypicker.o : cherrypicker.h cherrypicker.cpp reportwriter.h
$(CC) $(INCLUDES) $(CFLAGS) cherrypicker.cpp
datecl.o : datecl.h datecl.cpp
$(CC) $(CFLAGS) datecl.cpp
formatter.o : formatter.h formatter.cpp
$(CC) $(CFLAGS) formatter.cpp
frontrunner.o : frontrunner.h frontrunner.cpp liffeconnect.h reportwriter.h
$(CC) $(INCLUDES) $(CFLAGS) frontrunner.cpp
liffeconnect.o : liffeconnect.h liffeconnect.cpp logger.h formatter.h breachtester.h
$(CC) $(INCLUDES) $(CFLAGS) liffeconnect.cpp
logger.o : logger.h logger.cpp
$(CC) $(CFLAGS) logger.cpp
positionmonitor.o : positionmonitor.h positionmonitor.cpp logger.h formatter.h
$(CC) $(INCLUDES) $(CFLAGS) positionmonitor.cpp
reportwriter.o : reportwriter.h reportwriter.cpp frontrunner.h liffeconnect.h
$(CC) $(INCLUDES) $(CFLAGS) reportwriter.cpp
liffe_runbreach.o : liffe_runbreach.cpp datecl.h logger.h breachtester.h liffeconnect.h formatter.h \
breachwriter.h cherrypicker.h frontrunner.h reportwriter.h
$(CC) $(INCLUDES) $(CFLAGS) liffe_runbreach.cpp
clean:
\rm *.o *~ liffe_runbreach-64bit
tar:
tar cfv liffe_runbreach-64bit.tar breachwriter.h breachwriter.cpp cherrypicker.h \
cherrypicker.cpp logger.cpp logger.h breachtester.cpp breachtester.h datecl.h datecl.cpp \
frontrunner.h frontrunner.cpp positionmonitor.h positionmonitor.cpp liffe_runbreach.cpp
LIBRARY = -L/usr/lib64/ -L/usr/lib64/mysql -lmysqlpp
SOURCE = /usr/local/babbage/bin/BreachCheck
VPATH = $(INCLUDES) $(LIBRARY) $(SOURCE)
OBJS = breachtester.o breachwriter.o cherrypicker.o datecl.o formatter.o frontrunner.o liffeconnect.o \
liffe_runbreach.o logger.o positionmonitor.o reportwriter.o
CC = g++
DEBUG = -g
CFLAGS = -Wall -c $(DEBUG)
LFLAGS = -Wall $(DEBUG)
liffe_runbreach-64bit : $(OBJS)
$(CC) $(LFLAGS) $(OBJS) -o liffe_runbreach-64bit
breachtester.o : breachtester.h breachtester.cpp breachwriter.h logger.h formatter.h \
datecl.h liffeconnect.h
$(CC) $(INCLUDES) $(CFLAGS) breachtester.cpp
breachwriter.o : breachwriter.h breachwriter.cpp breachtester.h liffeconnect.h
$(CC) $(INCLUDES) $(CFLAGS) breachwriter.cpp
cherrypicker.o : cherrypicker.h cherrypicker.cpp reportwriter.h
$(CC) $(INCLUDES) $(CFLAGS) cherrypicker.cpp
datecl.o : datecl.h datecl.cpp
$(CC) $(CFLAGS) datecl.cpp
formatter.o : formatter.h formatter.cpp
$(CC) $(CFLAGS) formatter.cpp
frontrunner.o : frontrunner.h frontrunner.cpp liffeconnect.h reportwriter.h
$(CC) $(INCLUDES) $(CFLAGS) frontrunner.cpp
liffeconnect.o : liffeconnect.h liffeconnect.cpp logger.h formatter.h breachtester.h
$(CC) $(INCLUDES) $(CFLAGS) liffeconnect.cpp
logger.o : logger.h logger.cpp
$(CC) $(CFLAGS) logger.cpp
positionmonitor.o : positionmonitor.h positionmonitor.cpp logger.h formatter.h
$(CC) $(INCLUDES) $(CFLAGS) positionmonitor.cpp
reportwriter.o : reportwriter.h reportwriter.cpp frontrunner.h liffeconnect.h
$(CC) $(INCLUDES) $(CFLAGS) reportwriter.cpp
liffe_runbreach.o : liffe_runbreach.cpp datecl.h logger.h breachtester.h liffeconnect.h formatter.h \
breachwriter.h cherrypicker.h frontrunner.h reportwriter.h
$(CC) $(INCLUDES) $(CFLAGS) liffe_runbreach.cpp
clean:
\rm *.o *~ liffe_runbreach-64bit
tar:
tar cfv liffe_runbreach-64bit.tar breachwriter.h breachwriter.cpp cherrypicker.h \
cherrypicker.cpp logger.cpp logger.h breachtester.cpp breachtester.h datecl.h datecl.cpp \
frontrunner.h frontrunner.cpp positionmonitor.h positionmonitor.cpp liffe_runbreach.cpp
0
Comments
-
it gives me the following error message
- collect2: ld returned 1 exit status
- make: *** [liffe_runbreach-64bit] Error 1
0 -
It is failing to link the executable. My guess is that you are missing some libraries. You didn't include $(LIBRARIES) in your target compilation for liffe_runbreach-64bit. There may be other missing libraries as well. Once all the .o files are created, you can try to build/link the executable manually to determine what is missing. There should be more error messages output than what you are showing, unless you ran make and redirected its output.0
-
Thanks woboyle for your reply
How do I include these libraries to the target compilation? Actually being a beginner I have been following tutorials for makefile and I created this makefile according to the tutorial.
Yes there is a longgg error msg most of which gives errors about the database. Where am I going wrong? Am I not providing the correct mysql path? Could anyone please help me with this.
Following is the error message.- g++ -I/usr/include/mysql++ -I/usr/include/mysql -Wall -c -g breachtester.cpp
- breachtester.cpp:394:15: warning: "/*" within comment
- In file included from breachtester.cpp:1:
- logger.h: In member function ‘Logger& Logger::operator=(const Logger&)’:
- logger.h:21: warning: no return statement in function returning non-void
- In file included from breachtester.cpp:3:
- breachtester.h: At global scope:
- breachtester.h:20: error: expected ‘)’ before ‘&’ token
- breachtester.h:40: error: ISO C++ forbids declaration of ‘Connection’ with no type
- breachtester.h:40: error: expected ‘;’ before ‘&’ token
- In file included from breachtester.cpp:3:
- breachtester.h:55: error: expected ‘)’ before ‘&’ token
- breachtester.h:72: error: expected ‘)’ before ‘&’ token
- breachtester.h:88: error: expected ‘)’ before ‘&’ token
- breachtester.h:104: error: expected ‘)’ before ‘&’ token
- breachtester.h:120: error: expected ‘)’ before ‘&’ token
- breachtester.h:137: error: expected ‘)’ before ‘&’ token
- breachtester.h:156: error: expected ‘)’ before ‘&’ token
- breachtester.h:172: error: expected ‘)’ before ‘&’ token
- breachtester.h:190: error: expected ‘)’ before ‘&’ token
- breachtester.h:208: error: expected ‘;’ before ‘(’ token
- breachtester.cpp:21: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual void BreachTester::ProcessQuery(std::string)’:
- breachtester.cpp:85: error: ‘Query’ was not declared in this scope
- breachtester.cpp:85: error: expected ‘;’ before ‘query’
- breachtester.cpp:86: error: ‘query’ was not declared in this scope
- breachtester.cpp:92: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:92: error: expected ‘;’ before ‘res’
- breachtester.cpp:93: error: ‘res’ was not declared in this scope
- breachtester.cpp:99: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp:101: error: ‘Row’ was not declared in this scope
- breachtester.cpp:101: error: expected ‘;’ before ‘row’
- breachtester.cpp:102: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual void BreachTester::ProcessList()’:
- breachtester.cpp:168: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: In member function ‘std::vector<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > BreachTester::GetHalfTrades(std::string)’:
- breachtester.cpp:265: error: ‘Query’ was not declared in this scope
- breachtester.cpp:265: error: expected ‘;’ before ‘query’
- breachtester.cpp:266: error: ‘query’ was not declared in this scope
- breachtester.cpp:270: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:270: error: expected ‘;’ before ‘res’
- breachtester.cpp:271: error: ‘res’ was not declared in this scope
- breachtester.cpp:277: error: ‘Row’ was not declared in this scope
- breachtester.cpp:277: error: expected ‘;’ before ‘row’
- breachtester.cpp:281: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘void BreachTester::DeleteDupes(std::vector<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&)’:
- breachtester.cpp:315: error: ‘Query’ was not declared in this scope
- breachtester.cpp:315: error: expected ‘;’ before ‘query’
- breachtester.cpp:316: error: ‘query’ was not declared in this scope
- breachtester.cpp:317: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:317: error: expected ‘;’ before ‘res1’
- breachtester.cpp:318: error: ‘res1’ was not declared in this scope
- breachtester.cpp:324: error: ‘Row’ was not declared in this scope
- breachtester.cpp:324: error: expected ‘;’ before ‘row’
- breachtester.cpp:325: error: ‘row’ was not declared in this scope
- breachtester.cpp: At global scope:
- breachtester.cpp:340: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual void DeBreachTester::ProcessQuery(std::string)’:
- breachtester.cpp:360: error: ‘Query’ was not declared in this scope
- breachtester.cpp:360: error: expected ‘;’ before ‘query’
- breachtester.cpp:361: error: ‘query’ was not declared in this scope
- breachtester.cpp:364: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:364: error: expected ‘;’ before ‘res’
- breachtester.cpp:365: error: ‘res’ was not declared in this scope
- breachtester.cpp:371: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp:373: error: ‘Row’ was not declared in this scope
- breachtester.cpp:373: error: expected ‘;’ before ‘row’
- breachtester.cpp:374: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual void DeBreachTester::ProcessList()’:
- breachtester.cpp:411: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: In member function ‘virtual std::string DeBreachTester::GetHalfTradeQueryString(std::string)’:
- breachtester.cpp:461: error: ‘Query’ was not declared in this scope
- breachtester.cpp:461: error: expected ‘;’ before ‘query’
- breachtester.cpp:462: error: ‘query’ was not declared in this scope
- breachtester.cpp:463: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:463: error: expected ‘;’ before ‘res’
- breachtester.cpp:464: error: ‘res’ was not declared in this scope
- breachtester.cpp:470: error: ‘Row’ was not declared in this scope
- breachtester.cpp:470: error: expected ‘;’ before ‘row’
- breachtester.cpp:471: error: ‘row’ was not declared in this scope
- breachtester.cpp: At global scope:
- breachtester.cpp:517: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual std::string ErrXBreachTester::GetHalfTradeQueryString(std::string)’:
- breachtester.cpp:550: error: ‘Query’ was not declared in this scope
- breachtester.cpp:550: error: expected ‘;’ before ‘query’
- breachtester.cpp:551: error: ‘query’ was not declared in this scope
- breachtester.cpp:552: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:552: error: expected ‘;’ before ‘res’
- breachtester.cpp:553: error: ‘res’ was not declared in this scope
- breachtester.cpp:559: error: ‘Row’ was not declared in this scope
- breachtester.cpp:559: error: expected ‘;’ before ‘row’
- breachtester.cpp:560: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual std::string ErrXBreachTester::GetDupeQueryString(std::vector<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&)’:
- breachtester.cpp:595: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp:606: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: At global scope:
- breachtester.cpp:637: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual std::string WashBreachTester::GetHalfTradeQueryString(std::string)’:
- breachtester.cpp:673: error: ‘Query’ was not declared in this scope
- breachtester.cpp:673: error: expected ‘;’ before ‘query’
- breachtester.cpp:674: error: ‘query’ was not declared in this scope
- breachtester.cpp:675: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:675: error: expected ‘;’ before ‘res’
- breachtester.cpp:676: error: ‘res’ was not declared in this scope
- breachtester.cpp:682: error: ‘Row’ was not declared in this scope
- breachtester.cpp:682: error: expected ‘;’ before ‘row’
- breachtester.cpp:683: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual std::string WashBreachTester::GetDupeQueryString(std::vector<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&)’:
- breachtester.cpp:709: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp:720: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: At global scope:
- breachtester.cpp:751: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual std::string BlockRepBreachTester::GetHalfTradeQueryString(std::string)’:
- breachtester.cpp:787: error: ‘Query’ was not declared in this scope
- breachtester.cpp:787: error: expected ‘;’ before ‘query’
- breachtester.cpp:788: error: ‘query’ was not declared in this scope
- breachtester.cpp:789: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:789: error: expected ‘;’ before ‘res’
- breachtester.cpp:790: error: ‘res’ was not declared in this scope
- breachtester.cpp:796: error: ‘Row’ was not declared in this scope
- breachtester.cpp:796: error: expected ‘;’ before ‘row’
- breachtester.cpp:797: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual std::string BlockRepBreachTester::GetDupeQueryString(std::vector<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&)’:
- breachtester.cpp:823: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: At global scope:
- breachtester.cpp:854: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual std::string BasisRepBreachTester::GetHalfTradeQueryString(std::string)’:
- breachtester.cpp:890: error: ‘Query’ was not declared in this scope
- breachtester.cpp:890: error: expected ‘;’ before ‘query’
- breachtester.cpp:891: error: ‘query’ was not declared in this scope
- breachtester.cpp:892: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:892: error: expected ‘;’ before ‘res’
- breachtester.cpp:893: error: ‘res’ was not declared in this scope
- breachtester.cpp:899: error: ‘Row’ was not declared in this scope
- breachtester.cpp:899: error: expected ‘;’ before ‘row’
- breachtester.cpp:900: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual std::string BasisRepBreachTester::GetDupeQueryString(std::vector<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&)’:
- breachtester.cpp:926: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: At global scope:
- breachtester.cpp:957: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual void CrossBreachTester::ProcessQuery(std::string)’:
- breachtester.cpp:999: error: ‘Query’ was not declared in this scope
- breachtester.cpp:999: error: expected ‘;’ before ‘query’
- breachtester.cpp:1000: error: ‘query’ was not declared in this scope
- breachtester.cpp:1006: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:1006: error: expected ‘;’ before ‘res’
- breachtester.cpp:1007: error: ‘res’ was not declared in this scope
- breachtester.cpp:1013: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp:1015: error: ‘Row’ was not declared in this scope
- breachtester.cpp:1015: error: expected ‘;’ before ‘row’
- breachtester.cpp:1016: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual void CrossBreachTester::ProcessList()’:
- breachtester.cpp:1078: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: At global scope:
- breachtester.cpp:1142: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual void MABreachTester::CalcReferences(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::string)’:
- breachtester.cpp:1157: error: ‘Query’ was not declared in this scope
- breachtester.cpp:1157: error: expected ‘;’ before ‘query’
- breachtester.cpp:1158: error: ‘query’ was not declared in this scope
- breachtester.cpp:1159: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:1159: error: expected ‘;’ before ‘res’
- breachtester.cpp:1160: error: ‘res’ was not declared in this scope
- breachtester.cpp:1168: error: ‘Row’ was not declared in this scope
- breachtester.cpp:1168: error: expected ‘;’ before ‘row’
- breachtester.cpp:1169: error: ‘row’ was not declared in this scope
- breachtester.cpp:1160: warning: unused variable ‘col’
- breachtester.cpp: In member function ‘virtual void MABreachTester::CalcWeights(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, size_t&, size_t&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)’:
- breachtester.cpp:1248: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: At global scope:
- breachtester.cpp:1399: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual void StratMABreachTester::ProcessQuery(std::string)’:
- breachtester.cpp:1432: error: ‘Query’ was not declared in this scope
- breachtester.cpp:1432: error: expected ‘;’ before ‘query’
- breachtester.cpp:1433: error: ‘query’ was not declared in this scope
- breachtester.cpp:1436: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:1436: error: expected ‘;’ before ‘res’
- breachtester.cpp:1437: error: ‘res’ was not declared in this scope
- breachtester.cpp:1443: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp:1445: error: ‘Row’ was not declared in this scope
- breachtester.cpp:1445: error: expected ‘;’ before ‘row’
- breachtester.cpp:1446: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual void StratMABreachTester::ProcessList()’:
- breachtester.cpp:1495: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: At global scope:
- breachtester.cpp:1605: error: expected ‘)’ before ‘&’ token
- breachtester.cpp: In member function ‘virtual void BlockMABreachTester::ProcessQuery(std::string)’:
- breachtester.cpp:1637: error: ‘Query’ was not declared in this scope
- breachtester.cpp:1637: error: expected ‘;’ before ‘query’
- breachtester.cpp:1638: error: ‘query’ was not declared in this scope
- breachtester.cpp:1641: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:1641: error: expected ‘;’ before ‘res’
- breachtester.cpp:1642: error: ‘res’ was not declared in this scope
- breachtester.cpp:1648: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp:1650: error: ‘Row’ was not declared in this scope
- breachtester.cpp:1650: error: expected ‘;’ before ‘row’
- breachtester.cpp:1652: error: ‘row’ was not declared in this scope
- breachtester.cpp: In member function ‘virtual void BlockMABreachTester::ProcessList()’:
- breachtester.cpp:1742: warning: comparison between signed and unsigned integer expressions
- breachtester.cpp: In member function ‘virtual std::string BlockMABreachTester::ProcessBlockMA(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, size_t&, size_t&, std::string, size_t&, std::string&)’:
- breachtester.cpp:1791: error: ‘Query’ was not declared in this scope
- breachtester.cpp:1791: error: expected ‘;’ before ‘query’
- breachtester.cpp:1792: error: ‘query’ was not declared in this scope
- breachtester.cpp:1794: error: ‘StoreQueryResult’ was not declared in this scope
- breachtester.cpp:1794: error: expected ‘;’ before ‘res’
- breachtester.cpp:1795: error: ‘res’ was not declared in this scope
- breachtester.cpp:1801: error: ‘Row’ was not declared in this scope
- breachtester.cpp:1801: error: expected ‘;’ before ‘row’
- breachtester.cpp:1802: error: ‘row’ was not declared in this scope
- breachtester.cpp:1840: error: expected ‘;’ before ‘res1’
- breachtester.cpp:1842: error: ‘res1’ was not declared in this scope
- breachtester.cpp:1844: error: ‘Row’ was not declared in this scope
- breachtester.cpp:1844: error: expected ‘;’ before ‘row’
- breachtester.cpp:1845: error: ‘row’ was not declared in this scope
- breachtester.cpp: At global scope:
- breachtester.cpp:1931: error: ‘BreachTester* BreachTesterFactory::CreateBreachTester’ is not a static member of ‘class BreachTesterFactory’
- breachtester.cpp:1931: error: ‘Connection’ was not declared in this scope
- breachtester.cpp:1931: error: ‘con’ was not declared in this scope
- breachtester.cpp:1931: error: expected primary-expression before ‘MNE’
- breachtester.cpp:1931: error: expected primary-expression before ‘int’
- breachtester.cpp:1931: error: initializer expression list treated as compound expression
- breachtester.cpp:1932: error: expected ‘,’ or ‘;’ before ‘{’ token
- make: *** [breachtester.o] Error 1
0
Categories
- All Categories
- 243 LFX Mentorship
- 243 LFX Mentorship: Linux Kernel
- 815 Linux Foundation IT Professional Programs
- 366 Cloud Engineer IT Professional Program
- 165 Advanced Cloud Engineer IT Professional Program
- 83 DevOps Engineer IT Professional Program
- 131 Cloud Native Developer IT Professional Program
- 142 Express Training Courses & Microlearning
- 119 Express Courses - Discussion Forum
- Microlearning - Discussion Forum
- 6.6K Training Courses
- 40 LFC110 Class Forum - Discontinued
- 72 LFC131 Class Forum
- 49 LFD102 Class Forum
- 234 LFD103 Class Forum
- 21 LFD110 Class Forum
- 31 LFD121 Class Forum
- LFD123 Class Forum
- LFD125 Class Forum
- 16 LFD133 Class Forum
- 6 LFD134 Class Forum
- 17 LFD137 Class Forum
- 70 LFD201 Class Forum
- 3 LFD210 Class Forum
- 2 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 2 LFD237 Class Forum
- 24 LFD254 Class Forum
- 719 LFD259 Class Forum
- 109 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 234 LFS101 Class Forum
- 1 LFS111 Class Forum
- 2 LFS112 Class Forum
- 1 LFS116 Class Forum
- 3 LFS118 Class Forum
- LFS120 Class Forum
- 2 LFS142 Class Forum
- 2 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 15 LFS148 Class Forum
- 15 LFS151 Class Forum
- 1 LFS157 Class Forum
- 63 LFS158 Class Forum
- LFS158-JP クラス フォーラム
- 4 LFS162 Class Forum
- 1 LFS166 Class Forum
- 5 LFS167 Class Forum
- 1 LFS170 Class Forum
- 2 LFS171 Class Forum
- 2 LFS178 Class Forum
- 2 LFS180 Class Forum
- 1 LFS182 Class Forum
- 5 LFS183 Class Forum
- 30 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 17 LFS203 Class Forum
- 135 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 55 LFS216 Class Forum
- 53 LFS241 Class Forum
- 50 LFS242 Class Forum
- 37 LFS243 Class Forum
- 13 LFS244 Class Forum
- 1 LFS245 Class Forum
- LFS246 Class Forum
- LFS248 Class Forum
- 81 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 143 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 6 LFS256 Class Forum
- LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 9 LFS258-JP クラス フォーラム
- 135 LFS260 Class Forum
- 151 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 22 LFS267 Class Forum
- 25 LFS268 Class Forum
- 29 LFS269 Class Forum
- 7 LFS270 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- 2 LFS147 Class Forum
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 2 LFW111 Class Forum
- 257 LFW211 Class Forum
- 176 LFW212 Class Forum
- 12 SKF100 Class Forum
- SKF200 Class Forum
- 2 SKF201 Class Forum
- 789 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 98 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 83 Storage
- 753 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 147 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 350 Ubuntu
- 464 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 91 Linux Security
- 78 Network Management
- 101 System Management
- 47 Web Management
- 69 Mobile Computing
- 17 Android
- 28 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 379 Off Topic
- 113 Introductions
- 177 Small Talk
- 26 Study Material
- 521 Programming and Development
- 291 Kernel Development
- 212 Software Development
- 1.1K Software
- 263 Applications
- 180 Command Line
- 3 Compiling/Installing
- 988 Games
- 311 Installation
- 79 All In Program
- 79 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)