Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 19:07:58 +0400
From:      Anonymous <swell.k@gmail.com>
To:        David DEMELIER <demelier.david@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: x11/sessreg fails to build
Message-ID:  <861v8l6ckx.fsf@gmail.com>
In-Reply-To: <AANLkTinYd0seY8t8hXDdAdtyvcNXDEPFZYk03R7fs-Ny@mail.gmail.com> (David DEMELIER's message of "Wed, 22 Sep 2010 16:57:50 %2B0200")
References:  <AANLkTinYd0seY8t8hXDdAdtyvcNXDEPFZYk03R7fs-Ny@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David DEMELIER <demelier.david@gmail.com> writes:

> sessreg.o(.text+0xfa): In function `UtmpxIdOpen':
> : undefined reference to `setutxent'
> sessreg.o(.text+0x101): In function `UtmpxIdOpen':
> : undefined reference to `getutxent'
> sessreg.o(.text+0x12b): In function `UtmpxIdOpen':
> : undefined reference to `endutxent'
> sessreg.o(.text+0x13b): In function `UtmpxIdOpen':
> : undefined reference to `endutxent'
> sessreg.o(.text+0x992): In function `main':
> : undefined reference to `setutxent'
> sessreg.o(.text+0x99f): In function `main':
> : undefined reference to `getutxid'
> sessreg.o(.text+0x9ac): In function `main':
> : undefined reference to `pututxline'
> sessreg.o(.text+0x9b1): In function `main':
> : undefined reference to `endutxent'
> sessreg.o(.text+0xa91): In function `main':
> : undefined reference to `getutxent'
> sessreg.o(.text+0xace): In function `main':
> : undefined reference to `endutxent'
> *** Error code 1

Do you have utmpx.h in /usr/include while not having getutxent(3) in libc?
I guess this may happen if you downgrade from /head to /stable/8.

If it's smth else providing config.log is essential.



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