vext01 / hgd

Hackathon Gunther Daemon :: Opensource Multi-User Jukebox
http://hgd.theunixzoo.co.uk
ISC License
22 stars 10 forks source link

Python warnings during build #99

Closed reashlin closed 12 years ago

reashlin commented 13 years ago

Just done a build on an archaic Fedora build (see inline), notice in particular the Python warnings.

$ make cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -c -o common.o common.c cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -c -o net.o net.c cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -c -o cfg.o cfg.c cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' \ -lssl -lcrypto -ldl -lz -lbsd -lconfig \ -o hgdc common.o net.o cfg.o hgdc.c cc -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -c -o py.o py.c cc -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' \ -c -o mplayer.o mplayer.c cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -c -o db.o db.c cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -c -o crypto.o crypto.c cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' \ -c -o admin.o admin.c admin.c: In function ‘hgd_acmd_rm_admin’: admin.c:178: warning: return makes integer from pointer without a cast cc -I/usr/include/taglib -ltag_c -ltag \ -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -lsqlite3 -lssl -lcrypto -ldl -lz \ -lbsd -lconfig -lpthread -ldl -lutil -lm -lpython2.6 -L/usr/lib -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv\ -o hgd-netd py.o mplayer.o cfg.o common.o db.o net.o \ crypto.o admin.o hgd-netd.c In file included from /usr/include/python2.6/pyconfig.h:6, from /usr/include/python2.6/Python.h:8, from hgd-netd.c:22: /usr/include/python2.6/pyconfig-64.h:1070:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from /usr/include/libconfig.h:42, from cfg.h:21, from hgd-netd.c:19: /usr/include/features.h:162:1: warning: this is the location of the previous definition In file included from /usr/include/python2.6/pyconfig.h:6, from /usr/include/python2.6/Python.h:8, from hgd-netd.c:22: /usr/include/python2.6/pyconfig-64.h:1082:1: warning: "_XOPEN_SOURCE" redefined In file included from /usr/include/stdio.h:28, from /usr/include/libconfig.h:42, from cfg.h:21, from hgd-netd.c:19: /usr/include/features.h:164:1: warning: this is the location of the previous definition cc -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -lsqlite3 \ -lssl -lcrypto -ldl -lz -lpthread -ldl -lutil -lm -lpython2.6 -L/usr/lib -lbsd \ -lconfig -o hgd-playd db.o common.o \ crypto.o py.o mplayer.o cfg.o hgd-playd.c In file included from /usr/include/python2.6/pyconfig.h:6, from /usr/include/python2.6/Python.h:8, from hgd-playd.c:22: /usr/include/python2.6/pyconfig-64.h:1070:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from /usr/include/libconfig.h:42, from cfg.h:21, from hgd-playd.c:19: /usr/include/features.h:162:1: warning: this is the location of the previous definition In file included from /usr/include/python2.6/pyconfig.h:6, from /usr/include/python2.6/Python.h:8, from hgd-playd.c:22: /usr/include/python2.6/pyconfig-64.h:1082:1: warning: "_XOPEN_SOURCE" redefined In file included from /usr/include/stdio.h:28, from /usr/include/libconfig.h:42, from cfg.h:21, from hgd-playd.c:19: /usr/include/features.h:164:1: warning: this is the location of the previous definition cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' \ -lsqlite3 -lssl -lcrypto -ldl -lz -lbsd \ -lconfig -lpthread -ldl -lutil -lm -lpython2.6 -L/usr/lib -o hgd-admin \ common.o net.o admin.o crypto.o db.o mplayer.o py.o \ cfg.o hgd-admin.c cc -DPREFIX='"/usr/local"' -Wall -DBUILD_DIR='"/home/robert/src/hgd"' -DDATAROOTDIR='"/usr/local/share"' -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -lpthread -ldl -lutil -lm -lpython2.6 -L/usr/lib \ -lssl -lcrypto -ldl -lz \ -lsqlite3 -lbsd db.o \ common.o py.o crypto.o hgd-mk-pydoc.c -o hgd-mk-pydoc

vext01 commented 13 years ago

this seems to be a linux thing.

vext01 commented 12 years ago

does not break anything deferring

vext01 commented 12 years ago

fixed with a shitty hack