Hi,
I'm compiling FR0.7.1 on SuSE linux 7.3 and encountered following error, can anyone give me some advice?
 
 
configure:7388: checking for ut_xtime in struct utmpx
configure:7404: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS  conftest.c 1>&5
configure: In function `main':
configure:7400: structure has no member named `ut_xtime'
configure: failed program was:
#line 7392 "configure"
#include "confdefs.h"
 
#include <utmpx.h>
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
#endif
 
int main() {
 int foo = offsetof(struct utmpx, ut_xtime)
; return 0; }
configure:7435: checking for working const
configure:7511: checking type of OS
configure:7526: checking for developer gcc flags
configure:7541: checking for crypt in -lcrypt
configure:7641: checking for setkey in -lcipher
configure:7973: checking gethostbyaddr_r() syntax
configure:7982: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  conftest.c 1>&5
configure:7977: warning: function declaration isn't a prototype
configure: In function `main':
configure:7978: too few arguments to function `gethostbyaddr_r'
configure: failed program was:
#line 7975 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
 gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL) 
; return 0; }
configure:8004: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  conftest.c 1>&5
configure:7999: warning: function declaration isn't a prototype
configure:8027: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  conftest.c 1>&5
configure:8022: warning: function declaration isn't a prototype
 
 
Regards
Alex Zhang
 
i1, Inc. Shanghai
86-21-50475656-122

Reply via email to