Welcome to the Linux Foundation Forum!
linux make file
Options
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
- 61 LFX Mentorship
- 114 LFX Mentorship: Linux Kernel
- 618 Linux Foundation IT Professional Programs
- 322 Cloud Engineer IT Professional Program
- 141 Advanced Cloud Engineer IT Professional Program
- 56 DevOps Engineer IT Professional Program
- 67 Cloud Native Developer IT Professional Program
- 6 Express Training Courses
- 6 Express Courses - Discussion Forum
- 2.3K Training Courses
- 19 LFC110 Class Forum - Discontinued
- 9 LFC131 Class Forum
- 31 LFD102 Class Forum
- 178 LFD103 Class Forum
- LFD110 Class Forum
- 24 LFD121 Class Forum
- LFD133 Class Forum
- 2 LFD137 Class Forum
- 62 LFD201 Class Forum
- 2 LFD210 Class Forum
- 1 LFD210-CN Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- LFD233 Class Forum
- LFD237 Class Forum
- 23 LFD254 Class Forum
- 659 LFD259 Class Forum
- 108 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 4 LFD273 Class Forum
- LFS101 Class Forum
- LFS116 Class Forum
- 2 LFS145 Class Forum
- 28 LFS200 Class Forum
- 740 LFS201 Class Forum - Discontinued
- 1 LFS201-JP クラス フォーラム
- 13 LFS203 Class Forum
- 98 LFS207 Class Forum
- 301 LFS211 Class Forum
- 54 LFS216 Class Forum
- 47 LFS241 Class Forum
- 41 LFS242 Class Forum
- 38 LFS243 Class Forum
- 12 LFS244 Class Forum
- LFS245 Class Forum
- 41 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 143 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 2 LFS256 Class Forum
- LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 108 LFS260 Class Forum
- 147 LFS261 Class Forum
- 39 LFS262 Class Forum
- 83 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 21 LFS267 Class Forum
- 18 LFS268 Class Forum
- 26 LFS269 Class Forum
- 204 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 258 LFW211 Class Forum
- 179 LFW212 Class Forum
- 9 SKF100 Class Forum
- SKF200 Class Forum
- 908 Hardware
- 221 Drivers
- 74 I/O Devices
- 44 Monitors
- 116 Multimedia
- 210 Networking
- 102 Printers & Scanners
- 86 Storage
- 765 Linux Distributions
- 88 Debian
- 66 Fedora
- 15 Linux Mint
- 13 Mageia
- 24 openSUSE
- 144 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 357 Ubuntu
- 484 Linux System Administration
- 40 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 95 Linux Security
- 80 Network Management
- 108 System Management
- 52 Web Management
- 75 Mobile Computing
- 25 Android
- 35 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 544 Off Topic
- 131 Introductions
- 223 Small Talk
- 22 Study Material
- 836 Programming and Development
- 285 Kernel Development
- 517 Software Development
- 975 Software
- 261 Applications
- 185 Command Line
- 3 Compiling/Installing
- 119 Games
- 318 Installation
- 65 All In Program
- 65 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)