GNOME Bugzilla – Bug 128123
mathfunc.c doesn't compile on NetBSD/sparc-1.5
Last modified: 2004-12-22 21:47:04 UTC
This is a followup for bug #124951. I got the following compile error in Gnumeric 1.2.2 on NetBSD/sparc-1.5: <-- snip --> ... -I/usr/local/include/libgnomeprintui-2.2 -O2 -mcpu=v8 -Wall -Wmissing -prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts - Wwrite-strings -D_POSIX_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE -c mathfunc.c mathfunc.c: In function `mathfunc_init':-I/usr/local/include/libgnomeprintui-2.2 -O2 -mcpu=v8 -Wall -Wmissing -prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts - Wwrite-strings -D_POSIX_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE -c mathfunc.c mathfunc.c: In function `mathfunc_init': mathfunc.c:103: warning: implicit declaration of function `finite' mathfunc.c:146: warning: implicit declaration of function `isnan' mathfunc.c: In function `pnorm_both': mathfunc.c:549: warning: implicit declaration of function `log1p' mathfunc.c: In function `qnorm': mathfunc.c:669: warning: implicit declaration of function `expm1' mathfunc.c: In function `stirlerr': mathfunc.c:1148: warning: implicit declaration of function `lgamma' mathfunc.c: In function `qt': mathfunc.c:1969: `M_1_PI' undeclared (first use in this function) mathfunc.c:1969: (Each undeclared identifier is reported only once mathfunc.c:1969: for each function it appears in.) mathfunc.c:1928: warning: `q' might be used uninitialized in this function mathfunc.c: In function `random_01': mathfunc.c:5063: warning: implicit declaration of function `random' mathfunc.c: In function `lbeta3': mathfunc.c:6330: `signgam' undeclared (first use in this function) mathfunc.c:6312: warning: `sign_a' might be used uninitialized in this function mathfunc.c:6312: warning: `sign_b' might be used uninitialized in this function mathfunc.c:6312: warning: `sign_ab' might be used uninitialized in this function gmake[3]: *** [mathfunc.o] Error 1 gmake[3]: Leaving directory `/aux/adrian/build/gnumeric-1.2.2/src' <-- snip -->
Patch and discussion in bug 128136. *** This bug has been marked as a duplicate of 128136 ***