[cups.bugs] [HIGH] STR #1936: Compiling impossible

Thomas Bork knuffelmail at gmx.de
Sun Aug 27 09:30:43 PDT 2006


[STR New]

Compiling 8.15.2 (pre3 from trunk) from trunk is not possible.

Configured with:

export CFLAGS='-O2 -march=i486 -fomit-frame-pointer'
../configure \
--target=i486-pc-linux-gnu \
--prefix=/usr/local \
--enable-compile-inits \
--with-fontpath=/usr/local/share/ghostscript/fonts \
--with-ijs \
--with-gimp-print \
--without-omni \
--with-libiconv=gnu \
--without-x

make ends with:

../obj/echogs -a ./obj/devs.tr - ./obj/libcore
gcc -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 -I./src -o ./obj/genarch ./src/genarch.c
../src/genarch.c:33:26: gsfix-setjmp.h: No such file or directory
../src/genarch.c: In function `main':
../src/genarch.c:118: error: syntax error before "jmp_buf"
../src/genarch.c:118: warning: no semicolon at end of struct or union
../src/genarch.c:89: warning: unused variable `fname'
../src/genarch.c:90: warning: unused variable `one'
../src/genarch.c:94: warning: unused variable `ss'
../src/genarch.c:98: warning: unused variable `si'
../src/genarch.c:102: warning: unused variable `sl'
../src/genarch.c:106: warning: unused variable `sp'
../src/genarch.c:110: warning: unused variable `sf'
../src/genarch.c:114: warning: unused variable `sd'
../src/genarch.c: At top level:
../src/genarch.c:119: warning: type defaults to `int' in declaration of
`sj'
../src/genarch.c:119: warning: data definition has no type or storage class
../src/genarch.c:121: error: initializer element is not constant
../src/genarch.c:121: error: initializer element is not constant
../src/genarch.c:124: error: initializer element is not constant
../src/genarch.c:124: error: initializer element is not constant
../src/genarch.c:137: error: `fname' undeclared here (not in a function)
../src/genarch.c:137: error: initializer element is not constant
../src/genarch.c:139: error: syntax error before "if"
../src/genarch.c:143: error: syntax error before string constant
../src/genarch.c:143: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:143: warning: function declaration isn't a prototype
../src/genarch.c:143: error: conflicting types for 'fprintf'
../src/genarch.c:143: note: a parameter list with an ellipsis can't match
an empty parameter name list declaration
/usr/include/stdio.h:274: error: previous declaration of 'fprintf' was
here
../src/genarch.c:143: error: conflicting types for 'fprintf'
../src/genarch.c:143: note: a parameter list with an ellipsis can't match
an empty parameter name list declaration
/usr/include/stdio.h:274: error: previous declaration of 'fprintf' was
here
../src/genarch.c:143: warning: data definition has no type or storage class
../src/genarch.c:144: error: syntax error before string constant
../src/genarch.c:144: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:144: warning: function declaration isn't a prototype
../src/genarch.c:144: warning: data definition has no type or storage class
../src/genarch.c:148: error: syntax error before '.' token
../src/genarch.c:149: warning: type defaults to `int' in declaration of
`floats_are_IEEE'
../src/genarch.c:152: error: initializer element is not constant
../src/genarch.c:152: warning: data definition has no type or storage class
../src/genarch.c:154: error: syntax error before string constant
../src/genarch.c:154: warning: type defaults to `int' in declaration of
`section'
../src/genarch.c:154: warning: function declaration isn't a prototype
../src/genarch.c:154: error: conflicting types for 'section'
../src/genarch.c:40: error: previous definition of 'section' was here
../src/genarch.c:154: warning: data definition has no type or storage class
../src/genarch.c:157: error: syntax error before string constant
../src/genarch.c:158: error: syntax error before string constant
../src/genarch.c:159: error: syntax error before string constant
../src/genarch.c:160: error: syntax error before string constant
../src/genarch.c:161: error: syntax error before string constant
../src/genarch.c:162: error: syntax error before string constant
../src/genarch.c:163: error: syntax error before string constant
../src/genarch.c:166: error: syntax error before string constant
../src/genarch.c:166: warning: type defaults to `int' in declaration of
`section'
../src/genarch.c:166: warning: function declaration isn't a prototype
../src/genarch.c:166: warning: data definition has no type or storage class
../src/genarch.c:168: error: syntax error before string constant
../src/genarch.c:169: error: syntax error before string constant
../src/genarch.c:170: error: syntax error before string constant
../src/genarch.c:171: error: syntax error before string constant
../src/genarch.c:172: error: syntax error before string constant
../src/genarch.c:173: error: syntax error before string constant
../src/genarch.c:174: error: syntax error before string constant
../src/genarch.c:177: error: syntax error before string constant
../src/genarch.c:177: warning: type defaults to `int' in declaration of
`define_int'
../src/genarch.c:177: warning: function declaration isn't a prototype
../src/genarch.c:177: error: conflicting types for 'define_int'
../src/genarch.c:63: error: previous definition of 'define_int' was here
../src/genarch.c:177: warning: data definition has no type or storage class
../src/genarch.c:186: error: syntax error before string constant
../src/genarch.c:189: error: syntax error before string constant
../src/genarch.c:189: warning: type defaults to `int' in declaration of
`section'
../src/genarch.c:189: warning: function declaration isn't a prototype
../src/genarch.c:189: warning: data definition has no type or storage class
../src/genarch.c:203: error: syntax error before string constant
../src/genarch.c:203: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:203: warning: function declaration isn't a prototype
../src/genarch.c:203: warning: data definition has no type or storage class
../src/genarch.c:203: error: syntax error before "sizeof"
../src/genarch.c:203: error: syntax error before string constant
../src/genarch.c:203: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:203: warning: function declaration isn't a prototype
../src/genarch.c:203: warning: data definition has no type or storage class
../src/genarch.c:204: error: syntax error before string constant
../src/genarch.c:204: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:204: warning: function declaration isn't a prototype
../src/genarch.c:204: warning: data definition has no type or storage class
../src/genarch.c:204: error: syntax error before "sizeof"
../src/genarch.c:204: error: syntax error before string constant
../src/genarch.c:204: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:204: warning: function declaration isn't a prototype
../src/genarch.c:204: warning: data definition has no type or storage class
../src/genarch.c:209: error: syntax error before string constant
../src/genarch.c:209: warning: type defaults to `int' in declaration of
`define'
../src/genarch.c:209: warning: function declaration isn't a prototype
../src/genarch.c:209: error: conflicting types for 'define'
../src/genarch.c:57: error: previous definition of 'define' was here
../src/genarch.c:209: warning: data definition has no type or storage class
../src/genarch.c:210: error: syntax error before string constant
../src/genarch.c:210: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:210: warning: function declaration isn't a prototype
../src/genarch.c:210: warning: data definition has no type or storage class
../src/genarch.c:211: error: syntax error before string constant
../src/genarch.c:211: warning: type defaults to `int' in declaration of
`define'
../src/genarch.c:211: warning: function declaration isn't a prototype
../src/genarch.c:211: warning: data definition has no type or storage class
../src/genarch.c:212: error: syntax error before string constant
../src/genarch.c:212: warning: type defaults to `int' in declaration of
`fprintf'
../src/genarch.c:212: warning: function declaration isn't a prototype
../src/genarch.c:212: warning: data definition has no type or storage class
../src/genarch.c:215: error: syntax error before string constant
../src/genarch.c:215: warning: type defaults to `int' in declaration of
`section'
../src/genarch.c:215: warning: function declaration isn't a prototype
../src/genarch.c:215: warning: data definition has no type or storage class
../src/genarch.c:235: error: syntax error before "while"
../src/genarch.c:237: warning: type defaults to `int' in declaration of
`t_eps'
../src/genarch.c:237: error: conflicting types for 't_eps'
../src/genarch.c:228: error: previous declaration of 't_eps' was here
../src/genarch.c:237: error: initializer element is not constant
../src/genarch.c:237: warning: data definition has no type or storage class
../src/genarch.c:238: error: syntax error before "while"
../src/genarch.c:256: error: syntax error before string constant
../src/genarch.c:256: warning: type defaults to `int' in declaration of
`define_int'
../src/genarch.c:256: warning: function declaration isn't a prototype
../src/genarch.c:256: warning: data definition has no type or storage class
../src/genarch.c:274: error: syntax error before string constant
../src/genarch.c:274: warning: type defaults to `int' in declaration of
`define_int'
../src/genarch.c:274: warning: function declaration isn't a prototype
../src/genarch.c:274: warning: data definition has no type or storage class
../src/genarch.c:277: error: syntax error before string constant
../src/genarch.c:277: warning: type defaults to `int' in declaration of
`section'
../src/genarch.c:277: warning: function declaration isn't a prototype
../src/genarch.c:277: warning: data definition has no type or storage class
../src/genarch.c:279: error: syntax error before string constant
../src/genarch.c:282: error: syntax error before string constant
../src/genarch.c:283: error: syntax error before string constant
../src/genarch.c:291: warning: type defaults to `int' in declaration of
`ars'
../src/genarch.c:293: error: initializer element is not constant
../src/genarch.c:293: warning: data definition has no type or storage class
../src/genarch.c:294: error: syntax error before string constant
../src/genarch.c:294: warning: type defaults to `int' in declaration of
`define_int'
../src/genarch.c:294: warning: function declaration isn't a prototype
../src/genarch.c:294: warning: data definition has no type or storage class
../src/genarch.c:299: error: syntax error before string constant
../src/genarch.c:299: warning: type defaults to `int' in declaration of
`define_int'
../src/genarch.c:299: warning: function declaration isn't a prototype
../src/genarch.c:299: warning: data definition has no type or storage class
../src/genarch.c:304: error: syntax error before string constant
../src/genarch.c:304: warning: type defaults to `int' in declaration of
`define_int'
../src/genarch.c:304: warning: function declaration isn't a prototype
../src/genarch.c:304: warning: data definition has no type or storage class
../src/genarch.c:308: warning: type defaults to `int' in declaration of
`fclose'
../src/genarch.c:308: warning: parameter names (without types) in function
declaration
../src/genarch.c:308: warning: data definition has no type or storage class
../src/genarch.c:309: error: syntax error before "return"
../src/genarch.c:40: warning: 'section' defined but not used
../src/genarch.c:46: warning: 'time_clear' defined but not used
../src/genarch.c:57: warning: 'define' defined but not used
../src/genarch.c:63: warning: 'define_int' defined but not used
../src/genarch.c:69: warning: 'print_ffs' defined but not used
../src/genarch.c:78: warning: 'ilog2' defined but not used
make: *** [obj/genarch] Error 1

Link: http://www.cups.org/str.php?L1936
Version: 8.15.2





More information about the cups-devel mailing list