Comments (4)
Hi,
So I went through and found libevent_config/event2/event-config.h
I dropped this at the bottom;
#define EVENT__HAVE_UINT64_T 0
#define EVENT__HAVE_UINT32_T 1
#define EVENT__HAVE_UINT16_T 1
#define EVENT__SIZEOF_SIZE_T 4
#define EVENT__SIZEOF_LONG 8
#define EVENT__SIZEOF_LONG_LONG 1
Seemed to get past the above errors, although I'm not really sure if the size values are correct.
Then I ran in to this;
# github.com/ipsn/go-libtor/libtor
In file included from libtor/openssl_crypto_bio_bss_dgram.go:10:
libtor/../openssl/include/../crypto/bio/bss_dgram.c:17:12: fatal error: netinet/sctp.h: No such file or directory
# include <netinet/sctp.h>
^~~~~~~~~~~~~~~~
compilation terminated.
from go-libtor.
So I searched my system for sctp.h and found it on /usr/include/netinet/sctp.h
-# include <netinet/sctp.h>
+# include </usr/include/netinet/sctp.h>
in openssl/crypto/bio/bss_dgram.c
I'm not proud, but it got me a little further...
# github.com/ipsn/go-libtor/libtor
In file included from libtor/openssl_crypto_bn_bn_dh.go:10:
libtor/../openssl/include/../crypto/bn/bn_dh.c:479:4: error: #error "unsupported BN_BITS2"
# error "unsupported BN_BITS2"
^~~~~
go-libtor/openssl/crypto/bn/bn_dh.c
Line 479 in 7eb60e4
from go-libtor.
I tried to hack some C, but it's not going to work out - maybe you have a better idea of what's needed.
I can help with testing, just let me know!
from go-libtor.
Just saw this issue. So, the way I've been generating the correct constants is to manually build all the dependencies on the target hardware and then see what values the local make process generates. Then incorporate those into the pre-configured templates.
from go-libtor.
Related Issues (20)
- Onion ID length HOT 1
- How is it possible to preserve .onion address HOT 2
- Restart Tor HOT 4
- Use 0.4.x Tor
- Can't run concurrent tor instances. HOT 2
- Example program (main.go) won't run HOT 1
- No way to define ev_uint64_t HOT 2
- v3 onion addresses HOT 2
- Out of Date Documentation/Bine Creator Usage HOT 1
- The filename or extension is too long. HOT 2
- error main.go:12:2: found packages libtor (libtor.go) and main (main.go) in /home/user/repos/go-libtor
- Version 2 Onion Sites will be deprecated soon
- Upstream iOS and macOS support from berty/go-libtor
- Warning when running in docker HOT 2
- go get failed
- VFS idea
- How is it possible to persist V3 .onion address? HOT 3
- Error after running go get HOT 2
- 1st signal interrupt is caught by the Tor process, and ignored by the go process HOT 1
- Error when build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-libtor.