Welcome to the Linux Foundation Forum!

linux make file

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 3
    it gives me the following error message
    1. collect2: ld returned 1 exit status
    2. make: *** [liffe_runbreach-64bit] Error 1
  • Posts: 501
    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.
  • Posts: 3
    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.
    1. g++ -I/usr/include/mysql++ -I/usr/include/mysql -Wall -c -g breachtester.cpp
    2. breachtester.cpp:394:15: warning: "/*" within comment
    3. In file included from breachtester.cpp:1:
    4. logger.h: In member function ‘Logger& Logger::operator=(const Logger&)’:
    5. logger.h:21: warning: no return statement in function returning non-void
    6. In file included from breachtester.cpp:3:
    7. breachtester.h: At global scope:
    8. breachtester.h:20: error: expected ‘)’ before ‘&’ token
    9. breachtester.h:40: error: ISO C++ forbids declaration of ‘Connection’ with no type
    10. breachtester.h:40: error: expected ‘;’ before ‘&’ token
    11. In file included from breachtester.cpp:3:
    12. breachtester.h:55: error: expected ‘)’ before ‘&’ token
    13. breachtester.h:72: error: expected ‘)’ before ‘&’ token
    14. breachtester.h:88: error: expected ‘)’ before ‘&’ token
    15. breachtester.h:104: error: expected ‘)’ before ‘&’ token
    16. breachtester.h:120: error: expected ‘)’ before ‘&’ token
    17. breachtester.h:137: error: expected ‘)’ before ‘&’ token
    18. breachtester.h:156: error: expected ‘)’ before ‘&’ token
    19. breachtester.h:172: error: expected ‘)’ before ‘&’ token
    20. breachtester.h:190: error: expected ‘)’ before ‘&’ token
    21. breachtester.h:208: error: expected ‘;’ before ‘(’ token
    22. breachtester.cpp:21: error: expected ‘)’ before ‘&’ token
    23. breachtester.cpp: In member function ‘virtual void BreachTester::ProcessQuery(std::string)’:
    24. breachtester.cpp:85: error: ‘Query’ was not declared in this scope
    25. breachtester.cpp:85: error: expected ‘;’ before ‘query’
    26. breachtester.cpp:86: error: ‘query’ was not declared in this scope
    27. breachtester.cpp:92: error: ‘StoreQueryResult’ was not declared in this scope
    28. breachtester.cpp:92: error: expected ‘;’ before ‘res’
    29. breachtester.cpp:93: error: ‘res’ was not declared in this scope
    30. breachtester.cpp:99: warning: comparison between signed and unsigned integer expressions
    31. breachtester.cpp:101: error: ‘Row’ was not declared in this scope
    32. breachtester.cpp:101: error: expected ‘;’ before ‘row’
    33. breachtester.cpp:102: error: ‘row’ was not declared in this scope
    34. breachtester.cpp: In member function ‘virtual void BreachTester::ProcessList()’:
    35. breachtester.cpp:168: warning: comparison between signed and unsigned integer expressions
    36. 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)’:
    37. breachtester.cpp:265: error: ‘Query’ was not declared in this scope
    38. breachtester.cpp:265: error: expected ‘;’ before ‘query’
    39. breachtester.cpp:266: error: ‘query’ was not declared in this scope
    40. breachtester.cpp:270: error: ‘StoreQueryResult’ was not declared in this scope
    41. breachtester.cpp:270: error: expected ‘;’ before ‘res’
    42. breachtester.cpp:271: error: ‘res’ was not declared in this scope
    43. breachtester.cpp:277: error: ‘Row’ was not declared in this scope
    44. breachtester.cpp:277: error: expected ‘;’ before ‘row’
    45. breachtester.cpp:281: error: ‘row’ was not declared in this scope
    46. 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> > > > > >&)’:
    47. breachtester.cpp:315: error: ‘Query’ was not declared in this scope
    48. breachtester.cpp:315: error: expected ‘;’ before ‘query’
    49. breachtester.cpp:316: error: ‘query’ was not declared in this scope
    50. breachtester.cpp:317: error: ‘StoreQueryResult’ was not declared in this scope
    51. breachtester.cpp:317: error: expected ‘;’ before ‘res1’
    52. breachtester.cpp:318: error: ‘res1’ was not declared in this scope
    53. breachtester.cpp:324: error: ‘Row’ was not declared in this scope
    54. breachtester.cpp:324: error: expected ‘;’ before ‘row’
    55. breachtester.cpp:325: error: ‘row’ was not declared in this scope
    56. breachtester.cpp: At global scope:
    57. breachtester.cpp:340: error: expected ‘)’ before ‘&’ token
    58. breachtester.cpp: In member function ‘virtual void DeBreachTester::ProcessQuery(std::string)’:
    59. breachtester.cpp:360: error: ‘Query’ was not declared in this scope
    60. breachtester.cpp:360: error: expected ‘;’ before ‘query’
    61. breachtester.cpp:361: error: ‘query’ was not declared in this scope
    62. breachtester.cpp:364: error: ‘StoreQueryResult’ was not declared in this scope
    63. breachtester.cpp:364: error: expected ‘;’ before ‘res’
    64. breachtester.cpp:365: error: ‘res’ was not declared in this scope
    65. breachtester.cpp:371: warning: comparison between signed and unsigned integer expressions
    66. breachtester.cpp:373: error: ‘Row’ was not declared in this scope
    67. breachtester.cpp:373: error: expected ‘;’ before ‘row’
    68. breachtester.cpp:374: error: ‘row’ was not declared in this scope
    69. breachtester.cpp: In member function ‘virtual void DeBreachTester::ProcessList()’:
    70. breachtester.cpp:411: warning: comparison between signed and unsigned integer expressions
    71. breachtester.cpp: In member function ‘virtual std::string DeBreachTester::GetHalfTradeQueryString(std::string)’:
    72. breachtester.cpp:461: error: ‘Query’ was not declared in this scope
    73. breachtester.cpp:461: error: expected ‘;’ before ‘query’
    74. breachtester.cpp:462: error: ‘query’ was not declared in this scope
    75. breachtester.cpp:463: error: ‘StoreQueryResult’ was not declared in this scope
    76. breachtester.cpp:463: error: expected ‘;’ before ‘res’
    77. breachtester.cpp:464: error: ‘res’ was not declared in this scope
    78. breachtester.cpp:470: error: ‘Row’ was not declared in this scope
    79. breachtester.cpp:470: error: expected ‘;’ before ‘row’
    80. breachtester.cpp:471: error: ‘row’ was not declared in this scope
    81. breachtester.cpp: At global scope:
    82. breachtester.cpp:517: error: expected ‘)’ before ‘&’ token
    83. breachtester.cpp: In member function ‘virtual std::string ErrXBreachTester::GetHalfTradeQueryString(std::string)’:
    84. breachtester.cpp:550: error: ‘Query’ was not declared in this scope
    85. breachtester.cpp:550: error: expected ‘;’ before ‘query’
    86. breachtester.cpp:551: error: ‘query’ was not declared in this scope
    87. breachtester.cpp:552: error: ‘StoreQueryResult’ was not declared in this scope
    88. breachtester.cpp:552: error: expected ‘;’ before ‘res’
    89. breachtester.cpp:553: error: ‘res’ was not declared in this scope
    90. breachtester.cpp:559: error: ‘Row’ was not declared in this scope
    91. breachtester.cpp:559: error: expected ‘;’ before ‘row’
    92. breachtester.cpp:560: error: ‘row’ was not declared in this scope
    93. 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> > > > > >&)’:
    94. breachtester.cpp:595: warning: comparison between signed and unsigned integer expressions
    95. breachtester.cpp:606: warning: comparison between signed and unsigned integer expressions
    96. breachtester.cpp: At global scope:
    97. breachtester.cpp:637: error: expected ‘)’ before ‘&’ token
    98. breachtester.cpp: In member function ‘virtual std::string WashBreachTester::GetHalfTradeQueryString(std::string)’:
    99. breachtester.cpp:673: error: ‘Query’ was not declared in this scope
    100. breachtester.cpp:673: error: expected ‘;’ before ‘query’
    101. breachtester.cpp:674: error: ‘query’ was not declared in this scope
    102. breachtester.cpp:675: error: ‘StoreQueryResult’ was not declared in this scope
    103. breachtester.cpp:675: error: expected ‘;’ before ‘res’
    104. breachtester.cpp:676: error: ‘res’ was not declared in this scope
    105. breachtester.cpp:682: error: ‘Row’ was not declared in this scope
    106. breachtester.cpp:682: error: expected ‘;’ before ‘row’
    107. breachtester.cpp:683: error: ‘row’ was not declared in this scope
    108. 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> > > > > >&)’:
    109. breachtester.cpp:709: warning: comparison between signed and unsigned integer expressions
    110. breachtester.cpp:720: warning: comparison between signed and unsigned integer expressions
    111. breachtester.cpp: At global scope:
    112. breachtester.cpp:751: error: expected ‘)’ before ‘&’ token
    113. breachtester.cpp: In member function ‘virtual std::string BlockRepBreachTester::GetHalfTradeQueryString(std::string)’:
    114. breachtester.cpp:787: error: ‘Query’ was not declared in this scope
    115. breachtester.cpp:787: error: expected ‘;’ before ‘query’
    116. breachtester.cpp:788: error: ‘query’ was not declared in this scope
    117. breachtester.cpp:789: error: ‘StoreQueryResult’ was not declared in this scope
    118. breachtester.cpp:789: error: expected ‘;’ before ‘res’
    119. breachtester.cpp:790: error: ‘res’ was not declared in this scope
    120. breachtester.cpp:796: error: ‘Row’ was not declared in this scope
    121. breachtester.cpp:796: error: expected ‘;’ before ‘row’
    122. breachtester.cpp:797: error: ‘row’ was not declared in this scope
    123. 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> > > > > >&)’:
    124. breachtester.cpp:823: warning: comparison between signed and unsigned integer expressions
    125. breachtester.cpp: At global scope:
    126. breachtester.cpp:854: error: expected ‘)’ before ‘&’ token
    127. breachtester.cpp: In member function ‘virtual std::string BasisRepBreachTester::GetHalfTradeQueryString(std::string)’:
    128. breachtester.cpp:890: error: ‘Query’ was not declared in this scope
    129. breachtester.cpp:890: error: expected ‘;’ before ‘query’
    130. breachtester.cpp:891: error: ‘query’ was not declared in this scope
    131. breachtester.cpp:892: error: ‘StoreQueryResult’ was not declared in this scope
    132. breachtester.cpp:892: error: expected ‘;’ before ‘res’
    133. breachtester.cpp:893: error: ‘res’ was not declared in this scope
    134. breachtester.cpp:899: error: ‘Row’ was not declared in this scope
    135. breachtester.cpp:899: error: expected ‘;’ before ‘row’
    136. breachtester.cpp:900: error: ‘row’ was not declared in this scope
    137. 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> > > > > >&)’:
    138. breachtester.cpp:926: warning: comparison between signed and unsigned integer expressions
    139. breachtester.cpp: At global scope:
    140. breachtester.cpp:957: error: expected ‘)’ before ‘&’ token
    141. breachtester.cpp: In member function ‘virtual void CrossBreachTester::ProcessQuery(std::string)’:
    142. breachtester.cpp:999: error: ‘Query’ was not declared in this scope
    143. breachtester.cpp:999: error: expected ‘;’ before ‘query’
    144. breachtester.cpp:1000: error: ‘query’ was not declared in this scope
    145. breachtester.cpp:1006: error: ‘StoreQueryResult’ was not declared in this scope
    146. breachtester.cpp:1006: error: expected ‘;’ before ‘res’
    147. breachtester.cpp:1007: error: ‘res’ was not declared in this scope
    148. breachtester.cpp:1013: warning: comparison between signed and unsigned integer expressions
    149. breachtester.cpp:1015: error: ‘Row’ was not declared in this scope
    150. breachtester.cpp:1015: error: expected ‘;’ before ‘row’
    151. breachtester.cpp:1016: error: ‘row’ was not declared in this scope
    152. breachtester.cpp: In member function ‘virtual void CrossBreachTester::ProcessList()’:
    153. breachtester.cpp:1078: warning: comparison between signed and unsigned integer expressions
    154. breachtester.cpp: At global scope:
    155. breachtester.cpp:1142: error: expected ‘)’ before ‘&’ token
    156. 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)’:
    157. breachtester.cpp:1157: error: ‘Query’ was not declared in this scope
    158. breachtester.cpp:1157: error: expected ‘;’ before ‘query’
    159. breachtester.cpp:1158: error: ‘query’ was not declared in this scope
    160. breachtester.cpp:1159: error: ‘StoreQueryResult’ was not declared in this scope
    161. breachtester.cpp:1159: error: expected ‘;’ before ‘res’
    162. breachtester.cpp:1160: error: ‘res’ was not declared in this scope
    163. breachtester.cpp:1168: error: ‘Row’ was not declared in this scope
    164. breachtester.cpp:1168: error: expected ‘;’ before ‘row’
    165. breachtester.cpp:1169: error: ‘row’ was not declared in this scope
    166. breachtester.cpp:1160: warning: unused variable ‘col’
    167. 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> > > >&)’:
    168. breachtester.cpp:1248: warning: comparison between signed and unsigned integer expressions
    169. breachtester.cpp: At global scope:
    170. breachtester.cpp:1399: error: expected ‘)’ before ‘&’ token
    171. breachtester.cpp: In member function ‘virtual void StratMABreachTester::ProcessQuery(std::string)’:
    172. breachtester.cpp:1432: error: ‘Query’ was not declared in this scope
    173. breachtester.cpp:1432: error: expected ‘;’ before ‘query’
    174. breachtester.cpp:1433: error: ‘query’ was not declared in this scope
    175. breachtester.cpp:1436: error: ‘StoreQueryResult’ was not declared in this scope
    176. breachtester.cpp:1436: error: expected ‘;’ before ‘res’
    177. breachtester.cpp:1437: error: ‘res’ was not declared in this scope
    178. breachtester.cpp:1443: warning: comparison between signed and unsigned integer expressions
    179. breachtester.cpp:1445: error: ‘Row’ was not declared in this scope
    180. breachtester.cpp:1445: error: expected ‘;’ before ‘row’
    181. breachtester.cpp:1446: error: ‘row’ was not declared in this scope
    182. breachtester.cpp: In member function ‘virtual void StratMABreachTester::ProcessList()’:
    183. breachtester.cpp:1495: warning: comparison between signed and unsigned integer expressions
    184. breachtester.cpp: At global scope:
    185. breachtester.cpp:1605: error: expected ‘)’ before ‘&’ token
    186. breachtester.cpp: In member function ‘virtual void BlockMABreachTester::ProcessQuery(std::string)’:
    187. breachtester.cpp:1637: error: ‘Query’ was not declared in this scope
    188. breachtester.cpp:1637: error: expected ‘;’ before ‘query’
    189. breachtester.cpp:1638: error: ‘query’ was not declared in this scope
    190. breachtester.cpp:1641: error: ‘StoreQueryResult’ was not declared in this scope
    191. breachtester.cpp:1641: error: expected ‘;’ before ‘res’
    192. breachtester.cpp:1642: error: ‘res’ was not declared in this scope
    193. breachtester.cpp:1648: warning: comparison between signed and unsigned integer expressions
    194. breachtester.cpp:1650: error: ‘Row’ was not declared in this scope
    195. breachtester.cpp:1650: error: expected ‘;’ before ‘row’
    196. breachtester.cpp:1652: error: ‘row’ was not declared in this scope
    197. breachtester.cpp: In member function ‘virtual void BlockMABreachTester::ProcessList()’:
    198. breachtester.cpp:1742: warning: comparison between signed and unsigned integer expressions
    199. 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&)’:
    200. breachtester.cpp:1791: error: ‘Query’ was not declared in this scope
    201. breachtester.cpp:1791: error: expected ‘;’ before ‘query’
    202. breachtester.cpp:1792: error: ‘query’ was not declared in this scope
    203. breachtester.cpp:1794: error: ‘StoreQueryResult’ was not declared in this scope
    204. breachtester.cpp:1794: error: expected ‘;’ before ‘res’
    205. breachtester.cpp:1795: error: ‘res’ was not declared in this scope
    206. breachtester.cpp:1801: error: ‘Row’ was not declared in this scope
    207. breachtester.cpp:1801: error: expected ‘;’ before ‘row’
    208. breachtester.cpp:1802: error: ‘row’ was not declared in this scope
    209. breachtester.cpp:1840: error: expected ‘;’ before ‘res1’
    210. breachtester.cpp:1842: error: ‘res1’ was not declared in this scope
    211. breachtester.cpp:1844: error: ‘Row’ was not declared in this scope
    212. breachtester.cpp:1844: error: expected ‘;’ before ‘row’
    213. breachtester.cpp:1845: error: ‘row’ was not declared in this scope
    214. breachtester.cpp: At global scope:
    215. breachtester.cpp:1931: error: ‘BreachTester* BreachTesterFactory::CreateBreachTester’ is not a static member of ‘class BreachTesterFactory’
    216. breachtester.cpp:1931: error: ‘Connection’ was not declared in this scope
    217. breachtester.cpp:1931: error: ‘con’ was not declared in this scope
    218. breachtester.cpp:1931: error: expected primary-expression before ‘MNE’
    219. breachtester.cpp:1931: error: expected primary-expression before ‘int’
    220. breachtester.cpp:1931: error: initializer expression list treated as compound expression
    221. breachtester.cpp:1932: error: expected ‘,’ or ‘;’ before ‘{’ token
    222. make: *** [breachtester.o] Error 1

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training