- Hydr0p0nX
- Saturday, June 2nd, 2007 at 5:42:05am UTC
- make -f Makefile.init makefiles \
- 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \
- 'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'
- included directories listings
- # ls /usr/local/mysql/include/
- mysql/
- # ls /usr/local/mysql/include/mysql/
- errmsg.h my_getopt.h my_xml.h raid.h
- keycache.h my_global.h mysql.h readline.h
- m_ctype.h my_list.h mysql_com.h sql_common.h
- m_string.h my_net.h mysql_embed.h sql_state.h
- my_alloc.h my_no_pthread.h mysql_time.h sslopt-case.h
- my_config.h my_pthread.h mysql_version.h sslopt-longopts.h
- my_dbug.h my_semaphore.h mysqld_ername.h sslopt-vars.h
- my_dir.h my_sys.h mysqld_error.h typelib.h
- # ls /usr/local/mysql/lib
- lib/ libexec/
- # ls /usr/local/mysql/lib/mysql/lib
- libdbug.a libmysqlclient.a libmysqlclient.so.15.0.0
- libheap.a libmysqlclient.la libmystrings.a
- libmyisam.a libmysqlclient.so libmysys.a
- libmyisammrg.a libmysqlclient.so.15 libvio.a
- # ls /usr/local/mysql/lib/
- mysql/
- # ls /usr/local/mysql/lib/mysql/
- libdbug.a libmyisammrg.a libmysqlclient.so@ libmystrings.a
- libheap.a libmysqlclient.a libmysqlclient.so.15@ libmysys.a
- libmyisam.a libmysqlclient.la* libmysqlclient.so.15.0.0* libvio.a
- # mysql_admin version
- Server version 5.0.26-log
- Protocol version 10
- # Errors output when running `make`
- gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -c dict_mysql.c
- dict_mysql.c:173:19: mysql.h: No such file or directory
- dict_mysql.c:203: error: syntax error before "MYSQL"
- dict_mysql.c:203: warning: no semicolon at end of struct or union
- dict_mysql.c:211: error: syntax error before '}' token
- dict_mysql.c:211: warning: data definition has no type or storage class
- dict_mysql.c:215: error: syntax error before "HOST"
- dict_mysql.c:215: warning: no semicolon at end of struct or union
- dict_mysql.c:217: warning: data definition has no type or storage class
- dict_mysql.c:230: error: syntax error before "PLMYSQL"
- dict_mysql.c:230: warning: no semicolon at end of struct or union
- dict_mysql.c:234: warning: data definition has no type or storage class
- dict_mysql.c:248: error: syntax error before '*' token
- dict_mysql.c:248: warning: data definition has no type or storage class
- dict_mysql.c:249: error: syntax error before '*' token
- dict_mysql.c:249: error: syntax error before '*' token
- dict_mysql.c:250: warning: data definition has no type or storage class
- dict_mysql.c:251: error: syntax error before '*' token
- dict_mysql.c:252: error: syntax error before '*' token
- dict_mysql.c:253: error: syntax error before '*' token
- dict_mysql.c:254: error: syntax error before '*' token
- dict_mysql.c:258: error: syntax error before '*' token
- dict_mysql.c:259: error: syntax error before '*' token
- dict_mysql.c:259: warning: data definition has no type or storage class
- dict_mysql.c: In function `dict_mysql_quote':
- dict_mysql.c:265: error: `dict_mysql' undeclared (first use in this function)
- dict_mysql.c:265: error: (Each undeclared identifier is reported only once
- dict_mysql.c:265: error: for each function it appears in.)
- dict_mysql.c:265: error: syntax error before ')' token
- dict_mysql.c: In function `dict_mysql_lookup':
- dict_mysql.c:293: error: `dict_mysql' undeclared (first use in this function)
- dict_mysql.c:293: error: syntax error before ')' token
- dict_mysql.c:294: error: `pldb' undeclared (first use in this function)
- dict_mysql.c:295: error: `MYSQL_RES' undeclared (first use in this function)
- dict_mysql.c:295: error: `query_res' undeclared (first use in this function)
- dict_mysql.c:296: error: `MYSQL_ROW' undeclared (first use in this function)
- dict_mysql.c:296: error: syntax error before "row"
- dict_mysql.c:373: error: `row' undeclared (first use in this function)
- dict_mysql.c: At top level:
- dict_mysql.c:393: error: syntax error before '*' token
- dict_mysql.c: In function `dict_mysql_check_stat':
- dict_mysql.c:396: error: `host' undeclared (first use in this function)
- dict_mysql.c:398: error: `t' undeclared (first use in this function)
- dict_mysql.c: At top level:
- dict_mysql.c:407: error: syntax error before '*' token
- dict_mysql.c:407: error: syntax error before '*' token
- dict_mysql.c:408: warning: no previous prototype for 'dict_mysql_find_host'
- dict_mysql.c: In function `dict_mysql_find_host':
- dict_mysql.c:415: error: `PLDB' undeclared (first use in this function)
- dict_mysql.c: At top level:
- dict_mysql.c:435: error: syntax error before '*' token
- dict_mysql.c:435: error: syntax error before '*' token
- dict_mysql.c:437: warning: no previous prototype for 'dict_mysql_get_active'
- dict_mysql.c: In function `dict_mysql_get_active':
- dict_mysql.c:439: error: `host' undeclared (first use in this function)
- dict_mysql.c:443: error: `PLDB' undeclared (first use in this function)
- dict_mysql.c:464: error: `dbname' undeclared (first use in this function)
- dict_mysql.c:464: error: `username' undeclared (first use in this function)
- dict_mysql.c:464: error: `password' undeclared (first use in this function)
- dict_mysql.c: In function `dict_mysql_event':
- dict_mysql.c:477: error: `host' undeclared (first use in this function)
- dict_mysql.c:477: error: syntax error before ')' token
- dict_mysql.c: At top level:
- dict_mysql.c:490: error: syntax error before '*' token
- dict_mysql.c:490: error: syntax error before '*' token
- dict_mysql.c:496: warning: no previous prototype for 'plmysql_query'
- dict_mysql.c: In function `plmysql_query':
- dict_mysql.c:497: error: `PLDB' undeclared (first use in this function)
- dict_mysql.c:497: error: `dict_mysql' undeclared (first use in this function)
- dict_mysql.c:498: error: `host' undeclared (first use in this function)
- dict_mysql.c:499: error: `MYSQL_RES' undeclared (first use in this function)
- dict_mysql.c:499: error: `res' undeclared (first use in this function)
- dict_mysql.c:501: error: `dbname' undeclared (first use in this function)
- dict_mysql.c:501: error: `username' undeclared (first use in this function)
- dict_mysql.c:501: error: `password' undeclared (first use in this function)
- dict_mysql.c:516: error: `query' undeclared (first use in this function)
- dict_mysql.c:518: warning: format argument is not a pointer (arg 2)
- dict_mysql.c:527: warning: format argument is not a pointer (arg 2)
- dict_mysql.c: At top level:
- dict_mysql.c:540: error: syntax error before '*' token
- dict_mysql.c:541: warning: 'plmysql_connect_single' was used with no prototype before its definition
- dict_mysql.c: In function `plmysql_connect_single':
- dict_mysql.c:542: error: `host' undeclared (first use in this function)
- dict_mysql.c:546: error: `username' undeclared (first use in this function)
- dict_mysql.c:547: error: `password' undeclared (first use in this function)
- dict_mysql.c:548: error: `dbname' undeclared (first use in this function)
- dict_mysql.c:558: warning: format argument is not a pointer (arg 3)
- dict_mysql.c: At top level:
- dict_mysql.c:564: error: syntax error before '*' token
- dict_mysql.c:565: warning: 'plmysql_close_host' was used with no prototype before its definition
- dict_mysql.c: In function `plmysql_close_host':
- dict_mysql.c:566: error: `host' undeclared (first use in this function)
- dict_mysql.c: At top level:
- dict_mysql.c:575: error: syntax error before '*' token
- dict_mysql.c:576: warning: 'plmysql_down_host' was used with no prototype before its definition
- dict_mysql.c: In function `plmysql_down_host':
- dict_mysql.c:577: error: `host' undeclared (first use in this function)
- dict_mysql.c: At top level:
- dict_mysql.c:586: error: syntax error before '*' token
- dict_mysql.c: In function `mysql_parse_config':
- dict_mysql.c:594: error: `dict_mysql' undeclared (first use in this function)
- dict_mysql.c:594: error: `mysqlcf' undeclared (first use in this function)
- dict_mysql.c: In function `dict_mysql_open':
- dict_mysql.c:653: error: `dict_mysql' undeclared (first use in this function)
- dict_mysql.c:662: error: syntax error before ')' token
- dict_mysql.c: At top level:
- dict_mysql.c:681: error: syntax error before '*' token
- dict_mysql.c: In function `plmysql_init':
- dict_mysql.c:683: error: `PLDB' undeclared (first use in this function)
- dict_mysql.c:686: error: syntax error before ')' token
- dict_mysql.c:690: error: syntax error before ')' token
- dict_mysql.c:690: error: syntax error before ')' token
- dict_mysql.c: At top level:
- dict_mysql.c:700: error: syntax error before '*' token
- dict_mysql.c: In function `host_init':
- dict_mysql.c:703: error: `host' undeclared (first use in this function)
- dict_mysql.c:703: error: syntax error before ')' token
- dict_mysql.c: In function `dict_mysql_close':
- dict_mysql.c:747: error: `dict_mysql' undeclared (first use in this function)
- dict_mysql.c:747: error: syntax error before ')' token
- dict_mysql.c: At top level:
- dict_mysql.c:766: error: syntax error before '*' token
- dict_mysql.c:767: warning: 'plmysql_dealloc' was used with no prototype before its definition
- dict_mysql.c: In function `plmysql_dealloc':
- dict_mysql.c:770: error: `PLDB' undeclared (first use in this function)
- make: *** [dict_mysql.o] Error 1
- 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.
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.