[Chilli] rpmbuild problem in centos
Ben
benjo11111 at gmail.com
Wed Nov 21 10:22:05 UTC 2012
Hi,
I am trying to build rpm from spec file as per site information. While
build i got below error,
/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -Wall
-Werror -fno-builtin -fno-strict-aliasing -O2 -fomit-frame-pointer
-funroll-loops -pipe -I../bstring -DDEFCHILLICONF='"/etc/chilli.conf"'
-DDEFPIDFILE='"/var/run/chilli.pid"' -DDEFSTATEDIR='"/var/run"'
-DSBINDIR='"/usr/sbin"' -O2 -g -o chilli_radconfig main-radconfig.o
libchilli.la ../bstring/libbstring.la -lssl -lcrypto -lrt
libtool: link: gcc -D_GNU_SOURCE -Wall -Werror -fno-builtin
-fno-strict-aliasing -O2 -fomit-frame-pointer -funroll-loops -pipe
-I../bstring -DDEFCHILLICONF=\"/etc/chilli.conf\"
-DDEFPIDFILE=\"/var/run/chilli.pid\" -DDEFSTATEDIR=\"/var/run\"
-DSBINDIR=\"/usr/sbin\" -O2 -g -o .libs/chilli_radconfig
main-radconfig.o ./.libs/libchilli.so ../bstring/.libs/libbstring.so
-lssl -lcrypto -lrt -Wl,-rpath -Wl,/usr/lib64
gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -Wall -Werror -fno-builtin
-fno-strict-aliasing -O2 -fomit-frame-pointer -funroll-loops -pipe
-I../bstring -DDEFCHILLICONF='"/etc/chilli.conf"'
-DDEFPIDFILE='"/var/run/chilli.pid"' -DDEFSTATEDIR='"/var/run"'
-DSBINDIR='"/usr/sbin"' -O2 -g -MT main-opt.o -MD -MP -MF
.deps/main-opt.Tpo -c -o main-opt.o main-opt.c
cc1: warnings being treated as errors
main-opt.c: In function 'main':
main-opt.c:781: error: 'ptr' may be used uninitialized in this function
make[3]: *** [main-opt.o] Error 1
make[3]: Leaving directory `/root/rpmbuild/BUILD/coova-chilli-1.3.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/coova-chilli-1.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/coova-chilli-1.3.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.KiJKs5 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.KiJKs5 (%build)
Is there any dependency problem here or ?
OS : centos 6.2 64 bit
coovachilli : 1.3.0
BR
Ben
More information about the Chilli
mailing list