chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] mathh trouble


From: felix winkelmann
Subject: [Chicken-users] mathh trouble
Date: Thu, 22 Jun 2006 11:06:58 +0200

Hi!

% chicken-setup
 cp -r mathh-constants.scm /usr/local/lib/chicken/1/mathh-constants.scm
 /usr/local/bin/csc -feature compiling-extension -O2 -d1 -s mathh.scm
-o mathh.so -check-imports -emit-exports mathh.exports
mathh.c: In function `stub107':
mathh.c:34: warning: implicit declaration of function `fpclassify'
mathh.c:35: error: `FP_INFINITE' undeclared (first use in this function)
mathh.c:35: error: (Each undeclared identifier is reported only once
mathh.c:35: error: for each function it appears in.)
mathh.c:38: error: `FP_NAN' undeclared (first use in this function)
mathh.c:41: error: `FP_NORMAL' undeclared (first use in this function)
mathh.c:44: error: `FP_SUBNORMAL' undeclared (first use in this function)
mathh.c:47: error: `FP_ZERO' undeclared (first use in this function)
mathh.c: In function `stub75':
mathh.c:139: warning: implicit declaration of function `log2'
mathh.c: In function `stub60':
mathh.c:163: warning: implicit declaration of function `tgamma'
*** Shell command terminated with exit status 1: gcc mathh.c -o
mathh.o -c -DHAVE_CHICKEN_CONFIG_H -g -Wall -Wno-unused -Wno-undefined
-DC_ENABLE_PTABLES -DC_STACK_GROWS_DOWNWARD=1
-DC_INSTALL_LIB_HOME="/usr/local/lib/chicken/1"
-DC_INSTALL_HOME="/usr/local/share/chicken" -DC_USE_C_DEFAULTS -fPIC
-DPIC -DC_SHARED -DC_NO_PIC_NO_DLL
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -feature compiling-extension -O2 -d1 -s mathh.scm
-o mathh....
1

Apparently the man pages fpclassify exists and is C99. There where times
when one could at least rely on what the man pages say...


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]