Error compiling
Posted: Sat Mar 26, 2022 9:44 am
When installing openvpn-2.5.6 running ./configure produced an error. Output of terminal and relevant section of config.log attached.
I have a Gigabyte B560M board and Intel series 11 i5 cpu running Linux Mint Una with kernel 5.13.0.37
I cannot install the files it seems to be complaining about - Scrt1.o, crti.o
Assistance would be appreciated
Terminal:
graeme@B560M:~/Documents/My_download_files/Software/OpenVPN/openvpn-2.5.6$ sudo ./configure
[sudo] password for graeme:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/graeme/Documents/My_download_files/Software/OpenVPN/openvpn-2.5.6':
configure: error: C compiler cannot create executables
See `config.log' for more details
config-log extract:
configure:4072: checking whether the C compiler works
configure:4094: gcc conftest.c >&5
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:4098: $? = 1
configure:4136: result: no
configure: failed program was:
| /* confdefs.h */
I have a Gigabyte B560M board and Intel series 11 i5 cpu running Linux Mint Una with kernel 5.13.0.37
I cannot install the files it seems to be complaining about - Scrt1.o, crti.o
Assistance would be appreciated
Terminal:
graeme@B560M:~/Documents/My_download_files/Software/OpenVPN/openvpn-2.5.6$ sudo ./configure
[sudo] password for graeme:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/graeme/Documents/My_download_files/Software/OpenVPN/openvpn-2.5.6':
configure: error: C compiler cannot create executables
See `config.log' for more details
config-log extract:
configure:4072: checking whether the C compiler works
configure:4094: gcc conftest.c >&5
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:4098: $? = 1
configure:4136: result: no
configure: failed program was:
| /* confdefs.h */