[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Not able to compile 2.0.2 (snprintfv)
From: |
Markus Fritsche |
Subject: |
[Help-smalltalk] Not able to compile 2.0.2 (snprintfv) |
Date: |
Thu, 11 Jul 2002 21:22:37 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 |
Hi!
When I want to compile 2.0.2 under linux, the headerfiles aren't
generated properly. That's the interesting part of the file:
/* Code: */
#ifndef FILAMENT_H
#define FILAMENT_H 1
#include <snprintfv/compat.h>
#ifdef __cplusplus
extern "C" {
#if 0
/* This brace is so that emacs can still indent properly: */ }
#endif
#endif /* __cplusplus */
#ifndef COMPILING_FILAMENT_C
# ifdef __STDC__
/**
make:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -c filament.c
-Wp,-MD,.deps/filament.TPlo -o filament.o
In file included from filament.c:85:
filament.h:40: unterminated `#if' conditional
make[5]: *** [filament.lo] Error 1
make[5]: Leaving directory
`/home/mfritsche/smalltalk-2.0.2/snprintfv/snprintfv'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/mfritsche/smalltalk-2.0.2/snprintfv/snprintfv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mfritsche/smalltalk-2.0.2/snprintfv'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mfritsche/smalltalk-2.0.2/snprintfv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mfritsche/smalltalk-2.0.2'
make: *** [all] Error 2
When I try to compile using cygwin, there is another error:
gcc-2 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -c format.c
-Wp,-MD,.deps/format.TPlo -o format.o
format.c: In function `print_float':
format.c:350: `DBL_MANT_DIG' undeclared (first use in this function)
format.c:350: (Each undeclared identifier is reported only once
format.c:350: for each function it appears in.)
format.c:457: `DBL_MIN_EXP' undeclared (first use in this function)
format.c:464: `DBL_MAX_EXP' undeclared (first use in this function)
format.c:604: parse error before `char'
format.c:623: `q' undeclared (first use in this function)
format.c:629: `x' undeclared (first use in this function)
format.c: In function `float_specifier_handler':
format.c:952: `DBL_MAX_10_EXP' undeclared (first use in this function)
format.c:952: size of array `buffer' has non-integer type
format.c: In function `number_specifier_handler':
format.c:1112: warning: left shift count >= width of type
make[5]: *** [format.lo] Error 1
make[5]: Leaving directory
`/usr/bin/%USERPROFILE%/smalltalk-2.0.2/snprintfv/snprintfv'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/usr/bin/%USERPROFILE%/smalltalk-2.0.2/snprintfv/snprintfv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/bin/%USERPROFILE%/smalltalk-2.0.2/snprintfv'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/bin/%USERPROFILE%/smalltalk-2.0.2/snprintfv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/bin/%USERPROFILE%/smalltalk-2.0.2'
make: *** [all] Error 2
Regards, Markus
- [Help-smalltalk] Not able to compile 2.0.2 (snprintfv),
Markus Fritsche <=