ACCEPT_KEYWORDS="~x86" As part of emerge --update world, which would upgrade from httrack ver 3.30, which is already installed: gcc -shared htscore.lo htsparse.lo htsback.lo htscache.lo htscatchurl.lo htsfilters.lo htsftp.lo htshash.lo htsinthash.lo htshelp.lo htsjava.lo htslib.lo htscoremain.lo htsname.lo htsrobots.lo htstools.lo htswizard.lo htsalias.lo htsthread.lo htsindex.lo htsbauth.lo htsmd5.lo htszlib.lo htsnostatic.lo htswrap.lo htsmodules.lo md5.lo ioapi.lo mztools.lo unzip.lo zip.lo -L/usr/lib -lpthread -ldl -lz -Wl,-soname -Wl,libhttrack.so.1 -o .libs/libhttrack.so.1.0.32 htsserver.o(.text+0x52dd): In function `smallserver': /var/tmp/portage/httrack-3.32.2/work/httrack-3.32.03/src/htsserver.c:906: undefined reference to `hts_getcategories' htsserver.o(.text+0x52f0):/var/tmp/portage/httrack-3.32.2/work/httrack-3.32.03/src/htsserver.c:907: undefined reference to `hts_getcategories' collect2: ld returned 1 exit status make[2]: *** [htsserver] Error 1 make[2]: *** Waiting for unfinished jobs.... (cd .libs && rm -f libhttrack.so.1 && ln -s libhttrack.so.1.0.32 libhttrack.so.1) (cd .libs && rm -f libhttrack.so && ln -s libhttrack.so.1.0.32 libhttrack.so) ar cru .libs/libhttrack.a htscore.o htsparse.o htsback.o htscache.o htscatchurl.o htsfilters.o htsftp.o htshash.o htsinthash.o htshelp.o htsjava.o htslib.o htscoremain.o htsname.o htsrobots.o htstools.o htswizard.o htsalias.o htsthread.o htsindex.o htsbauth.o htsmd5.o htszlib.o htsnostatic.o htswrap.o htsmodules.o md5.o ioapi.o mztools.o unzip.o zip.o ranlib .libs/libhttrack.a creating libhttrack.la (cd .libs && rm -f libhttrack.la && ln -s ../libhttrack.la libhttrack.la) make[2]: Leaving directory `/var/tmp/portage/httrack-3.32.2/work/httrack-3.32.03/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/httrack-3.32.2/work/httrack-3.32.03' make: *** [all] Error 2 !!! ERROR: net-www/httrack-3.32.2 failed. !!! Function src_compile, Line 19, Exitcode 2 !!! make failed ----------- A grep in the work directory on hts_getcategories returns: htsserver.c: char* profiles = hts_getcategories(rpath, 0); htsserver.c: char* categ = hts_getcategories(rpath,1 ); Binary file htsserver.o matches htstools.c:HTSEXT_API char* hts_getcategories(char* path, int type) { Binary file htstools.lo matches Binary file htstools.o matches httrack-library.h:HTSEXT_API char* hts_getcategories(char* path, int type);
I was able to get a compile by unmerging the older version of httrack.
I ran into this problem myself. Package is not parallel build capable, added -j1. Fixed in CVS. Thanks for reporting.
I still had to remove the old httrack also before I could get this to work. This does not seem to have to do with parallel building. I'd wager this has to do with an include path problem with an old header sticking around.