x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -O2 -march=nocona -pipe -fomit-frame-pointer -Wall -ansi -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c make preload make[3]: Entering directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3/src' x86_64-pc-linux-gnu-gcc -O2 -march=nocona -pipe -fomit-frame-pointer -Wall -ansi -Wl,-O1,--hash-style=gnu,--as-needed -o preload cmdline.o conf.o log.o spy.o preload.o proc.o prophet.o readahead.o state.o -lm -lglib-2.0 mv -f .deps/readahead.Tpo .deps/readahead.Po . gen.preload.conf.sh preload.conf.in confkeys.h > preload.conf spy.o: In function `running_exe_inc_time': spy.c:(.text+0x10): undefined reference to `state' spy.o: In function `preload_spy_update_model': spy.c:(.text+0x60): undefined reference to `state' spy.c:(.text+0x66): undefined reference to `state' spy.c:(.text+0x78): undefined reference to `state' spy.c:(.text+0x8a): undefined reference to `preload_markov_foreach' spy.c:(.text+0x90): undefined reference to `state' spy.c:(.text+0x96): undefined reference to `state' <snip>
Created attachment 170317 [details] build.log
Created attachment 171044 [details, diff] use-ac-config-files.patch
Created attachment 171045 [details, diff] use-help2man-as-usual.patch
Created attachment 171047 [details, diff] use-make-dependencies.patch
need to apply, test, commit
I no longer use this application and have dropped maintainer-ship.
Jeremy, I plan to apply these patches locally and, after some testing, commit them but, since you didn't commit them, I am not sure if they are safe enough or something more needs to be checked. Thanks for the info
I remember looking at them, but didn't get around to using them. These patches are courtesy of flameeyes.
OK (give thanks to Diego from my part ;-)), I will try to use them as soon as I am able to Thanks
(In reply to comment #2) > Created an attachment (id=171044) [details] > use-ac-config-files.patch > This patch breaks variable substitution in logrotate and init.d files, getting things like "${exec_prefix}/sbin/preload" and "${localstatedir}/log/preload.log" Diego, could you please take a look to it? Maybe "sed" call shouldn't be dropped Thanks a lot
+ 06 Sep 2010; Pacho Ramos <pacho@gentoo.org> preload-0.6.4-r1.ebuild, + +files/preload-0.6.4-use-help2man-as-usual.patch, + +files/preload-0.6.4-use-make-dependencies.patch: + Apply Flameeyes' patches to fix parallel compilation (bug #244966 by + Jeremy Olexa). Also use 'elog' instead of 'einfo' and drop old 'eerror' + message. Move to EAPI 2. +