ostryck / MuMuDVB

MuMuDVB (A DVB IPTV streaming software) fork with added internal software descrambling capability
http://www.oscam.to/wbb3/index.php?page=Thread&threadID=15072
GNU General Public License v2.0
5 stars 2 forks source link

compiling problem #2

Open bernd1957 opened 11 years ago

bernd1957 commented 11 years ago

Hi, hope you can help me. I had running version 1.7.1 without scam support on a CentOS machine with kernel 2.632-279.5.2.e16.x86_64 without any problem. Then wanted to run a test with scam enabled. So I did first an update of CentOS with yum update. Then downloaded latest version with git clone http:/....

autoreconf -i -f ./configure --enable-scam-support make

The getting the following error as you can see hereunder. Even trying with old kernel wasn't successful. Would be nice to get some advice what could be wrong. Thanks in advance!

Bernd

MuMuDVB configure results:

Features

Build with CAM support: no Build with SCAM support: yes Build with transcoding support: no Build with ATSC long names support: no

Debugging

Build with code coverage debug symbols no Build with debugging DUMA library no [root@encoder14 mumudvb]# make Making all in src make[1]: Entering directory /root/encoder/mumu/mumudvb/src' make all-am make[2]: Entering directory/root/encoder/mumu/mumudvb/src' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT autoconf.o -MD -MP -MF .deps/autoconf.Tpo -c -o autoconf.o autoconf.c autoconf.c: In function âautoconf_initâ: autoconf.c:275: warning: implicit declaration of function ârpl_mallocâ autoconf.c:275: warning: assignment makes pointer from integer without a cast autoconf.c:284: warning: assignment makes pointer from integer without a cast autoconf.c:294: warning: assignment makes pointer from integer without a cast autoconf.c:304: warning: assignment makes pointer from integer without a cast autoconf.c:335: warning: assignment makes pointer from integer without a cast autoconf.c: In function âautoconf_find_service_for_addâ: autoconf.c:471: warning: assignment makes pointer from integer without a cast autoconf.c: In function âautoconf_services_to_channelsâ: autoconf.c:771: warning: assignment makes pointer from integer without a cast mv -f .deps/autoconf.Tpo .deps/autoconf.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT crc32.o -MD -MP -MF .deps/crc32.Tpo -c -o crc32.o crc32.c mv -f .deps/crc32.Tpo .deps/crc32.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c log.c: In function âread_logging_configurationâ: log.c:134: warning: implicit declaration of function ârpl_mallocâ log.c:134: warning: assignment makes pointer from integer without a cast log.c:147: warning: assignment makes pointer from integer without a cast log.c: In function âlog_messageâ: log.c:231: warning: assignment makes pointer from integer without a cast log.c:280: warning: assignment makes pointer from integer without a cast mv -f .deps/log.Tpo .deps/log.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT multicast.o -MD -MP -MF .deps/multicast.Tpo -c -o multicast.o multicast.c mv -f .deps/multicast.Tpo .deps/multicast.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT dvb.o -MD -MP -MF .deps/dvb.Tpo -c -o dvb.o dvb.c mv -f .deps/dvb.Tpo .deps/dvb.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT mumudvb.o -MD -MP -MF .deps/mumudvb.Tpo -c -o mumudvb.o mumudvb.c mv -f .deps/mumudvb.Tpo .deps/mumudvb.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT mumudvb_common.o -MD -MP -MF .deps/mumudvb_common.Tpo -c -o mumudvb_common.o mumudvb_common.c mumudvb_common.c: In function âmumu_string_replaceâ: mumudvb_common.c:119: warning: implicit declaration of function ârpl_mallocâ mumudvb_common.c:119: warning: assignment makes pointer from integer without a cast mumudvb_common.c:131: warning: implicit declaration of function ârpl_reallocâ mumudvb_common.c:131: warning: assignment makes pointer from integer without a cast mumudvb_common.c:149: warning: assignment makes pointer from integer without a cast mumudvb_common.c: In function âstring_computâ: mumudvb_common.c:194: warning: assignment makes pointer from integer without a cast mumudvb_common.c: In function âstring_multâ: mumudvb_common.c:219: warning: assignment makes pointer from integer without a cast mumudvb_common.c: In function âmumu_string_appendâ: mumudvb_common.c:239: warning: assignment makes pointer from integer without a cast mv -f .deps/mumudvb_common.Tpo .deps/mumudvb_common.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o network.c mv -f .deps/network.Tpo .deps/network.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT pat_rewrite.o -MD -MP -MF .deps/pat_rewrite.Tpo -c -o pat_rewrite.o pat_rewrite.c mv -f .deps/pat_rewrite.Tpo .deps/pat_rewrite.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT rewrite.o -MD -MP -MF .deps/rewrite.Tpo -c -o rewrite.o rewrite.c mv -f .deps/rewrite.Tpo .deps/rewrite.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT sdt_rewrite.o -MD -MP -MF .deps/sdt_rewrite.Tpo -c -o sdt_rewrite.o sdt_rewrite.c mv -f .deps/sdt_rewrite.Tpo .deps/sdt_rewrite.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT rtp.o -MD -MP -MF .deps/rtp.Tpo -c -o rtp.o rtp.c mv -f .deps/rtp.Tpo .deps/rtp.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT sap.o -MD -MP -MF .deps/sap.Tpo -c -o sap.o sap.c sap.c: In function âinit_sapâ: sap.c:172: warning: implicit declaration of function ârpl_mallocâ sap.c:172: warning: assignment makes pointer from integer without a cast sap.c:189: warning: assignment makes pointer from integer without a cast mv -f .deps/sap.Tpo .deps/sap.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT ts.o -MD -MP -MF .deps/ts.Tpo -c -o ts.o ts.c mv -f .deps/ts.Tpo .deps/ts.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT tune.o -MD -MP -MF .deps/tune.Tpo -c -o tune.o tune.c tune.c: In function âdo_diseqcâ: tune.c:668: warning: implicit declaration of function ârpl_mallocâ tune.c:668: warning: assignment makes pointer from integer without a cast mv -f .deps/tune.Tpo .deps/tune.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT unicast_http.o -MD -MP -MF .deps/unicast_http.Tpo -c -o unicast_http.o unicast_http.c unicast_http.c: In function âread_unicast_configurationâ: unicast_http.c:192: warning: implicit declaration of function ârpl_mallocâ unicast_http.c:192: warning: assignment makes pointer from integer without a cast unicast_http.c: In function âunicast_create_listening_socketâ: unicast_http.c:243: warning: implicit declaration of function ârpl_reallocâ unicast_http.c:243: warning: assignment makes pointer from integer without a cast unicast_http.c:256: warning: assignment makes pointer from integer without a cast unicast_http.c: In function âunicast_handle_fd_eventâ: unicast_http.c:318: warning: assignment makes pointer from integer without a cast unicast_http.c:334: warning: assignment makes pointer from integer without a cast unicast_http.c: In function âunicast_close_connectionâ: unicast_http.c:489: warning: assignment makes pointer from integer without a cast unicast_http.c:495: warning: assignment makes pointer from integer without a cast unicast_http.c: In function âunicast_handle_messageâ: unicast_http.c:525: warning: assignment makes pointer from integer without a cast unicast_http.c: In function âunicast_reply_initâ: unicast_http.c:824: warning: initialization makes pointer from integer without a cast unicast_http.c:830: warning: assignment makes pointer from integer without a cast unicast_http.c:839: warning: assignment makes pointer from integer without a cast unicast_http.c: In function âunicast_reply_writeâ: unicast_http.c:907: warning: assignment makes pointer from integer without a cast unicast_http.c: In function âunicast_reply_sendâ: unicast_http.c:951: warning: assignment makes pointer from integer without a cast mv -f .deps/unicast_http.Tpo .deps/unicast_http.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT unicast_queue.o -MD -MP -MF .deps/unicast_queue.Tpo -c -o unicast_queue.o unicast_queue.c unicast_queue.c: In function âunicast_queue_add_dataâ: unicast_queue.c:240: warning: implicit declaration of function ârpl_mallocâ unicast_queue.c:240: warning: assignment makes pointer from integer without a cast unicast_queue.c:252: warning: assignment makes pointer from integer without a cast unicast_queue.c:262: warning: assignment makes pointer from integer without a cast mv -f .deps/unicast_queue.Tpo .deps/unicast_queue.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT autoconf_sdt.o -MD -MP -MF .deps/autoconf_sdt.Tpo -c -o autoconf_sdt.o autoconf_sdt.c autoconf_sdt.c: In function âconvert_en399468_stringâ: autoconf_sdt.c:215: warning: implicit declaration of function ârpl_mallocâ autoconf_sdt.c:215: warning: assignment makes pointer from integer without a cast mv -f .deps/autoconf_sdt.Tpo .deps/autoconf_sdt.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT autoconf_atsc.o -MD -MP -MF .deps/autoconf_atsc.Tpo -c -o autoconf_atsc.o autoconf_atsc.c mv -f .deps/autoconf_atsc.Tpo .deps/autoconf_atsc.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT autoconf_pmt.o -MD -MP -MF .deps/autoconf_pmt.Tpo -c -o autoconf_pmt.o autoconf_pmt.c mv -f .deps/autoconf_pmt.Tpo .deps/autoconf_pmt.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT autoconf_nit.o -MD -MP -MF .deps/autoconf_nit.Tpo -c -o autoconf_nit.o autoconf_nit.c autoconf_nit.c: In function âparse_multilingual_network_name_descriptorâ: autoconf_nit.c:216: warning: implicit declaration of function ârpl_mallocâ autoconf_nit.c:216: warning: assignment makes pointer from integer without a cast autoconf_nit.c: In function âparse_network_name_descriptorâ: autoconf_nit.c:248: warning: assignment makes pointer from integer without a cast mv -f .deps/autoconf_nit.Tpo .deps/autoconf_nit.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT unicast_clients.o -MD -MP -MF .deps/unicast_clients.Tpo -c -o unicast_clients.o unicast_clients.c unicast_clients.c: In function âunicast_add_clientâ: unicast_clients.c:78: warning: implicit declaration of function ârpl_mallocâ unicast_clients.c:78: warning: assignment makes pointer from integer without a cast unicast_clients.c:87: warning: assignment makes pointer from integer without a cast mv -f .deps/unicast_clients.Tpo .deps/unicast_clients.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT scam_capmt.o -MD -MP -MF .deps/scam_capmt.Tpo -c -o scam_capmt.o scam_capmt.c scam_capmt.c: In function âscam_send_capmtâ: scam_capmt.c:59: warning: implicit declaration of function ârpl_mallocâ scam_capmt.c:59: warning: cast to pointer from integer of different size mv -f .deps/scam_capmt.Tpo .deps/scam_capmt.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT scam_common.o -MD -MP -MF .deps/scam_common.Tpo -c -o scam_common.o scam_common.c scam_common.c: In function âscam_channel_startâ: scam_common.c:235: warning: implicit declaration of function ârpl_mallocâ scam_common.c:235: warning: assignment makes pointer from integer without a cast scam_common.c:242: warning: assignment makes pointer from integer without a cast scam_common.c:249: warning: assignment makes pointer from integer without a cast scam_common.c:255: warning: assignment makes pointer from integer without a cast scam_common.c:260: warning: assignment makes pointer from integer without a cast mv -f .deps/scam_common.Tpo .deps/scam_common.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT scam_getcw.o -MD -MP -MF .deps/scam_getcw.Tpo -c -o scam_getcw.o scam_getcw.c mv -f .deps/scam_getcw.Tpo .deps/scam_getcw.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT scam_decsa.o -MD -MP -MF .deps/scam_decsa.Tpo -c -o scam_decsa.o scam_decsa.c mv -f .deps/scam_decsa.Tpo .deps/scam_decsa.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT scam_send.o -MD -MP -MF .deps/scam_send.Tpo -c -o scam_send.o scam_send.c mv -f .deps/scam_send.Tpo .deps/scam_send.Po gcc -std=gnu99 -Wall -Wextra -g -O2 -o mumudvb autoconf.o crc32.o log.o multicast.o dvb.o mumudvb.o mumudvb_common.o network.o pat_rewrite.o rewrite.o sdt_rewrite.o rtp.o sap.o ts.o tune.o unicast_http.o unicast_queue.o autoconf_sdt.o autoconf_atsc.o autoconf_pmt.o autoconf_nit.o unicast_clients.o scam_capmt.o scam_common.o scam_getcw.o scam_decsa.o scam_send.o -ldvbcsa -lm -lrt -lpthread autoconf.o: In function autoconf_find_service_for_add': /root/encoder/mumu/mumudvb/src/autoconf.c:471: undefined reference torpl_malloc' autoconf.o: In function autoconf_init': /root/encoder/mumu/mumudvb/src/autoconf.c:335: undefined reference torpl_malloc' /root/encoder/mumu/mumudvb/src/autoconf.c:275: undefined reference to rpl_malloc' /root/encoder/mumu/mumudvb/src/autoconf.c:284: undefined reference torpl_malloc' /root/encoder/mumu/mumudvb/src/autoconf.c:294: undefined reference to rpl_malloc' autoconf.o:/root/encoder/mumu/mumudvb/src/autoconf.c:304: more undefined references torpl_malloc' follow mumudvb.o: In function main': /root/encoder/mumu/mumudvb/src/mumudvb.c:1451: undefined reference torpl_realloc' /root/encoder/mumu/mumudvb/src/mumudvb.c:1462: undefined reference to rpl_realloc' /root/encoder/mumu/mumudvb/src/mumudvb.c:1556: undefined reference torpl_malloc' /root/encoder/mumu/mumudvb/src/mumudvb.c:1557: undefined reference to rpl_malloc' /root/encoder/mumu/mumudvb/src/mumudvb.c:1311: undefined reference torpl_malloc' /root/encoder/mumu/mumudvb/src/mumudvb.c:1565: undefined reference to rpl_malloc' /root/encoder/mumu/mumudvb/src/mumudvb.c:1333: undefined reference torpl_malloc' mumudvb_common.o: In function mumu_string_append': /root/encoder/mumu/mumudvb/src/mumudvb_common.c:239: undefined reference torpl_realloc' mumudvb_common.o: In function string_mult': /root/encoder/mumu/mumudvb/src/mumudvb_common.c:219: undefined reference torpl_malloc' mumudvb_common.o: In function string_comput': /root/encoder/mumu/mumudvb/src/mumudvb_common.c:194: undefined reference torpl_malloc' /root/encoder/mumu/mumudvb/src/mumudvb_common.c:194: undefined reference to rpl_malloc' mumudvb_common.o: In functionmumu_string_replace': /root/encoder/mumu/mumudvb/src/mumudvb_common.c:119: undefined reference to rpl_malloc' /root/encoder/mumu/mumudvb/src/mumudvb_common.c:131: undefined reference torpl_realloc' /root/encoder/mumu/mumudvb/src/mumudvb_common.c:149: undefined reference to rpl_realloc' sap.o: In functioninit_sap': /root/encoder/mumu/mumudvb/src/sap.c:189: undefined reference to rpl_malloc' /root/encoder/mumu/mumudvb/src/sap.c:172: undefined reference torpl_malloc' tune.o: In function do_diseqc': /root/encoder/mumu/mumudvb/src/tune.c:668: undefined reference torpl_malloc' unicast_http.o: In function unicast_reply_init': /root/encoder/mumu/mumudvb/src/unicast_http.c:824: undefined reference torpl_malloc' /root/encoder/mumu/mumudvb/src/unicast_http.c:830: undefined reference to rpl_malloc' unicast_http.o:/root/encoder/mumu/mumudvb/src/unicast_http.c:839: more undefined references torpl_malloc' follow unicast_http.o: In function unicast_reply_write': /root/encoder/mumu/mumudvb/src/unicast_http.c:907: undefined reference torpl_realloc' unicast_http.o: In function unicast_reply_send': /root/encoder/mumu/mumudvb/src/unicast_http.c:951: undefined reference torpl_realloc' unicast_http.o: In function unicast_handle_message': /root/encoder/mumu/mumudvb/src/unicast_http.c:525: undefined reference torpl_realloc' unicast_http.o: In function unicast_close_connection': /root/encoder/mumu/mumudvb/src/unicast_http.c:489: undefined reference torpl_realloc' /root/encoder/mumu/mumudvb/src/unicast_http.c:495: undefined reference to rpl_realloc' unicast_http.o:/root/encoder/mumu/mumudvb/src/unicast_http.c:318: more undefined references torpl_realloc' follow unicast_http.o: In function read_unicast_configuration': /root/encoder/mumu/mumudvb/src/unicast_http.c:192: undefined reference torpl_malloc' unicast_queue.o: In function unicast_queue_add_data': /root/encoder/mumu/mumudvb/src/unicast_queue.c:240: undefined reference torpl_malloc' /root/encoder/mumu/mumudvb/src/unicast_queue.c:262: undefined reference to rpl_malloc' /root/encoder/mumu/mumudvb/src/unicast_queue.c:252: undefined reference torpl_malloc' autoconf_sdt.o: In function convert_en399468_string': /root/encoder/mumu/mumudvb/src/autoconf_sdt.c:215: undefined reference torpl_malloc' autoconf_nit.o:/root/encoder/mumu/mumudvb/src/autoconf_nit.c:248: more undefined references to rpl_malloc' follow collect2: ld returned 1 exit status make[2]: *** [mumudvb] Error 1 make[2]: Leaving directory/root/encoder/mumu/mumudvb/src' make[1]: * [all] Error 2 make[1]: Leaving directory `/root/encoder/mumu/mumudvb/src' make: * [all-recursive] Error 1

ostryck commented 11 years ago

Hi. Try deleting at configure.ac followind lines 150 AC_FUNC_MALLOC 151 AC_FUNC_REALLOC

and then autoreconf again