- 论坛徽章:
- 0
|
[root@bak courier-authlib-0.58]# make
CONFIG_FILES=authlib.html CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating authlib.html
config.status: executing depfiles commands
echo "#define AUTHLDAPRC \"\"" >authldaprc.h
echo "#define AUTHMYSQLRC \"/usr/lib/authlib/etc/authlib/authmysqlrc\"" >authmysqlrc.h
echo "#define AUTHPGSQLRC \"/usr/lib/authlib/etc/authlib/authpgsqlrc\"" >authpgsqlrc.h
echo "#define PIPE_PROGRAM \"/usr/lib/authlib/etc/authlib/authProg\"" >authpiperc.h
echo "#define AUTHDAEMONRC \"/usr/lib/authlib/etc/authlib/authdaemonrc\"" >authdaemonrc.h
echo "#define AUTHDAEMONVAR \"/usr/lib/authlib/var\"" >>authdaemonrc.h
echo "#define AUTHDAEMONPID AUTHDAEMONVAR \"/pid\"" >>authdaemonrc.h
echo "#define AUTHDAEMONSOCK AUTHDAEMONVAR \"/socket\"" >>authdaemonrc.h
echo "#define AUTHDAEMONLOCK AUTHDAEMONVAR \"/lock\"" >>authdaemonrc.h
echo '#include "./include/config.h"' >vpopmail_config.h
echo '#define PKGVERSION "0.58"' >packageversion.h
echo '#define AUTHCHANGEPWDIR "/usr/lib/authlib/libexec/courier-authlib"' >authchangepwdir.h
echo '#define SBINDIR "/usr/lib/authlib/sbin"' >sbindir.h
echo '#define PKGLIBDIR "/usr/lib/authlib/lib/courier-authlib"' >pkglibdir.h
echo '#define PKGINCLUDEDIR "/usr/lib/authlib/include"' >pkgincludedir.h
echo '#define MAILUSER "daemon"' >mailusergroup.h
echo '#define MAILGROUP "daemon"' >>mailusergroup.h
make all-recursive
make[1]: Entering directory `/bin/null/postfix/courier-authlib-0.58'
Making all in libltdl
make[2]: Entering directory `/bin/null/postfix/courier-authlib-0.58/libltdl'
make all-am
make[3]: Entering directory `/bin/null/postfix/courier-authlib-0.58/libltdl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/bin/null/postfix/courier-authlib-0.58/libltdl'
make[2]: Leaving directory `/bin/null/postfix/courier-authlib-0.58/libltdl'
Making all in gdbmobj
make[2]: Entering directory `/bin/null/postfix/courier-authlib-0.58/gdbmobj'
make all-am
make[3]: Entering directory `/bin/null/postfix/courier-authlib-0.58/gdbmobj'
Compiling gdbmobj.c
Compiling gdbmobj2.c
Compiling gdbmobj3.c
Linking libgdbmobj.la
Compiling testgdbm.C
Linking testgdbm
testgdbm.o(.text+0x54a): In function `main':
/bin/null/postfix/courier-authlib-0.58/gdbmobj/gdbmobj.h:54: undefined reference to `_Unwind_Resume'
collect2: ld returned 1 exit status
make[3]: *** [testgdbm] 错误 1
make[3]: Leaving directory `/bin/null/postfix/courier-authlib-0.58/gdbmobj'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/bin/null/postfix/courier-authlib-0.58/gdbmobj'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/bin/null/postfix/courier-authlib-0.58'
make: *** [all] 错误 2
在网上一大把都是说在 GCC 的问题。 在Makefile 里加上-Wl,-Bdynamic -lgcc_s 这个参数。
这个参数加在哪里?是在CPPFLAGS 这个后面加吗? 可我加上了在MAKE 也还是不好用啊 |
|