rendered paste body#ifndef _STDINT_H
#define _STDINT_H
/* Exact-width integer types */
#ifndef __int8_t_defined
#define __int8_t_defined
typedef signed char int8_t;
typedef short int16_t;
typedef long int32_t;
typedef long long int64_t;
#endif
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
#ifndef __uint32_t_defined
#define __uint32_t_defined
typedef unsigned long uint32_t;
#endif
typedef unsigned long long uint64_t;
==================================
Administrator@LIFEBOOK /tmp : chicken-setup random-mtzig
/usr/local/bin/csc -feature compiling-extension -C -D__int8_t_defined -C -D__uint32_t_defined -O -d2 -X easyffi -s -o random-mtzig.so -check-imports -emit-exports random-mtzig.exports random-mtzig.scm randmtzig.c -lchicken -ldl -lm
Error: during expansion of (foreign-parse ...) - do not know how to compute length of foreign type argument: (pointer "uint32_t")
Call history:
<eval> (append strs (quote ("\n")))
<eval> (check-c-syntax (string-concatenate strs) (quote foreign-declare))
<eval> (string-concatenate strs)
<eval> (every string? strs)
<eval> (##sys#list (quote ##core#declare) (##sys#list (quote quote) (##sys#cons (quote foreign-declare) str......
<eval> (##sys#list (quote quote) (##sys#cons (quote foreign-declare) strs))
<eval> (##sys#cons (quote foreign-declare) strs)
<syntax> (##core#declare (quote (foreign-declare "\n\ntypedef int randmtzig_idx_type;\n\ntypedef signed char...
<syntax> (begin (##core#undefined))
<syntax> (##core#undefined)
<syntax> (foreign-parse "\n\ntypedef int randmtzig_idx_type;\n\ntypedef signed char randmtzig_int8_t;\ntyped...
<eval> (append strs (quote ("\n")))
<eval> (every string? strs)
<eval> (##sys#cons (quote begin) (parse-easy-ffi (string-concatenate strs)))
<eval> (parse-easy-ffi (string-concatenate strs))
<eval> (string-concatenate strs) <--
*** Shell command terminated with exit status 70: /usr/local/bin/chicken random-mtzig.scm -output-file random-mtzig.c -dynamic -feature chicken-compile-shared -quiet -feature compiling-extension -optimize-level 1 -debug-level 2 -extend easyffi -check-imports -emit-exports random-mtzig.exports
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -feature compiling-extension -C -D__int8_t_defined -C -D__u...
70
Administrator@LIFEBOOK /tmp :