[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undefined getline

From: Mathieu Fregeau
Subject: undefined getline
Date: Tue, 25 Jul 2017 21:37:16 +0000



Trying to compile the library under Msys2 (mingw64)

Windows: 7 64bit

Gcc: 7.1.0


I untar the gz file, go to directory, type ./configure, then make.

It goes on, until the file gss.c:

gss.c: In function 'gettrimline':

gss.c:304:15: warning: implicit declaration of function 'getline'; did you mean 'getenv'? [-Wimplicit-function-declaratio ]

ssize_t s = getline (line, n, fh);



  CCLD     gss.exe

gss.o: In function `gettrimline':

C:\msys64\home\mathieu.fregeau\gss-1.0.3\src/gss.c:304: undefined reference to `getline'

C:\msys64\home\mathieu.fregeau\gss-1.0.3\src/gss.c:304: undefined reference to `getline'

collect2.exe: error: ld returned 1 exit status

make[4]: *** [Makefile:906: gss.exe] Error 1

make[4]: Leaving directory '/home/mathieu.fregeau/gss-1.0.3/src'

make[3]: *** [Makefile:958: all-recursive] Error 1

make[3]: Leaving directory '/home/mathieu.fregeau/gss-1.0.3/src'

make[2]: *** [Makefile:806: all] Error 2

make[2]: Leaving directory '/home/mathieu.fregeau/gss-1.0.3/src'

make[1]: *** [Makefile:912: all-recursive] Error 1

make[1]: Leaving directory '/home/mathieu.fregeau/gss-1.0.3'

make: *** [Makefile:818: all] Error 2


Mathieu Fregeau

Senior Structural Analyst – Powertrain

Faraday Future

18455 S Figueroa St

Gardena, CA 90248

Email: address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]