Wireshark-bugs: [Wireshark-bugs] [Bug 4788] New: cmake: wireshark fails to build with lua and/or
Date: Mon, 24 May 2010 17:19:53 -0700 (PDT)

           Summary: cmake: wireshark fails to build with lua and/or python
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: Fedora
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jpo@xxxxxxxxxxxx

Build Information:
System   : Fedora 12 x86_64 with updates
Wireshark: buildbot tarball wireshark-1.3.6-SVN-32935.tar.bz2
Building steps:
    mkdir Build
    cd Build
    cmake ../                # all requirements expect YAPP

Wireshark fails to build when we try to build it via cmake with Lua and/or
Python enabled.

Error messages:
/usr/bin/ld: ../lib/libwslua.a(init_wslua.c.o): relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object; recompile with
../lib/libwslua.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libwireshark.so] Error 1
make[2]: Leaving directory
make[1]: *** [epan/CMakeFiles/epan.dir/all] Error 2
make[1]: Leaving directory
make: *** [all] Error 2

Contents of the lib subdirectory:

Current workarounds:
 * disable Lua and Python (cmake -DENABLE_LUA=OFF -DENABLE_PYTHON=OFF ../)
 * build via autotools (./autogen.sh; ./configure ...; make)

Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.