Wireshark mailing list archives
Re: configure fails with cmake on macosx
From: "H.sivank" <hsivank () gmail com>
Date: Thu, 23 Sep 2010 23:58:40 +0200
Hello Joerg Le 23 sept. 2010 à 23:19, Joerg Mayer a écrit :
-apple_gcc.diff : fix for apple gccThis fix is not correct in style. Can you please explain what is going wrong here, maybe provide a log? If there is a problem, we need to fix the check in cmake/modules/CheckCLinkerFlag.cmake. Not applied.
configure:17893: checking whether we can add -Wl,--as-needed to LDFLAGS configure:17905: gcc -o conftest -g -O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Wcast-align -Wformat-security -Wl,--as-needed conftest.c >&5 conftest.c:29: warning: return type defaults to 'int' conftest.c: In function 'main': conftest.c:29: warning: 'return' with no value, in function returning non-void ld: unknown option: --as-needed collect2: ld returned 1 exit status configure:17905: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "wireshark" | #define PACKAGE_TARNAME "wireshark" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "wireshark 1.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "wireshark" | #define VERSION "1.5.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define YYTEXT_POINTER 1 | #define HTML_VIEWER "mozilla" | #define HAVE_LIBGNUTLS 1 | #define HAVE_LIBGCRYPT 1 | /* end confdefs.h. */ | | | main() { return; } | H.sivank ___________________________________________________________________________ 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:
- configure fails with cmake on macosx H.sivank (Sep 19)
- Re: configure fails with cmake on macosx Stephen Fisher (Sep 19)
- Re: configure fails with cmake on macosx Joerg Mayer (Sep 23)
- Re: configure fails with cmake on macosx H.sivank (Sep 23)
- Re: configure fails with cmake on macosx Stig Bjørlykke (Sep 23)
- Re: configure fails with cmake on macosx H.sivank (Sep 23)
- Re: configure fails with cmake on macosx H . sivank (Sep 23)
- Re: configure fails with cmake on macosx Stig Bjørlykke (Sep 23)
- Re: configure fails with cmake on macosx Joerg Mayer (Sep 23)
- Re: configure fails with cmake on macosx Stig Bjørlykke (Sep 23)
- Re: configure fails with cmake on macosx H.sivank (Sep 23)
- Re: configure fails with cmake on macosx Guy Harris (Sep 23)
- Re: configure fails with cmake on macosx Joerg Mayer (Sep 23)
- Re: configure fails with cmake on macosx H.sivank (Sep 23)
- Re: configure fails with cmake on macosx Stig Bjørlykke (Sep 24)