-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathREADME.slirp
More file actions
25 lines (14 loc) · 779 Bytes
/
README.slirp
File metadata and controls
25 lines (14 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This is a build of Slirp for Android.
See http://ajasmin.wordpress.com/2011/07/24/android-usb-tethering-with-a-linux-pc/
This was built on device using the gcc dist from http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android
I used the Slirp 1.0.16 source with the 1.0.17 patch applied from http://slirp.sourceforge.net/
Step to build:
Replace all instances of /bin/sh by /system/bin/sh in the configure script.
Run the configure script
Add the following to config.h:
#define HAVE_RANDOM 1
#define HAVE_SRANDOM 1
#define FULL_BOLT 1
Apparently random and sradom were misdetected by the configure script.
I also enabled FULL_BOLT because I couldn't get any speed without it even
when setting a very high baudrate. Not sure if it's an Android issue.