[cups.bugs] [MOD] STR #1936: Compiling impossible
Thomas Bork
knuffelmail at gmx.de
Sun Aug 27 14:21:05 PDT 2006
Michael Sweet schrieb:
> What operating system?
www.eisfair.org
Linux deveis 2.4.26-1 #15 Sun Oct 24 22:54:01 CEST 2004 i686 pentium4
i386 GNU/Linux
> What compiler?
deveis 1.3.1 # gcc --version
gcc (GCC) 3.4.5
> Have you tried updating to the latest sources? Current trunk does not use
> gsfix-stdjmp.h...
With revision 182:
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes
-Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings
-fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned
long long" -O2 -march=i486 -fomit-frame-pointer -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1
-DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1
-DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1
-DHAVE_ST_BLOCKS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_LONG_INT=4
-DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBM=1 -DUSE_LIBICONV_GNU=1
-DHAVE_LIBDL=1 -DHAVE_JPEGLIB_H=1 -DDONT_HAVE_JMEMSYS_H=1
-DHAVE_ZLIB_H=1 -DHAVE_PNG_H=1 -DHAVE_FREETYPE=1 -DX_DISPLAY_MISSING=1
-DHAVE_MKSTEMP=1 -DHAVE_HYPOT=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1
-DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1
-DRETSIGTYPE=void -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_VPRINTF=1
-DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETTIMEOFDAY=1
-DHAVE_MEMCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1
-DHAVE_MKFIFO=1 -DHAVE_MODF=1 -DHAVE_POW=1 -DHAVE_PUTENV=1 -DHAVE_RINT=1
-DHAVE_SETENV=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1
-DHAVE_STRRCHR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1 -I./obj -I./src -O2
-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -march=i486
-fomit-frame-pointer -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTT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obj/sdctc.o -c
../src/sdctc.c
In file included from ./src/sdctc.c:24:
../src/sdct.h:24:45: gsfix-setjmp.h: No such file or directory
In file included from ./src/sdctc.c:24:
../src/sdct.h:61: error: syntax error before "jmp_buf"
../src/sdct.h:61: warning: no semicolon at end of struct or union
../src/sdct.h:62: error: syntax error before '}' token
../src/sdct.h:62: warning: type defaults to `int' in declaration of
`jpeg_stream_data'
../src/sdct.h:62: warning: data definition has no type or storage class
../src/sdct.h:73: error: syntax error before "jmp_buf"
../src/sdct.h:73: warning: no semicolon at end of struct or union
../src/sdct.h:79: error: syntax error before '}' token
../src/sdct.h:79: warning: type defaults to `int' in declaration of
`jpeg_compress_data'
../src/sdct.h:79: warning: data definition has no type or storage class
../src/sdct.h:87: error: syntax error before "jmp_buf"
../src/sdct.h:87: warning: no semicolon at end of struct or union
../src/sdct.h:97: error: syntax error before '}' token
../src/sdct.h:97: warning: type defaults to `int' in declaration of
`jpeg_decompress_data'
../src/sdct.h:97: warning: data definition has no type or storage class
../src/sdct.h:117: error: syntax error before "jpeg_stream_data"
../src/sdct.h:117: warning: no semicolon at end of struct or union
../src/sdct.h:117: warning: no semicolon at end of struct or union
../src/sdct.h:118: warning: type defaults to `int' in declaration of
`compress'
../src/sdct.h:118: warning: data definition has no type or storage class
../src/sdct.h:119: error: syntax error before '*' token
../src/sdct.h:119: warning: type defaults to `int' in declaration of
`decompress'
../src/sdct.h:119: warning: data definition has no type or storage class
../src/sdct.h:120: error: syntax error before '}' token
../src/sdct.h:120: warning: type defaults to `int' in declaration of `data'
../src/sdct.h:120: warning: data definition has no type or storage class
../src/sdct.h:127: error: syntax error before '}' token
../src/sdct.h:127: warning: type defaults to `int' in declaration of
`stream_DCT_state'
../src/sdct.h:127: warning: data definition has no type or storage class
../src/sdctc.c:26: error: syntax error before ')' token
../src/sdctc.c:26: error: syntax error before ')' token
../src/sdctc.c:26: error: initializer element is not constant
../src/sdctc.c:26: error: (near initialization for `dct_enum_ptrs[0].offset')
../src/sdctc.c:26: error: initializer element is not constant
../src/sdctc.c:26: error: (near initialization for `dct_enum_ptrs[0]')
../src/sdctc.c:26: error: syntax error before ')' token
../src/sdctc.c:26: error: syntax error before ')' token
../src/sdctc.c:26: error: initializer element is not constant
../src/sdctc.c:26: error: (near initialization for `dct_enum_ptrs[1].offset')
../src/sdctc.c:26: error: initializer element is not constant
../src/sdctc.c:26: error: (near initialization for `dct_enum_ptrs[1]')
../src/sdctc.c: In function `s_DCT_set_defaults':
../src/sdctc.c:32: error: syntax error before "const"
../src/sdctc.c:34: error: `ss' undeclared (first use in this function)
../src/sdctc.c:34: error: (Each undeclared identifier is reported only once
../src/sdctc.c:34: error: for each function it appears in.)
make: *** [obj/sdctc.o] Error 1
--
der tom
More information about the cups
mailing list