Compile mcproxy over ipcop

27 views
Skip to first unread message

shar...@t-online.de

unread,
Apr 4, 2016, 10:08:23 AM4/4/16
to Multicast Proxy
Hi,
when i compile mcproxy i have the problem.The program qmake not haunted in ipcop.I do not want to install, because it has too many dependencies. What kan I do if I want instalieren mcproxy?

Thanks for helping

Sebastian Wölke

unread,
Apr 4, 2016, 10:24:19 AM4/4/16
to Multicast Proxy, shar...@t-online.de
Hello,

yes qmake can be a plague.
you could download Mcproxy to another computer, where the qmake dependencies are not a problem and generate a Makefile with qmake and simply use this Makefile.
I tried it, after deleting line 251 from the Makefile, it worked on my computer.
I also attached the Makefile to this message.

Or, you could use this repository (https://github.com/mcproxy/mcproxy/tree/OpenWRT/uClibc), there is already a Makefile attached.

Regards,
Sebastian
Makefile

shar...@t-online.de

unread,
Apr 5, 2016, 3:51:32 AM4/5/16
to Multicast Proxy, shar...@t-online.de
Hi,

here are my error messages of the IPCop:
make[1]: Entering directory '/usr/src/mcproxy-1.1.0'
g++ -c -m64 -pipe -std=c++11 -O2 -Wall -W -fPIE  -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -o main.o $
g++ -c -m64 -pipe -std=c++11 -O2 -Wall -W -fPIE  -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -o hamcast$
g++ -c -m64 -pipe -std=c++11 -O2 -Wall -W -fPIE  -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -o mc_sock$
cc1plus: error: unrecognized command line option "-std=c++11"
src/hamcast_logging.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
cc1plus: error: unrecognized command line option "-std=c++11"
src/main.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
cc1plus: error: unrecognized command line option "-std=c++11"
src/utils/mc_socket.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
Makefile:378: recipe for target 'mc_socket.o' failed
make[1]: *** [mc_socket.o] Error 1

Thanks for helping

shar...@t-online.de

unread,
Apr 5, 2016, 3:51:42 AM4/5/16
to Multicast Proxy, shar...@t-online.de
Hi,
how i can compile mcproxy for the 32 Bit System?


Thanks for helping

Am Montag, 4. April 2016 16:08:23 UTC+2 schrieb shar...@t-online.de:
Hi,
when i compile mcproxy i have the problem.The program qmake not haunted in ipcop.I do not want to install, because it has too many dependencies. What kan I do if I want install mcproxy?

Thanks for helping

Sebastian Wölke

unread,
Apr 5, 2016, 4:49:15 AM4/5/16
to Multicast Proxy, shar...@t-online.de
Hi,

It is a g++ version of 4.8 or greater required, as Mcproxy is written in c++11 and your compiler is probably to old.
And your Makefile runs your g++ compiler with the -m64 flag, you should delete it.

Or, you could try the OpenWRT version (https://github.com/mcproxy/mcproxy/tree/OpenWRT/uClibc), which can be handled by an older compiler, and has an more simple Makefile.

Regards
Sebastian
Reply all
Reply to author
Forward
0 new messages