Wireshark mailing list archives
Re: CMake -fPIC flag
From: Joerg Mayer <jmayer () loplof de>
Date: Sat, 15 May 2010 18:47:33 +0200
On Fri, May 14, 2010 at 09:37:22PM +0100, Bruno Matos wrote:
The -fPIC flag is missing in WIRESHARK_EXTRA_C_FLAGS variable. I didn't make the patch because it's too small, but I can do it if you want.
Interesting, it gets added automagically on my system: cd /home/jmayer/work/wireshark/svn/build/wsutil && /usr/bin/gcc -Dwsutil_EXPORTS -DHAVE_CONFIG_H -DPACKAGE=\"wireshark\" -DNEW_PACKET_LIST -D"_U_=__attribute__((unused))" -fPIC -I/home/jmayer/work/wireshark/svn/build -I/home/jmayer/work/wireshark/svn/trunk -I/home/jmayer/work/wireshark/svn/trunk/epan -I/home/jmayer/work/wireshark/svn/trunk/tools/lemon -I/home/jmayer/work/wireshark/svn/trunk/wiretap -I/usr/include/python2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0/glib -O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -pedantic -Woverflow -Wlogical-op -Wno-overlength-strings -fstrict-overflow -Wstrict-overflow=4 -Wunreachable-code -Wunsafe-loop-optimizations -Wno-long-long -Wbad-function-cast -Wcast-qual -Waddress -Warray-bounds -Wattributes -Wdiv-by-zero -Wformat-security -Wignored-qualifiers -Wpragmas -Wredundant-decls -Wvla -Wc++-compat -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wshadow -o CMakeFiles/wsutil.dir/privileges.c.o -c /home/jmayer/work/wireshark/svn/trunk/wsutil/privileges.c /usr/bin/cmake -E cmake_progress_report /home/jmayer/work/wireshark/svn/build/CMakeFiles Anything I'm missing here? Can you please provide a few more details on your system and your cmake options? Thanks Joerg -- Joerg Mayer <jmayer () loplof de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- CMake -fPIC flag Bruno Matos (May 14)
- Re: CMake -fPIC flag Joerg Mayer (May 15)
- Re: CMake -fPIC flag Jose Pedro Oliveira (May 15)
- Re: CMake -fPIC flag Joerg Mayer (May 15)
- Re: CMake -fPIC flag Joerg Mayer (May 24)
- Re: CMake -fPIC flag Jose Pedro Oliveira (May 24)
- Re: CMake -fPIC flag Jose Pedro Oliveira (May 15)
- Re: CMake -fPIC flag Joerg Mayer (May 15)