Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile fail #55

Closed
ffyliu opened this issue Sep 26, 2019 · 1 comment
Closed

compile fail #55

ffyliu opened this issue Sep 26, 2019 · 1 comment

Comments

@ffyliu
Copy link

ffyliu commented Sep 26, 2019

gcc version 4.8.5
Red Hat 4.8.5-16
android-ndk-r16b
compile openconnect log below:

configure:3929: $? = 0
configure:3918: gcc -std=gnu99 -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
configure:3929: $? = 0
configure:3918: gcc -std=gnu99 -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3929: $? = 4
configure:3918: gcc -std=gnu99 -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3929: $? = 4
configure:3949: checking whether the C compiler works
configure:3971: gcc -std=gnu99 -march=armv7-a -mthumb -D__ANDROID_API
=14 -O2 -fvisibility=default -fPIE -I/usr/local/openssl/include -rdynamic -pie conftest.c >&5
gcc: error: unrecognized command line option '-mthumb'
configure:3975: $? = 1
configure:4013: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/etc/vpnc/vpnc-script"
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }

@ffyliu
Copy link
Author

ffyliu commented Sep 30, 2019

use ubuntu to compile is OK.

@ffyliu ffyliu closed this as completed Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant