Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2001 21:09:09 -0400
From:      Vladimir Savichev <vsavichev@mail.wesleyan.edu>
To:        freebsd-ports@freebsd.org
Subject:   gnomecontrolcenter build stop: undefined reference to `getline' ?
Message-ID:  <200105180107.VAA23102@mail.wesleyan.edu>

next in thread | raw e-mail | index | archive | help
Hi,
here is stop in gnomecontrolcenter port.

configure:5130: checking for getline
configure:5158: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall
-Wunused  -I/usr/local/include -I/usr/X11R6/incl
ude/gtk12 -I/usr/local/include/glib12 -I/usr/local/include
-I/usr/X11R6/include  -L/usr/X11R6/lib conftest.c -L/usr/
local/lib 1>&5
/tmp/cctrpFF3.o: In function `main':
/tmp/cctrpFF3.o(.text+0x7): undefined reference to `getline'
configure: failed program was:
#line 5135 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getline(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getline();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_getline) || defined (__stub___getline)
choke me
#else
getline();
#endif



-Vlad


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105180107.VAA23102>