Yup, sorry, that's me, working on it now. You can disable which externals are build as part of the whole package in externals/ Makefile, check out the "LIB_TARGETS".
.hc
On May 7, 2008, at 6:01 AM, Tim wrote:
Tried to compile pd-extended-0.40.3, got some error in hidio. Looks perhaps like hidio's problem. Any thoughts? As a quick fix, is there some easy way to disable building of certain externals?
cc -DPD -O2 -mcpu=i686 -march=i386 -I/home/me/pd-extended/pd/src - Wall -W -ggdb -DUNIX -Dunix -fPIC -o "/home/me/pd-extended/externals /hcs/hid/input_arrays.o" -c "/home/me/pd-extended/externals/hcs/hid/ input_ arrays.c" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. cc -DPD -O2 -mcpu=i686 -march=i386 -I/home/me/pd-extended/pd/src - Wall -W -ggdb -DUNIX -Dunix -fPIC -o "/home/me/pd-extended/ externals/hcs/hid/hid_linux.o" -c "/home/me/pd-extended/externals/ hcs/hid/hid_linux .c" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_convert_linux_buttons_to_numbers': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:68: warning: the address of 'hid_code' will always evaluate as 'true' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_print_device_list': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:270: warning: the address of 'dev_handle_name' will always evaluate as 'true' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_open_device': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:445: warning: the address of 'block_device' will always evaluate as 'true' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_platform_specific_free': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:537: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'get_device_number_by_id': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:571: warning: unused parameter 'vendor_id' /home/me/pd-extended/externals/hcs/hid/hid_linux.c:571: warning: unused parameter 'product_id' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'get_device_number_from_usage': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:577: warning: unused parameter 'device_number' /home/me/pd-extended/externals/hcs/hid/hid_linux.c:578: warning: unused parameter 'usage_page' /home/me/pd-extended/externals/hcs/hid/hid_linux.c:579: warning: unused parameter 'usage' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_autocenter': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:592: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c:592: warning: unused parameter 'value' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_gain': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:598: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c:598: warning: unused parameter 'value' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_motors': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:604: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c:604: warning: unused parameter 'value' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_continue': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:610: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_pause': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:616: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_reset': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:622: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_stopall': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:628: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_fftest': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:636: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c:636: warning: unused parameter 'value' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_ff_print': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:642: warning: unused parameter 'x' /home/me/pd-extended/externals/hcs/hid/hid_linux.c: In function 'hid_platform_specific_info': /home/me/pd-extended/externals/hcs/hid/hid_linux.c:555: warning: 'my_id.vendor' is used uninitialized in this function /home/me/pd-extended/externals/hcs/hid/hid_linux.c:559: warning: 'my_id.product' is used uninitialized in this function cc -DPD -O2 -mcpu=i686 -march=i386 -I/home/me/pd-extended/pd/src - Wall -W -ggdb -DUNIX -Dunix -fPIC -o "/home/me/pd-extended/ externals/hcs/hid/hid.o" -c "/home/me/pd-extended/externals/hcs/hid/ hid.c" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. /home/me/pd-extended/externals/hcs/hid/hid.c: In function 'hid_read': /home/me/pd-extended/externals/hcs/hid/hid.c:363: warning: unused parameter 'fd' /home/me/pd-extended/externals/hcs/hid/hid.c: In function 'hid_debug': /home/me/pd-extended/externals/hcs/hid/hid.c:413: warning: unused parameter 'x' cc -Wl,-export_dynamic -shared -o /home/me/pd-extended/externals/ hcs/hid/hid.pd_linux \ /home/me/pd-extended/externals/hcs/hid/ input_arrays.o /home/me/pd-extended/externals/hcs/hid/ hid_linux.o /home/me/pd-extended/externals/hcs/hid/hid.o -lm -lc cc -DPD -O2 -mcpu=i686 -march=i386 -I/home/me/pd-extended/pd/src - Wall -W -ggdb -DUNIX -Dunix -fPIC -o "/home/me/pd-extended/ externals/io/hidio/input_arrays.o" -c "/home/me/pd-extended/ externals/io/hidio/inpu t_arrays.c" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. cc -DPD -O2 -mcpu=i686 -march=i386 -I/home/me/pd-extended/pd/src - Wall -W -ggdb -DUNIX -Dunix -fPIC -o "/home/me/pd-extended/ externals/io/hidio/hidio_linux.o" -c "/home/me/pd-extended/ externals/io/hidio/hidio _linux.c" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'hidio_convert_linux_buttons_to_numbers': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:75: warning: the address of 'hidio_code' will always evaluate as 'true' /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'hidio_print_device_list': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:277: warning: the address of 'dev_handle_name' will always evaluate as 'true' /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'hidio_open_device': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:454: warning: the address of 'block_device' will always evaluate as 'true' /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'hidio_platform_specific_free': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:544: warning: unused parameter 'x' /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'get_device_number_by_id': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:578: warning: unused parameter 'vendor_id' /home/me/pd-extended/externals/io/hidio/hidio_linux.c:578: warning: unused parameter 'product_id' /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'get_device_number_from_usage': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:584: warning: unused parameter 'device_number' /home/me/pd-extended/externals/io/hidio/hidio_linux.c:585: warning: unused parameter 'usage_page' /home/me/pd-extended/externals/io/hidio/hidio_linux.c:586: warning: unused parameter 'usage' /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'hidio_write_event': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:594: warning: unused parameter 'instance' /home/me/pd-extended/externals/io/hidio/hidio_linux.c: In function 'hidio_platform_specific_info': /home/me/pd-extended/externals/io/hidio/hidio_linux.c:562: warning: 'my_id.vendor' is used uninitialized in this function /home/me/pd-extended/externals/io/hidio/hidio_linux.c:566: warning: 'my_id.product' is used uninitialized in this function cc -DPD -O2 -mcpu=i686 -march=i386 -I/home/me/pd-extended/pd/src - Wall -W -ggdb -DUNIX -Dunix -fPIC -o "/home/me/pd-extended/ externals/io/hidio/hidio_types.o" -c "/home/me/pd-extended/ externals/io/hidio/hidio _types.c" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. cc -DPD -O2 -mcpu=i686 -march=i386 -I/home/me/pd-extended/pd/src - Wall -W -ggdb -DUNIX -Dunix -fPIC -o "/home/me/pd-extended/ externals/io/hidio/hidio.o" -c "/home/me/pd-extended/externals/io/ hidio/hidio.c" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. /home/me/pd-extended/externals/io/hidio/hidio.c: In function 'hidio_write_event': /home/me/pd-extended/externals/io/hidio/hidio.c:305: warning: unused parameter 's' /home/me/pd-extended/externals/io/hidio/hidio.c: In function 'hidio_debug': /home/me/pd-extended/externals/io/hidio/hidio.c:546: warning: unused parameter 'x' /home/me/pd-extended/externals/io/hidio/hidio.c: In function 'hidio_new': /home/me/pd-extended/externals/io/hidio/hidio.c:567: warning: unused parameter 's' cc -Wl,-export_dynamic -shared -o /home/me/pd-extended/externals/ io/hidio/hidio.pd_linux \ /home/me/pd-extended/externals/io/hidio/ input_arrays.o /home/me/pd-extended/externals/io/hidio/ hidio_linux.o /home/me/pd-extended/externals/io/hidio/ hidio_types.o /home/me/pd-extended/ext ernals/io/hidio/hidio.o -lm -lc /home/me/pd-extended/externals/io/hidio/hidio.o: In function `hidio_write_event': /home/me/pd-extended/externals/io/hidio/hidio.c:306: multiple definition of `hidio_write_event' /home/me/pd-extended/externals/io/hidio/hidio_linux.o:/home/me/pd- extended/externals/io/hidio/hidio_linux.c:595: first defined here collect2: ld returned 1 exit status make[2]: *** [/home/me/pd-extended/externals/io/hidio/ hidio.pd_linux] Error 1 make[2]: Leaving directory `/home/me/pd-extended/externals' make[1]: *** [externals_install] Error 2 make[1]: Leaving directory `/home/me/pd-extended/packages' make: *** [install] Error 2 _______________________________________________ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
kill your television