Mailing List Archive

uclibc compile failure
hello all

compiling stable and dev versions of rsyslog against uclibc-0.9.30
results in the following error:


/home/build/project/sources/rsyslog-3.21.9/tools/syslogd.c:2995:
undefined reference to `rpl_malloc'
rsyslogd-syslogd.o: In function `legacyOptsEnq':
/home/build/project/sources/rsyslog-3.21.9/tools/syslogd.c:1742:
undefined reference to `rpl_malloc'
rsyslogd-syslogd.o: In function `crunch_list':
/home/build/project/sources/rsyslog-3.21.9/tools/syslogd.c:490:
undefined reference to `rpl_malloc'
/home/build/project/sources/rsyslog-3.21.9/tools/syslogd.c:502:
undefined reference to `rpl_malloc'
/home/build/project/sources/rsyslog-3.21.9/tools/syslogd.c:512:
undefined reference to `rpl_malloc'
rsyslogd-syslogd.o:/home/build/project/sources/rsyslog-3.21.9/tools/syslogd.c:1319:
more undefined references to `rpl_malloc' follow
../runtime/.libs/librsyslog.a(librsyslog_la-wtp.o): In function `wtpStartWrkr':
/home/build/project/sources/rsyslog-3.21.9/runtime/wtp.c:487:
undefined reference to `pthread_yield'
../runtime/.libs/librsyslog.a(librsyslog_la-wtp.o): In function
`wtpConstructFinalize':
/home/build/project/sources/rsyslog-3.21.9/runtime/wtp.c:109:
undefined reference to `rpl_malloc'
../runtime/.libs/librsyslog.a(librsyslog_la-wti.o): In function `wtiSetDbgHdr':
/home/build/project/sources/rsyslog-3.21.9/runtime/wti.c:456:
undefined reference to `rpl_malloc'
../runtime/.libs/librsyslog.a(librsyslog_la-wti.o): In function `wtiWorker':
/home/build/project/sources/rsyslog-3.21.9/runtime/wti.c:370:
undefined reference to `pthread_yield'
../runtime/.libs/librsyslog.a(librsyslog_la-queue.o): In function
`queueAddLinkedList':
/home/build/project/sources/rsyslog-3.21.9/runtime/queue.c:528:
undefined reference to `rpl_malloc'
/home/build/project/sources/rsyslog-3.21.9/runtime/queue.c:528:
undefined reference to `rpl_malloc'
../runtime/.libs/librsyslog.a(librsyslog_la-queue.o): In function
`qConstructFixedArray':
/home/build/project/sources/rsyslog-3.21.9/runtime/queue.c:459:
undefined reference to `rpl_malloc'
../runtime/.libs/librsyslog.a(librsyslog_la-queue.o): In function
`queueSetFilePrefix':
/home/build/project/sources/rsyslog-3.21.9/runtime/queue.c:2081:
undefined reference to `rpl_malloc'
../runtime/.libs/librsyslog.a(librsyslog_la-queue.o): In function `queueStart':
/home/build/project/sources/rsyslog-3.21.9/runtime/queue.c:1794:
undefined reference to `rpl_malloc'
../runtime/.libs/librsyslog.a(librsyslog_la-threads.o):/home/build/project/sources/rsyslog-3.21.9/runtime/../threads.c:60:
more undefined references to `rpl_malloc' follow

I recompiled uclibc with MALLOC_GLIBC_COMPAT=y but the result was the
same. The only reference to this that I can find is in the rsyslog bug
tracker but the patch listed there does not allow it to compile. Just
wondering if anybody has a working patch or suggestion.

TIA

-Frank
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com