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

can not make on centos 6.5 #85

Closed
shencan opened this issue Apr 19, 2016 · 1 comment
Closed

can not make on centos 6.5 #85

shencan opened this issue Apr 19, 2016 · 1 comment

Comments

@shencan
Copy link

shencan commented Apr 19, 2016

install way

yum install libevent-devel -y
git clone https://github.com/darkk/redsocks
cd redsocks
make

some error message

cc -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall   -c -o parser.o parser.c
parser.c: In function ‘parser_error’:
parser.c:58: warning: implicit declaration of function ‘evbuffer_pullup’
parser.c:58: warning: cast to pointer from integer of different size
cc -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall   -c -o main.o main.c
main.c: In function ‘main’:
main.c:67: warning: implicit declaration of function ‘evutil_secure_rng_init’
main.c:81: error: ‘LIBEVENT_VERSION’ undeclared (first use in this function)
main.c:81: error: (Each undeclared identifier is reported only once
main.c:81: error: for each function it appears in.)
main.c:83: error: ‘LIBEVENT_VERSION_NUMBER’ undeclared (first use in this function)
main.c:83: warning: implicit declaration of function ‘event_get_version_number’
main.c:101: warning: implicit declaration of function ‘event_get_struct_event_size’
make: *** [main.o] Error 1
@semigodking
Copy link

You are compiling with Livevent1.4. Please compile with libevent2.
2016年4月19日 15:00,"shencan" [email protected]写道:

##install way
yum install libevent-devel -y
git clone https://github.com/darkk/redsocks
cd redsocks
make
some error message

cc -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o parser.o parser.c
parser.c: In function ‘parser_error’:
parser.c:58: warning: implicit declaration of function ‘evbuffer_pullup’
parser.c:58: warning: cast to pointer from integer of different size
cc -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o main.o main.c
main.c: In function ‘main’:
main.c:67: warning: implicit declaration of function ‘evutil_secure_rng_init’
main.c:81: error: ‘LIBEVENT_VERSION’ undeclared (first use in this function)
main.c:81: error: (Each undeclared identifier is reported only once
main.c:81: error: for each function it appears in.)
main.c:83: error: ‘LIBEVENT_VERSION_NUMBER’ undeclared (first use in this function)
main.c:83: warning: implicit declaration of function ‘event_get_version_number’
main.c:101: warning: implicit declaration of function ‘event_get_struct_event_size’
make: *** [main.o] Error 1


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#85

@darkk darkk closed this as completed in 32aeeb2 Apr 19, 2016
andronoob pushed a commit to andronoob/redsocks that referenced this issue Apr 25, 2021
* Create disable-ss.patch

* Add information how to compile with newer OpenSSL
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