View previous topic :: View next topic |
Author |
Message |
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Wed Aug 08, 2018 1:02 pm Post subject: Error at compiling Player 3.0.2 [SOLVED] |
|
|
Hi i'm pretty new at Gentoo, i lost a couple of hours trying to compile Player/stage sources, i need some help every time i put make giveme this error.
Code: | carlos-pc /home/carlos/Apps/player/build # make
[ 0%] Built target playercommon
[ 0%] Generating functiontable_gen.h
[ 0%] Built target functiontable_gen
[ 1%] Generating player_interfaces.h
[ 1%] Built target player_interfaces
[ 1%] Linking C shared library libplayerreplace.so
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lWs2_32
collect2: error: ld returned 1 exit status
make[2]: *** [replace/CMakeFiles/playerreplace.dir/build.make:226: replace/libplayerreplace.so.3.0.2] Error 1
make[1]: *** [CMakeFiles/Makefile2:5930: replace/CMakeFiles/playerreplace.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
|
someone can help me please ? _________________ Studen of Mechatronics
Last edited by Yakaaz on Thu Aug 09, 2018 9:28 pm; edited 1 time in total |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Aug 08, 2018 1:15 pm Post subject: |
|
|
Hi,
It seems you need a missing library : WS2_32. The only info I see is that is a windows DLL (Windows Sockets)...
What is "Player 3.0.2" ?, can you provide a link to the source/website ? Did you get the sources for Linux?
BTW the best way to use Gentoo is to use ebuilds. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Wed Aug 08, 2018 1:21 pm Post subject: |
|
|
xaviermiller wrote: | Hi,
It seems you need a missing library : WS2_32. The only info I see is that is a windows DLL...
What is "Player 3.0.2" ?, can you provide a link to the source/website ?
BTW the best way to use Gentoo is to use ebuilds. |
http://playerstage.sourceforge.net/doc/Player-cvs/player/install.html
i know that ebuilds are more easy but my teacher don't want to. _________________ Studen of Mechatronics |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Aug 08, 2018 1:22 pm Post subject: |
|
|
Is it that: https://sourceforge.net/projects/playerstage ?
The INTALL file tells you have to run cmake first. _________________ Kind regards,
Xavier Miller
Last edited by xaviermiller on Wed Aug 08, 2018 1:25 pm; edited 1 time in total |
|
Back to top |
|
|
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Wed Aug 08, 2018 1:25 pm Post subject: |
|
|
yes it is _________________ Studen of Mechatronics |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Aug 08, 2018 1:27 pm Post subject: |
|
|
Did you first run cmake, as described in the README and INSTALL files ? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Wed Aug 08, 2018 1:29 pm Post subject: |
|
|
xaviermiller wrote: | Did you first run cmake, as described in the README and INSTALL files ? |
yes i did
mkdir build && cd build
cmake ../
make (i'm stuck here) _________________ Studen of Mechatronics |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
|
Back to top |
|
|
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Wed Aug 08, 2018 1:53 pm Post subject: |
|
|
How can i download those directories ? _________________ Studen of Mechatronics |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Aug 08, 2018 2:06 pm Post subject: |
|
|
install layman, then install the science overlay. Then sci-electronics/player will be available to emerge. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30916 Location: here
|
Posted: Wed Aug 08, 2018 2:08 pm Post subject: |
|
|
I tried to compile package (3.0.2 version) but without success. After remove ws2_32 lib there is another error, fixed this too there is problem with rpc,...
Yakaaz wrote: | How can i download those directories ? |
You should use layman or create a local overlay _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Wed Aug 08, 2018 11:51 pm Post subject: Error at compiling Player 3.0.2 |
|
|
And now this :c
Code: |
Player will be built on a x86_64-pc-linux-gnu system to run
on a x86_64-pc-linux-gnu system, with the following tools:
C compiler: x86_64-pc-linux-gnu-gcc -O2 -pipe
C++ compiler: x86_64-pc-linux-gnu-g++
Support for plugin drivers will be included.
To use the Python bindings, modify your PYTHONPATH variable to include
/usr/lib/python/$PYTHON_VERSION/site-packages
For example:
export PYTHONPATH=$PYTHONPATH:/usr/lib/python/$PYTHON_VERSION/site-packages
Python bindings to libplayerc will not be built -- disabled by user
libplayerc++ will be built
signaling included
multithreading included
The following device drivers will be included:
+ acts
+ amcl
+ amtecpowercube
+ aodv
+ bumpersafe
+ nd
+ cameracompress
+ canonvcc4
+ clodbuster
+ cmucam2
+ cmvision
+ dummy
+ er1
+ fakelocalize
+ flockofbirds
+ garminnmea
+ iwspy
+ khepera
+ laserbar
+ laserbarcode
+ lasercspace
+ laserposeinterpolator
+ laserrescan
+ lasersafe
+ laservisualbarcode
+ laservisualbw
+ linuxjoystick
+ linuxwifi
+ laserposeinterpolator
+ logfile
+ mapcspace
+ mapfile
+ mapscale
+ microstrain
+ obot
+ p2os
+ erratic
+ wbr914
+ ptu46
+ relay
+ rflex
+ sicklms200
+ sicknav200
+ sickpls
+ sicks3000
+ sonyevid30
+ urglaser
+ vfh
+ vmapfile
+ roomba
+ wavefront
+ insideM300
+ skyetekM1
+ mica2
The following device drivers will NOT be included:
- acoustics -- disabled by default; use --enable-acoustics to enable
- artoolkitplus -- couldn't find required package artoolkitplus >= 2.0.2
- camera1394 -- disabled by user
- camerauvc -- disabled by user
- camerav4l -- disabled by user
- festival -- disabled by user
- garcia -- disabled by default; use --enable-garcia to enable
- imageseq -- couldn't find required package opencv
- isense -- couldn't find (at least one of) isense/isense.h
- lifomcom -- disabled by default; use --enable-lifomcom to enable
- mixer -- disabled by default; use --enable-mixer to enable
- nomad -- disabled by default; use --enable-nomad to enable
- passthrough -- disabled by default; use --enable-passthrough to enable
- reb -- disabled by default; use --enable-reb to enable
- kartowriter -- disabled by default; use --enable-kartowriter to enable
- segwayrmp -- disabled by default; use --enable-segwayrmp to enable
- service_adv_mdns -- disabled by default; use --enable-service_adv_mdns to enable
- shapetracker -- couldn't find required package opencv
- simpleshape -- couldn't find required package opencv
- sphere -- disabled by user
- sphinx2 -- disabled by default; use --enable-sphinx2 to enable
- upcbarcode -- couldn't find required package opencv
- waveaudio -- disabled by default; use --enable-waveaudio to enable
- yarpimage -- couldn't find (at least one of) yarp/os/all.h yarp/sig/all.h
- rcore_xbridge -- couldn't find (at least one of) libparticle.h
Player will be installed in:
/usr/
To see the configuration options, do:
./configure --help
When you're satisfied with the configuration, type 'make install'.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4 ...
make -j2 -j1
make all-recursive
make[1]: Entering directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4'
Making all in replace
make[2]: Entering directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/replace'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -O2 -pipe -c -o dummy.lo dummy.c
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -O2 -pipe -c dummy.c -fPIC -DPIC -o .libs/dummy.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -O2 -pipe -c dummy.c -o dummy.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -O2 -pipe -c -o round.lo round.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -O2 -pipe -c round.c -fPIC -DPIC -o .libs/round.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -O2 -pipe -c round.c -o round.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -o libreplace.la dummy.lo round.lo -lpthread -lnsl -lrt -lz -lltdl -ldl -ljpeg -lGL -lGLU -lglut
x86_64-pc-linux-gnu-ar cru .libs/libreplace.a .libs/dummy.o .libs/round.o
x86_64-pc-linux-gnu-ranlib .libs/libreplace.a
creating libreplace.la
(cd .libs && rm -f libreplace.la && ln -s ../libreplace.la libreplace.la)
make[2]: Leaving directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/replace'
Making all in libplayerjpeg
make[2]: Entering directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayerjpeg'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -I.. -Wall -O2 -pipe -c -o playerjpeg.lo playerjpeg.c
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -I.. -Wall -O2 -pipe -c playerjpeg.c -fPIC -DPIC -o .libs/playerjpeg.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -I.. -Wall -O2 -pipe -c playerjpeg.c -o playerjpeg.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -o libplayerjpeg.la -rpath /usr/lib64 -version-number 2:0:4 -rpath /usr/lib64 playerjpeg.lo -ljpeg -lpthread -lnsl -lrt -lz -lltdl -ldl -ljpeg -lGL -lGLU -lglut
x86_64-pc-linux-gnu-gcc -shared .libs/playerjpeg.o -lpthread -lnsl -lrt -lz /usr/lib64/libltdl.so -ldl -ljpeg -lGL -lGLU -lglut -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libplayerjpeg.so.2 -o .libs/libplayerjpeg.so.2.0.4
(cd .libs && rm -f libplayerjpeg.so.2 && ln -s libplayerjpeg.so.2.0.4 libplayerjpeg.so.2)
(cd .libs && rm -f libplayerjpeg.so && ln -s libplayerjpeg.so.2.0.4 libplayerjpeg.so)
x86_64-pc-linux-gnu-ar cru .libs/libplayerjpeg.a playerjpeg.o
x86_64-pc-linux-gnu-ranlib .libs/libplayerjpeg.a
creating libplayerjpeg.la
(cd .libs && rm -f libplayerjpeg.la && ln -s ../libplayerjpeg.la libplayerjpeg.la)
make[2]: Leaving directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayerjpeg'
Making all in libplayercore
make[2]: Entering directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayercore'
make all-am
make[3]: Entering directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayercore'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -O2 -pipe -c -o error.lo error.c
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -O2 -pipe -c error.c -fPIC -DPIC -o .libs/error.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -O2 -pipe -c error.c -o error.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -o libplayererror.la -rpath /usr/lib64 -version-number 2:0:4 -rpath /usr/lib64 error.lo -lpthread -lnsl -lrt -lz -lltdl -ldl -ljpeg -lGL -lGLU -lglut
x86_64-pc-linux-gnu-gcc -shared .libs/error.o -lpthread -lnsl -lrt -lz /usr/lib64/libltdl.so -ldl -ljpeg -lGL -lGLU -lglut -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libplayererror.so.2 -o .libs/libplayererror.so.2.0.4
(cd .libs && rm -f libplayererror.so.2 && ln -s libplayererror.so.2.0.4 libplayererror.so.2)
(cd .libs && rm -f libplayererror.so && ln -s libplayererror.so.2.0.4 libplayererror.so)
x86_64-pc-linux-gnu-ar cru .libs/libplayererror.a error.o
x86_64-pc-linux-gnu-ranlib .libs/libplayererror.a
creating libplayererror.la
(cd .libs && rm -f libplayererror.la && ln -s ../libplayererror.la libplayererror.la)
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o driver.lo driver.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c driver.cc -fPIC -DPIC -o .libs/driver.o
driver.cc: In constructor 'Driver::Driver(ConfigFile*, int, bool, size_t)':
driver.cc:90:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
this->device_addr.interf = UINT_MAX;
^~~~~~~~
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c driver.cc -o driver.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o device.lo device.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c device.cc -fPIC -DPIC -o .libs/device.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c device.cc -o device.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o drivertable.lo drivertable.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c drivertable.cc -fPIC -DPIC -o .libs/drivertable.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c drivertable.cc -o drivertable.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o devicetable.lo devicetable.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c devicetable.cc -fPIC -DPIC -o .libs/devicetable.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c devicetable.cc -o devicetable.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o configfile.lo configfile.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c configfile.cc -fPIC -DPIC -o .libs/configfile.o
configfile.cc: In member function 'bool ConfigFile::ParseTokenField(int, int*, int*)':
configfile.cc:1078:13: warning: variable 'value' set but not used [-Wunused-but-set-variable]
int name, value, count;
^~~~~
configfile.cc:1078:20: warning: variable 'count' set but not used [-Wunused-but-set-variable]
int name, value, count;
^~~~~
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c configfile.cc -o configfile.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o message.lo message.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c message.cc -fPIC -DPIC -o .libs/message.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c message.cc -o message.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o wallclocktime.lo wallclocktime.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c wallclocktime.cc -fPIC -DPIC -o .libs/wallclocktime.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c wallclocktime.cc -o wallclocktime.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o interface_util.lo interface_util.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c interface_util.cc -fPIC -DPIC -o .libs/interface_util.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c interface_util.cc -o interface_util.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o plugins.lo plugins.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c plugins.cc -fPIC -DPIC -o .libs/plugins.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c plugins.cc -o plugins.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -c -o globals.lo globals.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c globals.cc -fPIC -DPIC -o .libs/globals.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -c globals.cc -o globals.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX="\"/usr\"" -I.. -O2 -pipe -c -o addr_util.lo addr_util.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -O2 -pipe -c addr_util.c -fPIC -DPIC -o .libs/addr_util.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../client_libs/libplayerc++ -g -fPIC -Wall -D PLAYER_INSTALL_PREFIX=\"/usr\" -I.. -O2 -pipe -c addr_util.c -o addr_util.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -o libplayercore.la -rpath /usr/lib64 -version-number 2:0:4 -rpath /usr/lib64 ../libplayercore/libplayererror.la driver.lo device.lo drivertable.lo devicetable.lo configfile.lo message.lo wallclocktime.lo interface_util.lo plugins.lo globals.lo addr_util.lo -lpthread -lnsl -lrt -lz -lltdl -ldl -ljpeg -lGL -lGLU -lglut
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtbeginS.o .libs/driver.o .libs/device.o .libs/drivertable.o .libs/devicetable.o .libs/configfile.o .libs/message.o .libs/wallclocktime.o .libs/interface_util.o .libs/plugins.o .libs/globals.o .libs/addr_util.o -Wl,--rpath -Wl,/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayercore/.libs ../libplayercore/.libs/libplayererror.so -lpthread -lnsl -lrt -lz /usr/lib64/libltdl.so -ldl -ljpeg -lGL -lGLU -lglut -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libplayercore.so.2 -o .libs/libplayercore.so.2.0.4
(cd .libs && rm -f libplayercore.so.2 && ln -s libplayercore.so.2.0.4 libplayercore.so.2)
(cd .libs && rm -f libplayercore.so && ln -s libplayercore.so.2.0.4 libplayercore.so)
x86_64-pc-linux-gnu-ar cru .libs/libplayercore.a driver.o device.o drivertable.o devicetable.o configfile.o message.o wallclocktime.o interface_util.o plugins.o globals.o addr_util.o
x86_64-pc-linux-gnu-ranlib .libs/libplayercore.a
creating libplayercore.la
(cd .libs && rm -f libplayercore.la && ln -s ../libplayercore.la libplayercore.la)
make[3]: Leaving directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayercore'
make[2]: Leaving directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayercore'
Making all in libplayerxdr
make[2]: Entering directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayerxdr'
make all-am
make[3]: Entering directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayerxdr'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -g -fPIC -Wall -I.. -fno-strict-aliasing -O2 -pipe -c -o playerxdr.lo playerxdr.c
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -g -fPIC -Wall -I.. -fno-strict-aliasing -O2 -pipe -c playerxdr.c -fPIC -DPIC -o .libs/playerxdr.o
In file included from playerxdr.c:1:0:
../libplayerxdr/playerxdr.h:7:10: fatal error: rpc/types.h: No such file or directory
#include <rpc/types.h>
^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:713: playerxdr.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayerxdr'
make[2]: *** [Makefile:601: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4/libplayerxdr'
make[1]: *** [Makefile:645: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4'
make: *** [Makefile:574: all] Error 2
* ERROR: sci-electronics/player-2.0.4::science failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sci-electronics/player-2.0.4::science'`,
* the complete build log and the output of `emerge -pqv '=sci-electronics/player-2.0.4::science'`.
* The complete build log is located at '/var/tmp/portage/sci-electronics/player-2.0.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-electronics/player-2.0.4/temp/environment'.
* Working directory: '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4'
* S: '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4'
!!! When you file a bug report, please include the following information:
GENTOO_VM= CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =player-2.0.4
>>> Failed to emerge sci-electronics/player-2.0.4, Log file:
>>> '/var/tmp/portage/sci-electronics/player-2.0.4/temp/build.log'
* Messages for package sci-electronics/player-2.0.4:
* ERROR: sci-electronics/player-2.0.4::science failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sci-electronics/player-2.0.4::science'`,
* the complete build log and the output of `emerge -pqv '=sci-electronics/player-2.0.4::science'`.
* The complete build log is located at '/var/tmp/portage/sci-electronics/player-2.0.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-electronics/player-2.0.4/temp/environment'.
* Working directory: '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4'
* S: '/var/tmp/portage/sci-electronics/player-2.0.4/work/player-2.0.4'
|
_________________ Studen of Mechatronics |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Thu Aug 09, 2018 12:38 am Post subject: |
|
|
Quote: | ../libplayerxdr/playerxdr.h:7:10: fatal error: rpc/types.h: No such file or directory
#include <rpc/types.h> |
This seems to indicate you need to install net-libs/libtirpc, which provides this file. |
|
Back to top |
|
|
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Thu Aug 09, 2018 1:58 am Post subject: |
|
|
ct85711 wrote: | Quote: | ../libplayerxdr/playerxdr.h:7:10: fatal error: rpc/types.h: No such file or directory
#include <rpc/types.h> |
This seems to indicate you need to install net-libs/libtirpc, which provides this file. |
said the same error :c... i ready emerged that lib.. _________________ Studen of Mechatronics |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30916 Location: here
|
Posted: Thu Aug 09, 2018 8:26 am Post subject: |
|
|
I resolved rpc problem by adding -I/usr/include/tirpc in DEFAULT_INCLUDES variable on libplayerxdr/Makefile.in and libplayertcp/Makefile.in (not so elegant but work), but after there is another problem... I give up
Code: | garminnmea.cc: In function 'void GarminNMEA_Register(DriverTable*)':
garminnmea.cc:255:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
table->AddDriver("garminnmea", GarminNMEA_Init);
^
garminnmea.cc: In member function 'int GarminNMEA::ReadSentence(char*, size_t)':
garminnmea.cc:618:23: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
while(!(ptr = strchr((const char*)nmea_buf, NMEA_START_CHAR)))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
garminnmea.cc:632:23: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
while(!(ptr = strchr((const char*)nmea_buf, NMEA_END_CHAR)))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
garminnmea.cc:677:20: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
if((ptr2 = strchr((const char*)buf,NMEA_CHKSUM_CHAR)) && (strlen(ptr2) == 3))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
garminnmea.cc: In member function 'char* GarminNMEA::GetNextField(char*, size_t, const char*)':
garminnmea.cc:806:41: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
if(strlen(ptr) < 2 || !(start = strchr(ptr, ',')))
~~~~~~^~~~~~~~~~ |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Yakaaz n00b
Joined: 08 Aug 2018 Posts: 17
|
Posted: Thu Aug 09, 2018 9:20 pm Post subject: Error at compiling Player 3.0.2 |
|
|
I finally Solved, configure with ccmake ../ and disabled some DRIVERS and its works !! ty for all your contributions _________________ Studen of Mechatronics |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Fri Aug 10, 2018 12:25 am Post subject: Re: Error at compiling Player 3.0.2 |
|
|
Yakaaz wrote: | I finally Solved, configure with ccmake ../ and disabled some DRIVERS and its works !! ty for all your contributions | Could you share the diff between the ebuild that worked for you and the ones linked above? |
|
Back to top |
|
|
|