Wireshark-bugs: [Wireshark-bugs] [Bug 11617] New: build error in extcap/androiddump.c.o
Date: Tue, 20 Oct 2015 08:51:25 +0000
Bug ID 11617
Summary build error in extcap/androiddump.c.o
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS Ubuntu
Status UNCONFIRMED
Severity Major
Priority Low
Component Build process
Assignee bugzilla-admin@wireshark.org
Reporter hauke@hauke-m.de

Created attachment 13925 [details]
Logfile from build on Ubuntu 12.04 32 Bit

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
I am getting the following build error in the 2.0.0 branch on Ubuntu 12.04 32
Bit:

[  6%] Building C object wiretap/CMakeFiles/wiretap.dir/ascend.c.o
Linking C shared library ../run/libwiretap.so
[  6%] Built target wiretap
Scanning dependencies of target androiddump
[  6%] Building C object CMakeFiles/androiddump.dir/extcap/androiddump.c.o
Linking C executable run/extcap/androiddump
/usr/bin/ld.bfd.real: CMakeFiles/androiddump.dir/extcap/androiddump.c.o:
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a
shared object; recompile with -fPIC
CMakeFiles/androiddump.dir/extcap/androiddump.c.o: could not read symbols: Bad
value
collect2: ld returned 1 exit status
make[2]: *** [run/extcap/androiddump] Error 1
make[1]: *** [CMakeFiles/androiddump.dir/all] Error 2
make: *** [all] Error 2

When I revert this commit it works again:
commit 3fb1d6853dc846c9f906b5ca4903b4d84abff656
Author: Balint Reczey <balint@balintreczey.hu>
Date:   Thu Sep 24 09:56:14 2015 +0200

    cmake: Enable PIE when it is available by default


This will remove the -fPIE from CMakeLists.txt


You are receiving this mail because:
  • You are watching all bug changes.