Compile bind 8.2.2 and mysql

Marnix A. van Ammers marnix at marnix.com
Mon May 1 04:38:02 UTC 2000


I think the patch your using is for bind 8.2.1, not 8.2.2.  I just ran into this same problem.  It seems that the contributed software
is out of date.  The README file says to go to http://bind.linuxos.net and there you'll find some newer versions of the patches.  I'm
not sure (yet) if any of the newer versions work with 8.2.2P5.

Marnix

Mike Alexander Sauvain wrote:

> igot problems to compile the bind source with mysql module........ follow errors:
>
> -I. -I/usr/include/mysql -I/server/bind/src/include -I/server/bind/src/port/linux/include -c main.c
> In file included from main.c:6:
> sqlbind.h:75: parse error before `ns_updrec'
> sqlbind.h:75: warning: no semicolon at end of struct or union
> sqlbind.h:77: parse error before `}'
> sqlbind.h:83: parse error before `*'
> sqlbind.h:83: warning: data definition has no type or storage class
> sqlbind.h:96: parse error before `*'
> sqlbind.h:97: parse error before `*'
> main.c: In function `main':
> main.c:101: dereferencing pointer to incomplete type
> main.c:102: dereferencing pointer to incomplete type
> main.c:104: dereferencing pointer to incomplete type
> make: *** [main.o] Error 1
> dbase:/server/bind/sqlbind-8/src #
>
> Any body has any ideas ??????.. i do it like
>
> ./configure --with-mysql=/server/mysql-3.22.32-pc-linux-gnu-i686 --with-bind=/server/bind/src
> make clean && make
>
> ...Francis Le Bourse send my some other named files for the bind source........ (second post from me) but they dossent worked.....
>
> ...............*thanks Mike A. Sauvain
>
> i got the follow errors (bind-8.2.2 (already pretty compiled)):
>
> cd /server/bind/src/include/arpa/ (my dir that iuse for installation)
> patch < /server/bind/contrib/sqlbind-8/src/bind-patch.diff  (also tryed whit patch < /server/bind/contrib/sqlbind-8/patchs/.....)
> patching file nameser.h
> Hunk #1 FAILED at 234.
> 1 out of 1 hunk FAILED -- saving rejects to file nameser.h.rej
>
> then if ido in /server/bind/contrib/sqlbind-8/src/:
>
> ->./configure --with-mysql=/server/mysql-3.22.32-pc-linux-gnu-i686 --with-bind=/server/bind/src (works fine)
> ->make clean && make
> rm -f *.o sqlbind
> gcc -g -O2  \
> -I. -I/server/mysql-3.22.32-pc-linux-gnu-i686/include -I/server/bind/src/include -I/server/bind/src/port/linux/include -c main.c
> In file included from main.c:12:
> sqlbind.h:72: parse error before `ns_updrec'
> sqlbind.h:72: warning: no semicolon at end of struct or union
> sqlbind.h:74: parse error before `}'
> main.c: In function `main':
> main.c:101: dereferencing pointer to incomplete type
> main.c:102: dereferencing pointer to incomplete type
> main.c:104: dereferencing pointer to incomplete type
> make: *** [main.o] Error 1
>
> helppppppp.... whats wrong ????
>
> Thanks................... Mike...............



More information about the bind-users mailing list