This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
embedded-web-interaction:wpe:webrtc [2019/04/02 11:46] avnerus |
embedded-web-interaction:wpe:webrtc [2019/04/02 11:51] (current) avnerus |
||
---|---|---|---|
Line 21: | Line 21: | ||
</code> | </code> | ||
- | Wen trying to compile this for RPi compilation fails because of 2 different issues: | + | When trying to compile this for RPi compilation fails because of 2 different issues: |
1) While static linking libwebrtc.a, some symbols are being overwritten because of files that have the same name: | 1) While static linking libwebrtc.a, some symbols are being overwritten because of files that have the same name: | ||
* **third_party/boringssl/src/crypto/err/err.c** | * **third_party/boringssl/src/crypto/err/err.c** | ||
* **third_party/libsrtp/crypto/kernel/err.c** | * **third_party/libsrtp/crypto/kernel/err.c** | ||
+ | |||
+ | The symbols are overwritten because libsrtp is appended in a separate //ar// command, because it is defined as: | ||
+ | <code> | ||
+ | $<TARGET_OBJECTS:libsrtp> | ||
+ | </code> | ||
Changing //link.txt// of webrtc.dir in CMakeFiles from this command: | Changing //link.txt// of webrtc.dir in CMakeFiles from this command: |