[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mkinitrd src.rpm



On Thu, Jan 17, 2008 at 02:02:17PM -0800, gjohnson5 wrote:
> 
> making /usr/home/gjohnson/rpmbuild/BUILD/mkinitrd-6.0.28/nash/version.h
> gcc -Wall -Werror -g -D_FORTIFY_SOURCE=2 -Wno-unused-function -fPIC
             ^^^^^^
....
> cc1: warnings being treated as errors
         ^^^^^^^^^^^^^^^^^^^^^^^^
> procdev.h:67: error: inline function 'getDevsFromProc' declared but never
> defined
....
> error: Bad exit status from /var/tmp/rpm-tmp.9586 (%build)

Unless getDevsFromProc is _used_ somewhere without beeing defined
drop '-Werror' from your compilation command and this will rebuild.

     Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]