We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to run the benchmark but I got an error, what could be the problem?
bench.h:84:13: error: conflicting types for ‘socklen_t’; have ‘int’
make results gmake[1]: Entering directory '/home/user/lmbench/src' gcc -O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_tcp.c -o ../bin/x86_64-linux-gnu/lib_tcp.o In file included from lib_tcp.c:9: bench.h:84:13: error: conflicting types for ‘socklen_t’; have ‘int’ 84 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /usr/include/unistd.h:274:21: note: previous declaration of ‘socklen_t’ with type ‘socklen_t’ {aka ‘unsigned int’} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ gmake[1]: *** [Makefile:227: ../bin/x86_64-linux-gnu/lib_tcp.o] Error 1 gmake[1]: Leaving directory '/home/user/lmbench/src' make: *** [Makefile:114: lmbench] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to run the benchmark but I got an error, what could be the problem?
bench.h:84:13: error: conflicting types for ‘socklen_t’; have ‘int’
make results
gmake[1]: Entering directory '/home/user/lmbench/src'
gcc -O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_tcp.c -o ../bin/x86_64-linux-gnu/lib_tcp.o
In file included from lib_tcp.c:9:
bench.h:84:13: error: conflicting types for ‘socklen_t’; have ‘int’
84 | typedef int socklen_t;
| ^~~~~~~~~
In file included from bench.h:17:
/usr/include/unistd.h:274:21: note: previous declaration of ‘socklen_t’ with type ‘socklen_t’ {aka ‘unsigned int’}
274 | typedef __socklen_t socklen_t;
| ^~~~~~~~~
gmake[1]: *** [Makefile:227: ../bin/x86_64-linux-gnu/lib_tcp.o] Error 1
gmake[1]: Leaving directory '/home/user/lmbench/src'
make: *** [Makefile:114: lmbench] Error 2
The text was updated successfully, but these errors were encountered: