Hello, $ uname -a FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010 with /usr/ports from CVS October, 30; compiling KDE3 gives: ... gmake[4]: Entering directory `/usr/ports/net/kdenetwork3/work/kdenetwork-3.5.10/ktalkd/ktalkd' c++ -DHAVE_CONFIG_H -I. -I../.. -I../../kopete/protocols/gadu/libgadu -I/usr/local/include -I/usr/local/include -DHAVE_KDE -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -D_LARGE_FILES=1 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -fno-strict-aliasing -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT find_user.o -MD -MP -MF .deps/find_user.Tpo -c -o find_user.o find_user.cpp find_user.cpp: In function 'int find_user(char*, char*, char*)': find_user.cpp:344: error: aggregate 'utmp ubuf' has incomplete type and cannot be defined gmake[4]: *** [find_user.o] Error 1 The code in find_user.cpp reads: ... #endif /*UTMP_AND_PROC_FIND_USER*/ #else /*not PROC_FIND_USER*/ int find_user(char *name, char *tty, char *disp) { struct utmp ubuf; <<<<<<<<<<<<<< line 344 int status; FILE *fd; struct stat statb; char ftty[20+UT_LINESIZE]; char ttyFound[UT_LINESIZE] = ""; char dispFound[UT_HOSTSIZE+1] = ""; if (!(fd = fopen(_PATH_UTMP, "r"))) { fprintf(stderr, "talkd: can't read %s.\n", _PATH_UTMP); return (FAILED); } Something wrong with 'struct utmp ubuf' in HEAD? Thanks mattihas -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <guru_at_unixarea.de> - w http://www.unixarea.de/Received on Tue Nov 02 2010 - 05:14:20 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC