[q-lang-users] q-7.5 fails build under OpenBSD
Brought to you by:
agraef
From: Julian F. <mip...@ya...> - 2006-10-02 01:22:27
|
I build it with just CFLAGS="-L/usr/local/lib -I/usr/local/include -Os -pipe -mcpu=xscale" ./configure gmake and then the build breaks down; gmake[4]: Entering directory `/usr/ports/jul/q-7.5/modules/clib' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -I/usr/local/include -L/usr /local/lib -pipe -Os -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libq -I../../glob - I../../regex -g -O2 -MT clib.lo -MD -MP -MF ".deps/clib.Tpo" -c -o clib.lo cl ib.c; \ then mv -f ".deps/clib.Tpo" ".deps/clib.Plo"; else rm -f ".deps/clib.Tpo"; exit 1; fi mkdir .libs gcc -I/usr/local/include -L/usr/local/lib -pipe -Os -DHAVE_CONFIG_H -I. -I. -I. ./.. -I../../libq -I../../glob -I../../regex -g -O2 -MT clib.lo -MD -MP -MF .dep s/clib.Tpo -c clib.c -fPIC -DPIC -o .libs/clib.o In file included from clib.c:63: /usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, use <stdli b.h>" clib.c: In function `ictowcs': clib.c:693: warning: passing arg 2 of `libiconv' from incompatible pointer type clib.c: In function `icfromwcs': clib.c:714: warning: passing arg 2 of `libiconv' from incompatible pointer type clib.c: In function `__F__clib_sys_vars': clib.c:1907: error: `ERA' undeclared (first use in this function) clib.c:1907: error: (Each undeclared identifier is reported only once clib.c:1907: error: for each function it appears in.) clib.c:1908: error: `ERA_D_T_FMT' undeclared (first use in this function) clib.c:1909: error: `ERA_D_FMT' undeclared (first use in this function) clib.c:1910: error: `ERA_T_FMT' undeclared (first use in this function) clib.c:1912: error: `ALT_DIGITS' undeclared (first use in this function) clib.c: In function `__F__clib_iconv': clib.c:9182: warning: passing arg 2 of `libiconv' from incompatible pointer type gmake[4]: *** [clib.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/jul/q-7.5/modules/clib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/jul/q-7.5/modules/clib' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/jul/q-7.5/modules' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/jul/q-7.5' gmake: *** [all] Error 2 I've tried to hack around this before, removing two instances of those variables, and the result is a silent failure later in the build process, running a Q program. So I'd like to solve this properly. Any ideas? Any information you'd like? Thanks, Julian Fondren __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |