MySQL Forums
Forum List  »  Source, Builds, Binaries

compiling error!!!
Posted by: spv42
Date: September 01, 2005 06:18AM

I'm building from cygWin under Windows XP
whit option --with-embedded-server for libmysqld.a library

here is the log error:

make[2]: Entering directory `/cygdrive/c/mysqlsrc/mysql-5.0.11-beta/extra'
gcc -O3 -DDBUG_OFF comp_err.c -o comp_err
comp_err.c:26:23: my_global.h: No such file or directory
comp_err.c:27:21: m_ctype.h: No such file or directory
comp_err.c:28:20: my_sys.h: No such file or directory
comp_err.c:29:22: m_string.h: No such file or directory
comp_err.c:30:23: my_getopt.h: No such file or directory
comp_err.c:32:20: my_dir.h: No such file or directory
comp_err.c:48: error: parse error before "file_head"
comp_err.c:48: warning: data definition has no type or storage class
comp_err.c:50: error: parse error before "file_pos"
comp_err.c:50: warning: data definition has no type or storage class
comp_err.c:60: error: parse error before "info_flag"
comp_err.c:60: warning: data definition has no type or storage class
comp_err.c:91: error: parse error before "DYNAMIC_ARRAY"
comp_err.c:91: warning: no semicolon at end of struct or union
comp_err.c:95: error: elements of array `my_long_options' have incomplete type
comp_err.c:98: warning: excess elements in struct initializer
comp_err.c:98: warning: (near initialization for `my_long_options[0]')
comp_err.c:98: warning: excess elements in struct initializer
comp_err.c:98: warning: (near initialization for `my_long_options[0]')
comp_err.c:98: warning: excess elements in struct initializer
comp_err.c:98: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: error: `GET_DISABLED' undeclared here (not in a function)
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: error: `OPT_ARG' undeclared here (not in a function)
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:99: warning: excess elements in struct initializer
comp_err.c:99: warning: (near initialization for `my_long_options[0]')
comp_err.c:104: warning: excess elements in struct initializer
comp_err.c:104: warning: (near initialization for `my_long_options[1]')
comp_err.c:104: warning: excess elements in struct initializer
comp_err.c:104: warning: (near initialization for `my_long_options[1]')
comp_err.c:104: warning: excess elements in struct initializer
comp_err.c:104: warning: (near initialization for `my_long_options[1]')
comp_err.c:104: error: `gptr' undeclared here (not in a function)
comp_err.c:104: error: parse error before ')' token
comp_err.c:104: warning: excess elements in struct initializer
comp_err.c:104: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: error: `gptr' undeclared here (not in a function)
comp_err.c:105: error: parse error before ')' token
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: error: `GET_BOOL' undeclared here (not in a function)
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: error: `NO_ARG' undeclared here (not in a function)
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:105: warning: excess elements in struct initializer
comp_err.c:105: warning: (near initialization for `my_long_options[1]')
comp_err.c:106: warning: excess elements in struct initializer
comp_err.c:106: warning: (near initialization for `my_long_options[2]')
comp_err.c:106: warning: excess elements in struct initializer
comp_err.c:106: warning: (near initialization for `my_long_options[2]')
comp_err.c:106: warning: excess elements in struct initializer
comp_err.c:106: warning: (near initialization for `my_long_options[2]')
comp_err.c:106: warning: excess elements in struct initializer
comp_err.c:106: warning: (near initialization for `my_long_options[2]')
comp_err.c:106: warning: excess elements in struct initializer
comp_err.c:106: warning: (near initialization for `my_long_options[2]')
comp_err.c:106: warning: excess elements in struct initializer
comp_err.c:106: warning: (near initialization for `my_long_options[2]')
comp_err.c:106: error: `GET_NO_ARG' undeclared here (not in a function)
comp_err.c:106: warning: excess elements in struct initializer
comp_err.c:106: warning: (near initialization for `my_long_options[2]')
comp_err.c:107: error: `NO_ARG' undeclared here (not in a function)
comp_err.c:107: warning: excess elements in struct initializer
comp_err.c:107: warning: (near initialization for `my_long_options[2]')
comp_err.c:107: warning: excess elements in struct initializer
comp_err.c:107: warning: (near initialization for `my_long_options[2]')
comp_err.c:107: warning: excess elements in struct initializer
comp_err.c:107: warning: (near initialization for `my_long_options[2]')
comp_err.c:107: warning: excess elements in struct initializer
comp_err.c:107: warning: (near initialization for `my_long_options[2]')
comp_err.c:107: warning: excess elements in struct initializer
comp_err.c:107: warning: (near initialization for `my_long_options[2]')
comp_err.c:107: warning: excess elements in struct initializer
comp_err.c:107: warning: (near initialization for `my_long_options[2]')
comp_err.c:107: warning: excess elements in struct initializer
comp_err.c:107: warning: (near initialization for `my_long_options[2]')
comp_err.c:108: warning: excess elements in struct initializer
comp_err.c:108: warning: (near initialization for `my_long_options[3]')
comp_err.c:108: warning: excess elements in struct initializer
comp_err.c:108: warning: (near initialization for `my_long_options[3]')
comp_err.c:108: warning: excess elements in struct initializer
comp_err.c:108: warning: (near initialization for `my_long_options[3]')
comp_err.c:108: warning: excess elements in struct initializer
comp_err.c:108: warning: (near initialization for `my_long_options[3]')
comp_err.c:108: warning: excess elements in struct initializer
comp_err.c:108: warning: (near initialization for `my_long_options[3]')
comp_err.c:108: warning: excess elements in struct initializer
comp_err.c:108: warning: (near initialization for `my_long_options[3]')
comp_err.c:108: error: `GET_NO_ARG' undeclared here (not in a function)
comp_err.c:108: warning: excess elements in struct initializer
comp_err.c:108: warning: (near initialization for `my_long_options[3]')
comp_err.c:109: error: `NO_ARG' undeclared here (not in a function)
comp_err.c:109: warning: excess elements in struct initializer
comp_err.c:109: warning: (near initialization for `my_long_options[3]')
comp_err.c:109: warning: excess elements in struct initializer
comp_err.c:109: warning: (near initialization for `my_long_options[3]')
comp_err.c:109: warning: excess elements in struct initializer
comp_err.c:109: warning: (near initialization for `my_long_options[3]')
comp_err.c:109: warning: excess elements in struct initializer
comp_err.c:109: warning: (near initialization for `my_long_options[3]')
comp_err.c:109: warning: excess elements in struct initializer
comp_err.c:109: warning: (near initialization for `my_long_options[3]')
comp_err.c:109: warning: excess elements in struct initializer
comp_err.c:109: warning: (near initialization for `my_long_options[3]')
comp_err.c:109: warning: excess elements in struct initializer
comp_err.c:109: warning: (near initialization for `my_long_options[3]')
comp_err.c:110: warning: excess elements in struct initializer
comp_err.c:110: warning: (near initialization for `my_long_options[4]')
comp_err.c:110: warning: excess elements in struct initializer
comp_err.c:110: warning: (near initialization for `my_long_options[4]')
comp_err.c:110: warning: excess elements in struct initializer
comp_err.c:110: warning: (near initialization for `my_long_options[4]')
comp_err.c:110: error: `gptr' undeclared here (not in a function)
comp_err.c:110: error: parse error before ')' token
comp_err.c:110: error: `charsets_dir' undeclared here (not in a function)
comp_err.c:110: warning: excess elements in struct initializer
comp_err.c:110: warning: (near initialization for `my_long_options[4]')
comp_err.c:111: error: `gptr' undeclared here (not in a function)
comp_err.c:111: error: parse error before ')' token
comp_err.c:111: error: `charsets_dir' undeclared here (not in a function)
comp_err.c:111: warning: excess elements in struct initializer
comp_err.c:111: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: error: `GET_STR' undeclared here (not in a function)
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: error: `REQUIRED_ARG' undeclared here (not in a function)
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:112: warning: excess elements in struct initializer
comp_err.c:112: warning: (near initialization for `my_long_options[4]')
comp_err.c:113: warning: excess elements in struct initializer
comp_err.c:113: warning: (near initialization for `my_long_options[5]')
comp_err.c:113: warning: excess elements in struct initializer
comp_err.c:113: warning: (near initialization for `my_long_options[5]')
comp_err.c:113: warning: excess elements in struct initializer
comp_err.c:113: warning: (near initialization for `my_long_options[5]')
comp_err.c:113: error: `gptr' undeclared here (not in a function)
comp_err.c:113: error: parse error before ')' token
comp_err.c:113: warning: excess elements in struct initializer
comp_err.c:113: warning: (near initialization for `my_long_options[5]')
comp_err.c:113: error: `gptr' undeclared here (not in a function)
comp_err.c:113: error: parse error before ')' token
comp_err.c:113: warning: excess elements in struct initializer
comp_err.c:113: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: error: `GET_STR' undeclared here (not in a function)
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: error: `REQUIRED_ARG' undeclared here (not in a function)
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:114: warning: excess elements in struct initializer
comp_err.c:114: warning: (near initialization for `my_long_options[5]')
comp_err.c:115: warning: excess elements in struct initializer
comp_err.c:115: warning: (near initialization for `my_long_options[6]')
comp_err.c:115: warning: excess elements in struct initializer
comp_err.c:115: warning: (near initialization for `my_long_options[6]')
comp_err.c:115: warning: excess elements in struct initializer
comp_err.c:115: warning: (near initialization for `my_long_options[6]')
comp_err.c:115: error: `gptr' undeclared here (not in a function)
comp_err.c:115: error: parse error before ')' token
comp_err.c:115: warning: excess elements in struct initializer
comp_err.c:115: warning: (near initialization for `my_long_options[6]')
comp_err.c:116: error: `gptr' undeclared here (not in a function)
comp_err.c:116: error: parse error before ')' token
comp_err.c:116: warning: excess elements in struct initializer
comp_err.c:116: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: error: `GET_STR' undeclared here (not in a function)
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: error: `REQUIRED_ARG' undeclared here (not in a function)
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:117: warning: excess elements in struct initializer
comp_err.c:117: warning: (near initialization for `my_long_options[6]')
comp_err.c:118: warning: excess elements in struct initializer
comp_err.c:118: warning: (near initialization for `my_long_options[7]')
comp_err.c:118: warning: excess elements in struct initializer
comp_err.c:118: warning: (near initialization for `my_long_options[7]')
comp_err.c:118: warning: excess elements in struct initializer
comp_err.c:118: warning: (near initialization for `my_long_options[7]')
comp_err.c:118: error: `gptr' undeclared here (not in a function)
comp_err.c:118: error: parse error before ')' token
comp_err.c:118: warning: excess elements in struct initializer
comp_err.c:118: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: error: `gptr' undeclared here (not in a function)
comp_err.c:119: error: parse error before ')' token
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: error: `GET_STR' undeclared here (not in a function)
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: error: `REQUIRED_ARG' undeclared here (not in a function)
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: warning: excess elements in struct initializer
comp_err.c:119: warning: (near initialization for `my_long_options[7]')
comp_err.c:119: warning: excess elements in struct initializermake[2]: *** [comp_err] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt ecc,ecc....

Anyone can help me to generate a libmysqld.a that works fine?

Options: ReplyQuote


Subject
Views
Written By
Posted
compiling error!!!
4106
September 01, 2005 06:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.