Mingw linker cannot find -lsocket


#1

When i enter the ‘make’ command for gnuradio i get the following error.

configure:20701: checking for socket in -lsocket
configure:20736: gcc -o conftest.exe -g -O2 -Wall conftest.c -lsocket

&5
C:\MinGW\bin…\lib\gcc\mingw32\3.4.5…\mingw32\bin\ld.exe:
cannot
find -lsocket
collect2: ld returned 1 exit status

Can anyone help me in finding the solution to the problem?


#2

Zainab Q.:

Can anyone help me in finding the solution to the problem?

This looks like the normal contents of config.log. (It is looking to see
if -lsocket is present on your system; it isn’t, and that’s normal for
MinGW.)

It would be very odd for this to be displayed on the screen when you run
‘make’.

– Don W.