Wireshark-bugs: [Wireshark-bugs] [Bug 11230] Compilation fails with qt5 5.4.1 due to lack of -fP
Date: Sun, 07 Jun 2015 05:44:41 +0000

Comment # 5 on bug 11230 from
(In reply to Guy Harris from comment #3)
> (In reply to Anish Bhatt from comment #0)
> > set(CMAKE_POSITION_INDEPENDENT_CODE ON) is no longer enough (or is failing)
> 
> That sounds like CMake.

Sorry for misleading, a couple of other projects use that approach to fix this
bug, my first attempt was to use that but it already exists in the code.

> 
> > I was able to hammer at it and get it to compile with this hacky patch
> > (which is most probably wrong, however I am not proficient with this at all)
> > :
> > 
> > diff --git a/configure.ac b/configure.ac
> > index bcd6f9e..a39a96f 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> 
> But that's autotools.  Are you building with CMake or autotools?  Or did you
> try both?

autotools, here is what I use to build :

  ./autogen.sh
  ./configure \
      --prefix=/usr \
      --with-qt \
      --with-pcap \
      --with-zlib \
      --with-lua \
      --with-portaudio \
      --with-ssl \
      --with-krb5
  make al


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