Hello,

I'm currently looking to deploy mod_mbox on a SuSE 10 server, and I'm having some issues getting the package to compile. I'm hoping that someone might be able to shed some light on the issue.

mod_mbox_util-mod-mbox-util.o: In function `scan_dir':
/root/mod_mbox/module-2.0/mod-mbox-util.c:162: undefined reference to `ap_strstr' /root/mod_mbox/module-2.0/mod-mbox-util.c:207: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mod-mbox-util.c:217: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mod-mbox-util.c:226: undefined reference to `ap_strrchr' ./.libs/libmboxutil.a(libmboxutil_la-mbox_parse.o): In function `mbox_parse_cte_header': /root/mod_mbox/module-2.0/mbox_parse.c:1190: undefined reference to `ap_strstr' /root/mod_mbox/module-2.0/mbox_parse.c:1201: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mbox_parse.c:1204: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mbox_parse.c:1207: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mbox_parse.c:1191: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mbox_parse.c:1194: undefined reference to `ap_strchr' ./.libs/libmboxutil.a(libmboxutil_la-mbox_parse.o):/root/mod_mbox/module-2.0/mbox_parse.c:1197: more undefined re
ferences to `ap_strchr' follow
./.libs/libmboxutil.a(libmboxutil_la-mbox_parse.o): In function `parse_from': /root/mod_mbox/module-2.0/mbox_parse.c:470: undefined reference to `ap_strrchr' /root/mod_mbox/module-2.0/mbox_parse.c:462: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mbox_parse.c:477: undefined reference to `ap_strchr' /root/mod_mbox/module-2.0/mbox_parse.c:481: undefined reference to `ap_strchr' ./.libs/libmboxutil.a(libmboxutil_la-mbox_parse.o): In function `mbox_fillbuf': /root/mod_mbox/module-2.0/mbox_parse.c:103: undefined reference to `ap_strchr' ./.libs/libmboxutil.a(libmboxutil_la-mbox_parse.o): In function `mbox_bgets': /root/mod_mbox/module-2.0/mbox_parse.c:144: undefined reference to `ap_strchr' ./.libs/libmboxutil.a(libmboxutil_la-mbox_parse.o):/root/mod_mbox/module-2.0/mbox_parse.c:152: more undefined ref
erences to `ap_strchr' follow
./.libs/libmboxutil.a(libmboxutil_la-mbox_parse.o): In function `mbox_generate_index': /root/mod_mbox/module-2.0/mbox_parse.c:855: undefined reference to `ap_strstr' /root/mod_mbox/module-2.0/mbox_parse.c:860: undefined reference to `ap_strstr' /root/mod_mbox/module-2.0/mbox_parse.c:850: undefined reference to `ap_strstr'
collect2: ld returned 1 exit status
make[2]: *** [mod-mbox-util] Error 1
make[2]: Leaving directory `/root/mod_mbox/module-2.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/mod_mbox/module-2.0'
make: *** [all-recursive] Error 1

Those functions appear to be defined within httpd.h of the apache2-devel package, which is installed.

The system is running the suse version of Apache 2.2.3. I previously compiled mod_mbox on a Debian Etch system with the same apache version with no issues.

Do you have any suggestions for things to check for?

--
Greg

Reply via email to