Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install player 3.1.0 at Gentoo #11

Open
CharlySample opened this issue Aug 9, 2018 · 2 comments
Open

Install player 3.1.0 at Gentoo #11

CharlySample opened this issue Aug 9, 2018 · 2 comments

Comments

@CharlySample
Copy link

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
Copy link
Member

@CharlySample
Copy link
Author

its works 👍

richmattes added a commit that referenced this issue Dec 9, 2018
Add logic to detect and use the libtirpc xdr implementation on Linux.
Addresses #11.

Fall back to the system stdint.h to define size types in the bundled
xdr types.h when stdint.h is available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants