|
|
./configure 后
执行make
出现
WARNING: you need to rerun ./autogen.sh
Using FLAGS = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.
FLAGS32 = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -Wl,-rpath,/usr/lib -g -O2 -I/usr/include/libxml2
LDFLAGS = -Wl,-rpath,/usr/lib
make[1]: Entering directory `/root/samba/source'
WARNING: you need to rerun ./autogen.sh
make[1]: Leaving directory `/root/samba/source'
Compiling dynconfig.c
In file included from include/includes.h:874,
from dynconfig.c:21:
include/proto.h:1279: error: conflicting types for `krb5_set_password'
/usr/include/krb5.h:1883: error: previous declaration of `krb5_set_password'
make: *** [dynconfig.o] Error 1
于是我执行./autogen.sh
之后
再./configure
make
还是出现
Using FLAGS = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.
FLAGS32 = -g -O2 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I.
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -Wl,-rpath,/usr/lib -g -O2 -I/usr/include/libxml2
LDFLAGS = -Wl,-rpath,/usr/lib
make[1]: Entering directory `/root/samba/source'
make[1]: Leaving directory `/root/samba/source'
Compiling dynconfig.c
In file included from include/includes.h:874,
from dynconfig.c:21:
include/proto.h:1279: error: conflicting types for `krb5_set_password'
/usr/include/krb5.h:1883: error: previous declaration of `krb5_set_password'
make: *** [dynconfig.o] Error 1
为什么 赐教 |
|