|
From: Robert K. <rl...@al...> - 2017-02-16 14:00:29
|
On Thu, 16 Feb 2017 14:41:54 +0100, Thomas Tornblom wrote: > Den 2017-02-16 kl. 14:15, skrev Robert Krawitz: >> On Thu, 16 Feb 2017 11:46:08 +0100, Thomas Tornblom wrote: >>> Thanks Gernot. >>> >>> I get some compile errors when trying to build the current dev >>> version on Solaris 11.3 with gcc 4.8. >>> >>> 1) I had to use: >>> --- >>> env CFLAGS=-std=c99 ./configure >>> --- >>> >>> to make configure happy. >> >> What does 'man strcasecmp' say you need for include files? I'm >> compiling with gcc 4.8.5 on openSUSE 42.2 and not having any problem. > > Only: #include <strings.h> > > As I could build it with "developerstudio" I assume it is some issue > with the gcc I have installed, even though it is installed from > Oracles repo. If it isn't matching the man page, you may want to contact support about this and maybe get a bug filed. > It seems to be related to "-std=c99". If I use that with 5.2.12 I > get the same error. Without it I get this error for 5.2.13: > --- > Making all in src > gmake[2]: Entering directory `/usr/local/src/gutenprint/gimp-print-source-40e406ba358115908a2b83d32b0852dde550d287/src' > Making all in main > gmake[3]: Entering directory `/usr/local/src/gutenprint/gimp-print-source-40e406ba358115908a2b83d32b0852dde550d287/src/main' > CC array.lo > In file included from /usr/include/stdio.h:15:0, > from ../../include/gutenprint/gutenprint.h:46, > from array.c:27: > /usr/include/sys/feature_tests.h:354:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications" > #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \ > ^ > gmake[3]: *** [array.lo] Error 1 > gmake[3]: Leaving directory `/usr/local/src/gutenprint/gimp-print-source-40e406ba358115908a2b83d32b0852dde550d287/src/main' > gmake[2]: *** [all-recursive] Error 1 -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |