|
|
last edited 16 years ago by japp |
1 2 3 | ||
Editor:
Time: 2007/11/17 21:54:58 GMT-8 |
||
Note: Solution found |
changed: - src/hyper has a build failure in hthits.c[.pamphlet]. There is a reference to "loc2", which is undeclared anywhere else in the source tree. The compile failure is: 63 making /home/ports/math/axiom/work/axiom-0.0/obj/freebsd/hyper/hthits.o from /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c: In function `main': /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c:116: warning: implicit declaration of function `compile' /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c: In function `handleFile': /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c:192: warning: long int format, time_t arg (arg 4) /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c: In function `searchPage': /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c:360: warning: implicit declaration of function `step' /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c:363: error: `loc2' undeclared (first use in this function) /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c:363: error: (Each undeclared identifier is reported only once /home/ports/math/axiom/work/axiom-0.0/int/hyper/hthits.c:363: error: for each function it appears in.) gmake[3]: *** [/home/ports/math/axiom/work/axiom-0.0/obj/freebsd/hyper/hthits.o] Error 1 gmake[3]: Leaving directory `/home/ports/math/axiom/work/axiom-0.0/src/hyper' gmake[2]: *** [hyperdir] Error 2 From markm Wed Mar 16 03:47:41 -0600 2005 From: markm Date: Wed, 16 Mar 2005 03:47:41 -0600 Subject: More on this Message-ID: <20050316034741-0600@page.axiom-developer.org> If I kludge this by removing the line that (seems to) erroneously refer to "loc2", then I get a link failure when step() and compile() are not found: linking /home/ports/math/axiom/work/axiom-0.0/mnt/freebsd/lib/hthits /home/ports/math/axiom/work/axiom-0.0/obj/freebsd/hyper/hthits.o(.text+0x239): In function `searchPage': : undefined reference to `step' /home/ports/math/axiom/work/axiom-0.0/obj/freebsd/hyper/hthits.o(.text+0x832): In function `main': : undefined reference to `compile' gmake[3]: *** [/home/ports/math/axiom/work/axiom-0.0/mnt/freebsd/lib/hthits] Error 1 gmake[3]: Leaving directory `/home/ports/math/axiom/work/axiom-0.0/src/hyper' gmake[2]: *** [hyperdir] Error 2 gmake[2]: Leaving directory `/home/ports/math/axiom/work/axiom-0.0/src' gmake[1]: *** [srcdir] Error 2 gmake[1]: Leaving directory `/home/ports/math/axiom/work/axiom-0.0' gmake: *** [all] Error 2 *** Error code 2 From markm Thu Mar 17 13:29:51 -0600 2005 From: markm Date: Thu, 17 Mar 2005 13:29:51 -0600 Subject: Solution found Message-ID: <20050317132951-0600@page.axiom-developer.org> It turns out this is rather old Sun regexp code. I found an _old_ manpage that describes step(), compile, loc1 and loc2, and I'll redo the offending function to use something a bit more modern and POSIX-compliant.
src/hyper has a build failure in hthits.c[.pamphlet]?. There is a reference to "loc2", which is undeclared anywhere else in the source tree.
The compile failure is:
linking /home/ports/math/axiom/work/axiom-0.0/mnt/freebsd/lib/hthits /home/ports/math/axiom/work/axiom-0.0/obj/freebsd/hyper/hthits.o(.text+0x239): In function `searchPage': : undefined reference to `step' /home/ports/math/axiom/work/axiom-0.0/obj/freebsd/hyper/hthits.o(.text+0x832): In function `main': : undefined reference to `compile' gmake[3]?: *** [/home/ports/math/axiom/work/axiom-0.0/mnt/freebsd/lib/hthits]? Error 1 gmake[3]?: Leaving directory `/home/ports/math/axiom/work/axiom-0.0/src/hyper' gmake[2]?: *** [hyperdir]? Error 2 gmake[2]?: Leaving directory `/home/ports/math/axiom/work/axiom-0.0/src' gmake[1]?: *** [srcdir]? Error 2 gmake[1]?: Leaving directory `/home/ports/math/axiom/work/axiom-0.0' gmake: *** [all]? Error 2 *** Error code 2
It turns out this is rather old Sun regexp code.I found an old manpage that describes step(), compile, loc1 and loc2, and I'll redo the offending function to use something a bit more modern and POSIX-compliant.