Hi!
You need mysql 4.0 or higher to compile mysqlcc under linux. my_getopt.h is
included with mysql 4.0 +
Regards,
Jorge
--
For technical support contracts, visit https://order.mysql.com/?ref=mjdc
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Jorge del Conde <jorge@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer
/_/ /_/\_, /___/\___\_\___/ Mexico City, Mexico
<___/ www.mysql.com
MySQL Users Conference and Expo
http://www.mysql.com/events/uc2003/
----- Original Message -----
From: "Dirk Schlueter" <schlueri@stripped>
To: <mycc@stripped>
Sent: Monday, February 10, 2003 3:14 AM
Subject: Cannot compile mysqlcc
> latest bk clone. I get the same error if i try the latest available
> version from mysql.com
>
> What's wrong?
>
> -->
> src/main.cpp:34:23: my_getopt.h: No such file or directory
> src/main.cpp:43: `GET_NO_ARG' was not declared in this scope
> src/main.cpp:43: `NO_ARG' was not declared in this scope
> src/main.cpp:45: `GET_NO_ARG' was not declared in this scope
> src/main.cpp:45: `NO_ARG' was not declared in this scope
> src/main.cpp:47: `GET_NO_ARG' was not declared in this scope
> src/main.cpp:47: `NO_ARG' was not declared in this scope
> src/main.cpp:49: `GET_NO_ARG' was not declared in this scope
> src/main.cpp:49: `NO_ARG' was not declared in this scope
> src/main.cpp:51: `GET_STR' was not declared in this scope
> src/main.cpp:51: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:53: `GET_STR' was not declared in this scope
> src/main.cpp:53: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:55: `GET_STR' was not declared in this scope
> src/main.cpp:55: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:57: `GET_STR' was not declared in this scope
> src/main.cpp:57: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:61: `GET_STR' was not declared in this scope
> src/main.cpp:61: `OPT_ARG' was not declared in this scope
> src/main.cpp:63: `GET_UINT' was not declared in this scope
> src/main.cpp:63: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:66: `GET_STR' was not declared in this scope
> src/main.cpp:66: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:69: `GET_ULONG' was not declared in this scope
> src/main.cpp:69: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:71: `GET_STR' was not declared in this scope
> src/main.cpp:71: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:73: `GET_UINT' was not declared in this scope
> src/main.cpp:73: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:76: `GET_STR' was not declared in this scope
> src/main.cpp:76: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:79: `GET_STR' was not declared in this scope
> src/main.cpp:79: `REQUIRED_ARG' was not declared in this scope
> src/main.cpp:81: `GET_NO_ARG' was not declared in this scope
> src/main.cpp:81: `NO_ARG' was not declared in this scope
> src/main.cpp:83: `GET_NO_ARG' was not declared in this scope
> src/main.cpp:83: `NO_ARG' was not declared in this scope
> src/main.cpp:84: array size missing in `my_long_options'
> src/main.cpp:84: storage size of `my_long_options' isn't known
> src/main.cpp:41: storage size of `my_long_options' isn't known
> src/main.cpp: In function `my_bool get_one_option(int, const my_option*,
> char*)':
> src/main.cpp:96: invalid use of undefined type `struct my_option'
> src/main.cpp:41: forward declaration of `struct my_option'
> src/main.cpp:96: `GET_NO_ARG' undeclared (first use this function)
> src/main.cpp:96: (Each undeclared identifier is reported only once for
> each function it appears in.)
> src/main.cpp:96: invalid use of undefined type `struct my_option'
> src/main.cpp:41: forward declaration of `struct my_option'
> src/main.cpp:96: `NO_ARG' undeclared (first use this function)
> src/main.cpp: In function `void usage()':
> src/main.cpp:117: `my_print_help' undeclared (first use this function)
> src/main.cpp: In function `int main(int, char**)':
> src/main.cpp:127: `handle_options' undeclared (first use this function)
> make: *** [tmp/main.o] Fehler 1
> <--
>
>
>
> ---------------------------------------------------------------------
> Before posting please check: http://www.mysql.com/products/mycc/index.html
> To unsubscribe, send email to
mysqlcc-unsubscribe-jorge=mysql.com@stripped
>