Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Hydr0p0nX
Saturday, June 2nd, 2007 at 5:42:05am UTC 

  1. make -f Makefile.init makefiles \
  2.  'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \
  3.  'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'
  4.  
  5. included directories listings
  6. # ls /usr/local/mysql/include/
  7. mysql/
  8.  
  9. # ls /usr/local/mysql/include/mysql/
  10. errmsg.h     my_getopt.h      my_xml.h         raid.h
  11. keycache.h   my_global.h      mysql.h          readline.h
  12. m_ctype.h    my_list.h        mysql_com.h      sql_common.h
  13. m_string.h   my_net.h         mysql_embed.h    sql_state.h
  14. my_alloc.h   my_no_pthread.h  mysql_time.h     sslopt-case.h
  15. my_config.h  my_pthread.h     mysql_version.h  sslopt-longopts.h
  16. my_dbug.h    my_semaphore.h   mysqld_ername.h  sslopt-vars.h
  17. my_dir.h     my_sys.h         mysqld_error.h   typelib.h
  18.  
  19. # ls /usr/local/mysql/lib
  20. lib/     libexec/
  21.  
  22. # ls /usr/local/mysql/lib/mysql/lib
  23. libdbug.a                 libmysqlclient.a          libmysqlclient.so.15.0.0
  24. libheap.a                 libmysqlclient.la         libmystrings.a
  25. libmyisam.a               libmysqlclient.so         libmysys.a
  26. libmyisammrg.a            libmysqlclient.so.15      libvio.a
  27.  
  28. # ls /usr/local/mysql/lib/
  29. mysql/
  30.  
  31. # ls /usr/local/mysql/lib/mysql/
  32. libdbug.a    libmyisammrg.a      libmysqlclient.so@         libmystrings.a
  33. libheap.a    libmysqlclient.a    libmysqlclient.so.15@      libmysys.a
  34. libmyisam.a  libmysqlclient.la*  libmysqlclient.so.15.0.0*  libvio.a
  35.  
  36. # mysql_admin version
  37. Server version          5.0.26-log
  38. Protocol version        10
  39.  
  40. # Errors output when running `make`
  41. gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include -DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c dict_mysql.c
  42. dict_mysql.c:173:19: mysql.h: No such file or directory
  43. dict_mysql.c:203: error: syntax error before "MYSQL"
  44. dict_mysql.c:203: warning: no semicolon at end of struct or union
  45. dict_mysql.c:211: error: syntax error before '}' token
  46. dict_mysql.c:211: warning: data definition has no type or storage class
  47. dict_mysql.c:215: error: syntax error before "HOST"
  48. dict_mysql.c:215: warning: no semicolon at end of struct or union
  49. dict_mysql.c:217: warning: data definition has no type or storage class
  50. dict_mysql.c:230: error: syntax error before "PLMYSQL"
  51. dict_mysql.c:230: warning: no semicolon at end of struct or union
  52. dict_mysql.c:234: warning: data definition has no type or storage class
  53. dict_mysql.c:248: error: syntax error before '*' token
  54. dict_mysql.c:248: warning: data definition has no type or storage class
  55. dict_mysql.c:249: error: syntax error before '*' token
  56. dict_mysql.c:249: error: syntax error before '*' token
  57. dict_mysql.c:250: warning: data definition has no type or storage class
  58. dict_mysql.c:251: error: syntax error before '*' token
  59. dict_mysql.c:252: error: syntax error before '*' token
  60. dict_mysql.c:253: error: syntax error before '*' token
  61. dict_mysql.c:254: error: syntax error before '*' token
  62. dict_mysql.c:258: error: syntax error before '*' token
  63. dict_mysql.c:259: error: syntax error before '*' token
  64. dict_mysql.c:259: warning: data definition has no type or storage class
  65. dict_mysql.c: In function `dict_mysql_quote':
  66. dict_mysql.c:265: error: `dict_mysql' undeclared (first use in this function)
  67. dict_mysql.c:265: error: (Each undeclared identifier is reported only once
  68. dict_mysql.c:265: error: for each function it appears in.)
  69. dict_mysql.c:265: error: syntax error before ')' token
  70. dict_mysql.c: In function `dict_mysql_lookup':
  71. dict_mysql.c:293: error: `dict_mysql' undeclared (first use in this function)
  72. dict_mysql.c:293: error: syntax error before ')' token
  73. dict_mysql.c:294: error: `pldb' undeclared (first use in this function)
  74. dict_mysql.c:295: error: `MYSQL_RES' undeclared (first use in this function)
  75. dict_mysql.c:295: error: `query_res' undeclared (first use in this function)
  76. dict_mysql.c:296: error: `MYSQL_ROW' undeclared (first use in this function)
  77. dict_mysql.c:296: error: syntax error before "row"
  78. dict_mysql.c:373: error: `row' undeclared (first use in this function)
  79. dict_mysql.c: At top level:
  80. dict_mysql.c:393: error: syntax error before '*' token
  81. dict_mysql.c: In function `dict_mysql_check_stat':
  82. dict_mysql.c:396: error: `host' undeclared (first use in this function)
  83. dict_mysql.c:398: error: `t' undeclared (first use in this function)
  84. dict_mysql.c: At top level:
  85. dict_mysql.c:407: error: syntax error before '*' token
  86. dict_mysql.c:407: error: syntax error before '*' token
  87. dict_mysql.c:408: warning: no previous prototype for 'dict_mysql_find_host'
  88. dict_mysql.c: In function `dict_mysql_find_host':
  89. dict_mysql.c:415: error: `PLDB' undeclared (first use in this function)
  90. dict_mysql.c: At top level:
  91. dict_mysql.c:435: error: syntax error before '*' token
  92. dict_mysql.c:435: error: syntax error before '*' token
  93. dict_mysql.c:437: warning: no previous prototype for 'dict_mysql_get_active'
  94. dict_mysql.c: In function `dict_mysql_get_active':
  95. dict_mysql.c:439: error: `host' undeclared (first use in this function)
  96. dict_mysql.c:443: error: `PLDB' undeclared (first use in this function)
  97. dict_mysql.c:464: error: `dbname' undeclared (first use in this function)
  98. dict_mysql.c:464: error: `username' undeclared (first use in this function)
  99. dict_mysql.c:464: error: `password' undeclared (first use in this function)
  100. dict_mysql.c: In function `dict_mysql_event':
  101. dict_mysql.c:477: error: `host' undeclared (first use in this function)
  102. dict_mysql.c:477: error: syntax error before ')' token
  103. dict_mysql.c: At top level:
  104. dict_mysql.c:490: error: syntax error before '*' token
  105. dict_mysql.c:490: error: syntax error before '*' token
  106. dict_mysql.c:496: warning: no previous prototype for 'plmysql_query'
  107. dict_mysql.c: In function `plmysql_query':
  108. dict_mysql.c:497: error: `PLDB' undeclared (first use in this function)
  109. dict_mysql.c:497: error: `dict_mysql' undeclared (first use in this function)
  110. dict_mysql.c:498: error: `host' undeclared (first use in this function)
  111. dict_mysql.c:499: error: `MYSQL_RES' undeclared (first use in this function)
  112. dict_mysql.c:499: error: `res' undeclared (first use in this function)
  113. dict_mysql.c:501: error: `dbname' undeclared (first use in this function)
  114. dict_mysql.c:501: error: `username' undeclared (first use in this function)
  115. dict_mysql.c:501: error: `password' undeclared (first use in this function)
  116. dict_mysql.c:516: error: `query' undeclared (first use in this function)
  117. dict_mysql.c:518: warning: format argument is not a pointer (arg 2)
  118. dict_mysql.c:527: warning: format argument is not a pointer (arg 2)
  119. dict_mysql.c: At top level:
  120. dict_mysql.c:540: error: syntax error before '*' token
  121. dict_mysql.c:541: warning: 'plmysql_connect_single' was used with no prototype before its definition
  122. dict_mysql.c: In function `plmysql_connect_single':
  123. dict_mysql.c:542: error: `host' undeclared (first use in this function)
  124. dict_mysql.c:546: error: `username' undeclared (first use in this function)
  125. dict_mysql.c:547: error: `password' undeclared (first use in this function)
  126. dict_mysql.c:548: error: `dbname' undeclared (first use in this function)
  127. dict_mysql.c:558: warning: format argument is not a pointer (arg 3)
  128. dict_mysql.c: At top level:
  129. dict_mysql.c:564: error: syntax error before '*' token
  130. dict_mysql.c:565: warning: 'plmysql_close_host' was used with no prototype before its definition
  131. dict_mysql.c: In function `plmysql_close_host':
  132. dict_mysql.c:566: error: `host' undeclared (first use in this function)
  133. dict_mysql.c: At top level:
  134. dict_mysql.c:575: error: syntax error before '*' token
  135. dict_mysql.c:576: warning: 'plmysql_down_host' was used with no prototype before its definition
  136. dict_mysql.c: In function `plmysql_down_host':
  137. dict_mysql.c:577: error: `host' undeclared (first use in this function)
  138. dict_mysql.c: At top level:
  139. dict_mysql.c:586: error: syntax error before '*' token
  140. dict_mysql.c: In function `mysql_parse_config':
  141. dict_mysql.c:594: error: `dict_mysql' undeclared (first use in this function)
  142. dict_mysql.c:594: error: `mysqlcf' undeclared (first use in this function)
  143. dict_mysql.c: In function `dict_mysql_open':
  144. dict_mysql.c:653: error: `dict_mysql' undeclared (first use in this function)
  145. dict_mysql.c:662: error: syntax error before ')' token
  146. dict_mysql.c: At top level:
  147. dict_mysql.c:681: error: syntax error before '*' token
  148. dict_mysql.c: In function `plmysql_init':
  149. dict_mysql.c:683: error: `PLDB' undeclared (first use in this function)
  150. dict_mysql.c:686: error: syntax error before ')' token
  151. dict_mysql.c:690: error: syntax error before ')' token
  152. dict_mysql.c:690: error: syntax error before ')' token
  153. dict_mysql.c: At top level:
  154. dict_mysql.c:700: error: syntax error before '*' token
  155. dict_mysql.c: In function `host_init':
  156. dict_mysql.c:703: error: `host' undeclared (first use in this function)
  157. dict_mysql.c:703: error: syntax error before ')' token
  158. dict_mysql.c: In function `dict_mysql_close':
  159. dict_mysql.c:747: error: `dict_mysql' undeclared (first use in this function)
  160. dict_mysql.c:747: error: syntax error before ')' token
  161. dict_mysql.c: At top level:
  162. dict_mysql.c:766: error: syntax error before '*' token
  163. dict_mysql.c:767: warning: 'plmysql_dealloc' was used with no prototype before its definition
  164. dict_mysql.c: In function `plmysql_dealloc':
  165. dict_mysql.c:770: error: `PLDB' undeclared (first use in this function)
  166. make: *** [dict_mysql.o] Error 1
  167. make: *** [update] Error 1

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right