Compiliation problem on 1.3.6

John john at jcoppens.com
Mon Mar 17 18:30:58 PDT 2008


> Trying to compile stable 1.3.6, using GCC 4.1.2 produces:
>
> ...
> Compiling testnotify.c...
> Linking testnotify...
> Making all in pdftops...
> Compiling Annot.cxx...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> make[1]: *** [Annot.o] Error 1
> make: *** [all] Error 1
>
> No idea what to do about that. Looking around gcc info, I found that this is actually gcc option, (including 'man gcc' shows it), but no idea why it fails on compiling CUPS.
>
> Suggestions appreciated.
> John
>

Sorry for the noise. I didn't remember that last time I recompiled the
GCC compiler I only compiled GCC itself. G++ was still version 3.4.2,
and doesn't have the stack-protector option. I guess configure didn't detect
that, but then this is hardly a normal case (different versions of gcc/g++).

Anyway, after installing the entire gcc package version 4.2.3,
all is well.

Again apologies for the report.
John





More information about the cups-devel mailing list