This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

undefined reference to setutent and pututline


Hello,

I am looking for a header or library that defines  setutent and pututline
I have checked the utmp.h file but that defines them as extern.

I am trying to compile gnome-libs and run into this problem in the zvt
section:

/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wunused
-o test-utmp  gnome-utmp.o test-utmp.o  -lz -lm
gcc -g -O2 -Wall -Wunused -o test-utmp gnome-utmp.o test-utmp.o -lz -lm
gnome-utmp.o: In function `update_utmp':
/usr/local/src/gnome-libs-1.0.50/zvt/gnome-utmp.c:141: undefined reference
to `setutent'
/usr/local/src/gnome-libs-1.0.50/zvt/gnome-utmp.c:142: undefined reference
to `pututline'


My guess is that this is not implemented in cygwin
because in Solaris, it is defined in the libc.

TIA,

Kevin Wright
Aspect Development
Mountain View, CA


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]