Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27310 - [gutenprint] doesn't build

Attached to Project: Arch Linux
Opened by Andrea Scarpino (BaSh) - Monday, 28 November 2011, 19:40 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 29 November 2011, 16:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072 -Disfinite=finite -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O6 -MT commandtoepson.o -MD -MP -MF .deps/commandtoepson.Tpo -c -o commandtoepson.o commandtoepson.c
commandtoepson.c: In function 'main':
commandtoepson.c:51:3: error: unknown type name 'FILE'
commandtoepson.c:68:5: error: implicit declaration of function 'fputs' [-Werror=implicit-function-declaration]
commandtoepson.c:68:78: error: 'stderr' undeclared (first use in this function)
commandtoepson.c:68:78: note: each undeclared identifier is reported only once for each function it appears in
commandtoepson.c:78:5: error: implicit declaration of function 'fopen' [-Werror=implicit-function-declaration]
commandtoepson.c:78:5: warning: nested extern declaration of 'fopen' [-Wnested-externs]
commandtoepson.c:78:13: warning: assignment makes pointer from integer without a cast [enabled by default]
commandtoepson.c:80:7: error: implicit declaration of function 'perror' [-Werror=implicit-function-declaration]
commandtoepson.c:80:7: warning: nested extern declaration of 'perror' [-Wnested-externs]
commandtoepson.c:85:10: error: 'stdin' undeclared (first use in this function)
commandtoepson.c:91:3: error: implicit declaration of function 'fwrite' [-Werror=implicit-function-declaration]
commandtoepson.c:91:3: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
commandtoepson.c:91:3: error: 'stdout' undeclared (first use in this function)
commandtoepson.c:104:3: error: implicit declaration of function 'fgets' [-Werror=implicit-function-declaration]
commandtoepson.c:104:3: warning: nested extern declaration of 'fgets' [-Wnested-externs]
commandtoepson.c:104:40: warning: comparison between pointer and integer [enabled by default]
commandtoepson.c:150:7: error: implicit declaration of function 'putchar' [-Werror=implicit-function-declaration]
commandtoepson.c:180:7: error: implicit declaration of function 'sscanf' [-Werror=implicit-function-declaration]
commandtoepson.c:180:11: warning: incompatible implicit declaration of built-in function 'sscanf' [enabled by default]
commandtoepson.c:182:9: error: implicit declaration of function 'fprintf' [-Werror=implicit-function-declaration]
commandtoepson.c:182:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
commandtoepson.c:194:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
commandtoepson.c:225:5: error: implicit declaration of function 'fclose' [-Werror=implicit-function-declaration]
commandtoepson.c:225:5: warning: nested extern declaration of 'fclose' [-Wnested-externs]
cc1: some warnings being treated as errors

make[3]: *** [commandtoepson.o] Error 1
make[3]: Leaving directory `/build/src/gutenprint-5.2.7/src/cups'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/gutenprint-5.2.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/gutenprint-5.2.7'
make: *** [all] Error 2

Additional info:
* gutenprint 5.2.7-2

Steps to reproduce:
Try to build it
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 29 November 2011, 16:35 GMT
Reason for closing:  Fixed

Loading...