Hi Jocelyn,
> The error message becomes :
>
> awk: gen_inc.awk: line 75: function gensub never defined
>
> (but it doesn't prevent me from compiling MySQL - actually I'm not using
> bdb - )
Are you using GNU awk? According to the GNU awk 'gawk' man page:
>>>>>
GNU EXTENSIONS
Gawk has a number of extensions to POSIX awk. They are
described in this section. All the extensions described
here can be disabled by invoking gawk with the --tradi
tional option.
The following features of gawk are not available in POSIX
awk.
<cut>
· The and(), asort(), bindtextdomain(), compl(), dcget
text(), gensub(), lshift(), mktime(), or(), rshift(),
strftime(), strtonum(), systime() and xor() functions.
<<<<<
This could very well be your problem. As far as the syntax error that you
used to get, those are probably OK changes, but they may not affect
anything in gawk. Could you please check your version of awk? You can do
so with:
awk --version
or
awk -W version
One of the above should work anyway.
Thanks!
Regards,
Jeremy
--
MySQL Training in Amsterdam! Visit http://www.mysql.com/training/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Jeremy Cole <jeremy@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Senior Trainer and Consultant
/_/ /_/\_, /___/\___\_\___/ Clarksville, Tennessee USA
<___/ www.mysql.com