Kristian Hermansen gmail.com> writes:
> administrator ubuntu-khermans-desk:/tmp$ i586-mingw32msvc-gcc
> getline-test.c /tmp/ccCRN0HZ.o:getline-test.c:(.text+0x5f): undefined
> reference to `_getline'
> collect2: ld returned 1 exit status
>
>
> I filed a bug with Ubuntu, as I am unsure if this
Kristian Hermansen wrote:
> [EMAIL PROTECTED]:/tmp$ cat getline-test.c
> #include
>
> int main() {
> FILE *fp;
> char *line = NULL;
> size_t len = 0;
> fp = fopen("/etc/motd", "r");
> getline(&line,&len,fp);
> }
> [EMAIL PROTECTED]:/tmp$ i586-mingw32msvc-gcc
> getline-test.c /tmp/ccCRN
2 matches
Mail list logo