Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2010 16:10:32 -0700
From:      Yuri <yuri@rawbw.com>
To:        x11@FreeBSD.org
Subject:   x11/sessreg fails to link
Message-ID:  <4CA518E8.1000203@rawbw.com>

next in thread | raw e-mail | index | archive | help
Hello,

I am getting such log:

===>  Building for sessreg-1.0.5_1^M
make  all-am^M
cc -std=gnu99 -DHAVE_CONFIG_H -I.     -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 
-Wold-style-definition -Wdeclaration-after-statement 
-I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT sessreg.o -MD 
-MP -MF .deps/sessreg.Tpo -c -o sessreg.o sessreg.c^M
mv -f .deps/sessreg.Tpo .deps/sessreg.Po^M
cc -std=gnu99 -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-fno-strict-aliasing -Wbad-function-cast -Wformat=2 
-Wold-style-definition -Wdeclaration-after-statement 
-I/usr/local/include -O2 -pipe -fno-strict-aliasing   -o sessreg 
sessreg.o  ^M
sessreg.o(.text+0xfa): In function `UtmpxIdOpen':^M
: undefined reference to `setutxent'^M
sessreg.o(.text+0x101): In function `UtmpxIdOpen':^M
: undefined reference to `getutxent'^M
sessreg.o(.text+0x12b): In function `UtmpxIdOpen':^M
: undefined reference to `endutxent'^M
sessreg.o(.text+0x13b): In function `UtmpxIdOpen':^M
: undefined reference to `endutxent'^M
sessreg.o(.text+0x992): In function `main':^M
: undefined reference to `setutxent'^M
sessreg.o(.text+0x99f): In function `main':^M
: undefined reference to `getutxid'^M
sessreg.o(.text+0x9ac): In function `main':^M
: undefined reference to `pututxline'^M
sessreg.o(.text+0x9b1): In function `main':^M
: undefined reference to `endutxent'^M
sessreg.o(.text+0xa91): In function `main':^M
: undefined reference to `getutxent'^M
sessreg.o(.text+0xace): In function `main':^M
: undefined reference to `endutxent'^M

Yuri



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