Hi, I'm trying to compile 0.99.14 for the PowerPC under LTIB (Freescale cross-compile framework). I'm getting the following error(s):
*** Warning: Linking the shared library libplugin_phpcgi.la against the loadable module *** libplugin_file.so is not portable! (cd .libs && rm -f libplugin_ip_hash.la && ln -s ../libplugin_ip_hash.la libplugin_ip_hash.la) main.o: In function `do_spawn': /home/rwalsh05/LTIB/cmn100/rpm/BUILD/cherokee-0.99.14/cherokee/main.c:327: undefined reference to `rpl_malloc' /home/rwalsh05/LTIB/cmn100/rpm/BUILD/cherokee-0.99.14/cherokee/main.c:336: undefined reference to `rpl_malloc' main.o: In function `pid_file_clean': /home/rwalsh05/LTIB/cmn100/rpm/BUILD/cherokee-0.99.14/cherokee/main.c:273: undefined reference to `rpl_malloc' main.o: In function `figure_worker_path': /home/rwalsh05/LTIB/cmn100/rpm/BUILD/cherokee-0.99.14/cherokee/main.c:89: undefined reference to `rpl_malloc' /home/rwalsh05/LTIB/cmn100/rpm/BUILD/cherokee-0.99.14/cherokee/main.c:108: undefined reference to `rpl_malloc' main.o:/home/rwalsh05/LTIB/cmn100/rpm/BUILD/cherokee-0.99.14/cherokee/main.c:116: more undefined references to `rpl_malloc' follow collect2: ld returned 1 exit status make[2]: *** [cherokee] Error 1 make[2]: *** Waiting for unfinished jobs.... I found the following in my config.log file, so I'm wondering how rpl_malloc() gets defined from util.c/h | #define HAVE_MALLOC 0 | #define malloc rpl_malloc I'm going to ask the cross-compiler crowd why it would fail that test but, is not having the libc malloc/realloc a showstopper? Any tips are appreciated. -- Thanks, Rick Walsh [email protected]
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
