diff --git a/docs/chapters/building.xml b/docs/chapters/building.xml index 7c4c9ac..7b25999 100644 --- a/docs/chapters/building.xml +++ b/docs/chapters/building.xml @@ -1,8 +1,47 @@ Getting and Building the Software -
- Installing Dependencies - +
+ Building software + There are three parts that can be built. It is the firmware + for the SIMtrace hardware, the SIMtrace software and the modified + version of wireshark. All of these have different source trees and + dependencies. +
+ +
+ Building SIMtrace + +
+ Building the Osmocom libosmocore library + +$ git clone git://git.osmocom.org/libosmocore +$ cd libosmocore +$ autoreconf --install --force +$ ./configure +$ sudo make install + +
+ +
+ Installing libusb + You will need to install the libusb header files + to be able to compile simtrace. +
+ +
+ Building <command>simtrace</command> + +$ wget https://api.opensuse.org/public/source/home:zecke23/simtrace/simtrace_0.0.1.tar.gz +$ tar xzf simtrace_0.0.1.tar.gz +$ cd simtrace-0.0.1 +$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make +cc `pkg-config --cflags libosmocore` -o main.o -c main.c +cc `pkg-config --cflags libosmocore` -o usb_helper.o -c usb_helper.c +cc `pkg-config --cflags libosmocore` -o usb.o -c usb.c +cc `pkg-config --cflags libosmocore` -o apdu_split.o -c apdu_split.c +cc -o simtrace main.o usb_helper.o usb.o apdu_split.o -lusb `pkg-config --libs libosmocore` -losmocore + +
diff --git a/docs/chapters/installation.xml b/docs/chapters/installation.xml index 3476da8..75aff6b 100644 --- a/docs/chapters/installation.xml +++ b/docs/chapters/installation.xml @@ -59,6 +59,6 @@ $ sudo zypper install wireshark simtrace
Installation from Source - + Please see the