Compile question

George Daflidis-Kotsis gdk at demon.net
Thu Mar 27 14:09:04 EET 2003


On Thu, Mar 27, 2003 at 01:52:46PM +0200, Thomas wrote:

> prospathw na kanw compile tin libcss0.1.0.1 kai mou bgazei to parakatw minima 
> kai stamata :
> 
> ...
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/src/linux/include -g -O2 
> -pipe -Wall -Werror -O6 -fomit-frame-pointer -funroll-all-loops 
> -D__OPTIMIZE__ -D__USE_STRING_INLINES -c css_descramble.c  -fPIC -DPIC -o 
> .libs/css_descramble.lo
> cc1: warnings being treated as errors
> css_descramble.c: In function `CSSDescramble':
> css_descramble.c:260: warning: operation on `sec' may be undefined
> make[2]: *** [css_descramble.lo] Error 1
> make[2]: Leaving directory `/home/thomas/Desktop/Trash/libcss-0.1.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/thomas/Desktop/Trash/libcss-0.1.0'
> make: *** [all-recursive-am] Error 2
> (kai stamata ...)
> 
> egw kanw(apo root) :
> $> rpm --rebuild libcss-0.1.0-1.src.rpm
> 
> episis exw katebasei kai to   .tar.gz alla pali ta idia
> 
> mporei na mou pei kapoios pws allazw tin epilogi pou exei : 
> "cc1: warnings being treated as errors" i telos pantos pws tha kataferw na to 
> compilarw??

to -Werror einai o pio katallhlos upopshfios nomizw, xwris na koita3w to
man page.

Kai ontws:

---(snip)---
-Werror
       Treat warnings as errors; abort compilation after any warning.
---(snip)---

-- 
[george daflidis-kotsis - systems admin,web/e-commerce - gdk at demon.net]



More information about the Linux-greek-users mailing list