Just remove those command-line switches.

-fstack-protector is probably a switch to turn on the "stackguard"
compiler option, which prevents over-running the stack (a form of
attack similar to a buffer overflow). There once was a stackguarded
GCC, but AFAIK stack-guard functionality is now the default, so no
need for such a switch.

-mtune=XXX (e.g. -mtune=pentium) is to optimize the code for a certain
CPU. but if you remove this switch the program will still work, just a
bit slower. Not an issue (5% or so). Better just remove the switches
and get it working.


On 8/7/07, Noel Dave <[EMAIL PROTECTED]> wrote:
> (make error while compiling snmp-ups ..)
>
> cc1: error: unrecognized command line option "-fstack-protector"
> cc1: error: invalid parameter `ssp-buffer-size
> snmp-ups.c:1: error: bad value (generic) for -mtune= switch
> make[1]: *** [snmp-ups.o] Error 1
> make: *** [build] Error 1
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to