Hi guys,
when i try to compile mod-midgard1.4beta7 it gives me a lengthy error.

---------------------
/usr/local/apache/bin/apxs -c -DHAVE_MANDRAKE=1 -DHAVE_LIBMIDGARD=1 -DHAVE
_MIDGARD_H=1  -Iyes/include -I/usr/lib/glib/include  -lcrypt  -L/usr/lib/m
ysql -L/usr/local/lib -L/usr/lib -lglib -lmidgard mod_midgard.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED
_MODULE -I/usr/local/apache/include -Iyes/include
-I/usr/lib/glib/include-DHAVE_MANDRAKE=1 -DHAVE_LIBMIDGARD=1
-DHAVE_MIDGARD_H=1  -c mod_midgard.c
In file included from /usr/include/sys/select.h:28,
                 from /usr/local/apache/include/ap_config.h:1094,
                 from /usr/local/apache/include/httpd.h:71,
                 from /usr/local/include/mgd_apache.h:3,
                 from mod_midgard.c:24:
/usr/include/bits/types.h:95:25: warning: "__NFDBITS" redefined
/usr/include/linux/posix_types.h:22:1: warning: this is the location of th
e previous definition
/usr/include/bits/types.h:97:17: warning: "__FDMASK" redefined
/usr/include/linux/posix_types.h:34:1: warning: this is the location of th
e previous definition
In file included from /usr/include/sys/select.h:31,
                 from /usr/local/apache/include/ap_config.h:1094,
                 from /usr/local/apache/include/httpd.h:71,
                 from /usr/local/include/mgd_apache.h:3,
                 from mod_midgard.c:24:
/usr/include/bits/select.h:26:19: warning: "__FD_ZERO" redefined
/usr/include/asm/posix_types.h:61:1: warning: this is the location of
theprevious definition
/usr/include/bits/select.h:37:18: warning: "__FD_SET" redefined
/usr/include/asm/posix_types.h:43:1: warning: this is the location of
theprevious definition
/usr/include/bits/select.h:42:18: warning: "__FD_CLR" redefined
/usr/include/asm/posix_types.h:48:1: warning: this is the location of
theprevious definition
/usr/include/bits/select.h:47:20: warning: "__FD_ISSET" redefined
/usr/include/asm/posix_types.h:53:1: warning: this is the location of
theprevious definition
In file included from /usr/local/apache/include/ap_config.h:1094,
                 from /usr/local/apache/include/httpd.h:71,
                 from /usr/local/include/mgd_apache.h:3,
                 from mod_midgard.c:24:
/usr/include/sys/select.h:63:15: warning: "FD_SET" redefined
/usr/include/linux/time.h:69:1: warning: this is the location of the previ
ous definition
/usr/include/sys/select.h:64:15: warning: "FD_CLR" redefined
/usr/include/linux/time.h:70:1: warning: this is the location of the previ
ous definition
/usr/include/sys/select.h:65:17: warning: "FD_ISSET" redefined
/usr/include/linux/time.h:71:1: warning: this is the location of the previ
ous definition
/usr/include/sys/select.h:66:16: warning: "FD_ZERO" redefined
/usr/include/linux/time.h:72:1: warning: this is the location of the previ
ous definition
In file included from /usr/include/sys/select.h:29,
                 from /usr/local/apache/include/ap_config.h:1095,
                 from /usr/local/apache/include/httpd.h:72,
                 from /usr/local/include/mgd_apache.h:4,
                 from mod_midgard.c:25:
/usr/include/bits/types.h:32: warning: redefinition of `__u_char'
/usr/include/gnu/types.h:25: warning: `__u_char' previously declared here
/usr/include/bits/types.h:33: warning: redefinition of `__u_short'
/usr/include/gnu/types.h:26: warning: `__u_short' previously declared here
/usr/include/bits/types.h:34: warning: redefinition of `__u_int'
/usr/include/gnu/types.h:27: warning: `__u_int' previously declared here
/usr/include/bits/types.h:35: warning: redefinition of `__u_long'
/usr/include/gnu/types.h:28: warning: `__u_long' previously declared
here/usr/include/bits/types.h:61: conflicting types for `__dev_t'
/usr/include/gnu/types.h:39: previous declaration of `__dev_t'
/usr/include/bits/types.h:62: conflicting types for `__uid_t'
/usr/include/gnu/types.h:41: previous declaration of `__uid_t'
/usr/include/bits/types.h:63: conflicting types for `__gid_t'
/usr/include/gnu/types.h:40: previous declaration of `__gid_t'
/usr/include/bits/types.h:64: warning: redefinition of `__ino_t'
/usr/include/gnu/types.h:48: warning: `__ino_t' previously declared here
/usr/include/bits/types.h:65: conflicting types for `__mode_t'
/usr/include/gnu/types.h:42: previous declaration of `__mode_t'
/usr/include/bits/types.h:66: conflicting types for `__nlink_t'
/usr/include/bits/types.h:81: conflicting types for `__daddr_t'
/usr/include/gnu/types.h:43: previous declaration of `__daddr_t'
/usr/include/bits/types.h:82: warning: redefinition of `__caddr_t'
/usr/include/gnu/types.h:68: warning: `__caddr_t' previously declared
here/usr/include/bits/types.h:83: warning: redefinition of `__time_t'
/usr/include/gnu/types.h:50: warning: `__time_t' previously declared here
/usr/include/bits/types.h:84: warning: redefinition of `__swblk_t'
/usr/include/gnu/types.h:69: warning: `__swblk_t' previously declared
here/usr/include/bits/types.h:111: conflicting types for `__fd_set'
/usr/include/gnu/types.h:86: previous declaration of `__fd_set'
In file included from /usr/local/apache/include/ap_config.h:1095,
                 from /usr/local/apache/include/httpd.h:72,
                 from /usr/local/include/mgd_apache.h:4,
                 from mod_midgard.c:25:
/usr/include/sys/select.h:48: warning: redefinition of `fd_mask'
/usr/include/sys/types.h:16: warning: `fd_mask' previously declared here
/usr/include/sys/select.h:51: conflicting types for `fd_set'
/usr/include/linux/types.h:9: previous declaration of `fd_set'
/usr/include/sys/select.h:76: conflicting types for `__select'
/usr/include/sys/time.h:55: previous declaration of `__select'
/usr/include/sys/select.h:79: conflicting types for `select'
/usr/include/sys/time.h:58: previous declaration of `select'
apxs:Break: Command failed with rc=1
make: *** [mod_midgard.so] Error 1
------------------------------

Since it said apxs broke i tried to compile apache again and it alse gives me
the same error.

Can anyone please point me the error.

thanks in advance

regards
dushy





-- 
Dushyanth Harinath
Programmer
http://www.archeanit.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to