x11/sessreg fails to link

Yuri yuri at rawbw.com
Thu Sep 30 23:26:09 UTC 2010


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


More information about the freebsd-x11 mailing list