playerproject / player

The Player cross-platform robot device interface & server
GNU General Public License v2.0
60 stars 32 forks source link

Install player 3.1.0 at Gentoo #11

Open CharlySample opened 6 years ago

CharlySample commented 6 years ago

i have this problem when i want to make my build

Scanning dependencies of target playercommon [ 0%] Building C object libplayercommon/CMakeFiles/playercommon.dir/error.o [ 1%] Linking C static library libplayercommon.a [ 1%] Built target playercommon [ 1%] Generating functiontable_gen.h [ 1%] Built target functiontable_gen [ 2%] Generating player_interfaces.h [ 2%] Built target player_interfaces Scanning dependencies of target playerreplace [ 2%] Building C object replace/CMakeFiles/playerreplace.dir/xdr.o In file included from /home/carlos/Downloads/player-release-3-1-0/replace/xdr.c:50:0: /home/carlos/Downloads/player-release-3-1-0/replace/rpc/types.h:91:30: error: conflicting types for ‘int64_t’ typedef signed long long int int64_t; ^~~ In file included from /usr/include/sys/types.h:156:0, from /usr/include/stdlib.h:279, from /home/carlos/Downloads/player-release-3-1-0/replace/rpc/types.h:61, from /home/carlos/Downloads/player-release-3-1-0/replace/xdr.c:50: /usr/include/bits/stdint-intn.h:27:19: note: previous declaration of ‘int64_t’ was here typedef __int64_t int64_t; ^~~ make[2]: [replace/CMakeFiles/playerreplace.dir/build.make:63: replace/CMakeFiles/playerreplace.dir/xdr.o] Error 1 make[1]: [CMakeFiles/Makefile2:5902: replace/CMakeFiles/playerreplace.dir/all] Error 2 make: *** [Makefile:152: all] Error 2

richmattes commented 6 years ago

Can you see if this patch helps? https://src.fedoraproject.org/rpms/player/blob/master/f/player-3.1.0-tirpc.patch

CharlySample commented 6 years ago

its works :+1: