пытаюсь собрать постфикс из сорцов с такими вот параметрами:
Цитата:
при компиляции вываливаются следующие ошибки:
Цитата:
ОС линукс, постфикс 2.3
Цитата:
[root@InetServer postfix-2.3.3]# make -f Makefile.init makefiles CCARGS='-DUSE_SASL_AUTH -I/usr/local/sasl/include/sasl -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -I/usr/include' AUXLIBS='-L/usr/local/sasl/lib -lsasl2 -L/usr/lib/mysql -lmysqlclient -lz -lm'
при компиляции вываливаются следующие ошибки:
Цитата:
gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -I/usr/include -g -O -I. -I../../include -DLINUX2 -c qmqp-sink.c
gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -I/usr/include -g -O -I. -I../../include -DLINUX2 -o qmqp-sink qmqp-sink.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib/mysql -lmysqlclient -lz -lm -ldb -lnsl -lresolv
cp qmqp-sink ../../bin/qmqp-sink
[src/sendmail]
gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -I/usr/include -g -O -I. -I../../include -DLINUX2 -c sendmail.c
gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -I/usr/include -g -O -I. -I../../include -DLINUX2 -o sendmail sendmail.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib/mysql -lmysqlclient -lz -lm -ldb -lnsl -lresolv
../../lib/libutil.a(dict_pcre.o)(.text+0x41): In function `dict_pcre_expand':
/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:177: undefined reference to `pcre_get_substring'
../../lib/libutil.a(dict_pcre.o)(.text+0x24a): In function `dict_pcre_lookup':
/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:286: undefined reference to `pcre_exec'
../../lib/libutil.a(dict_pcre.o)(.text+0x37f):/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:337: undefined reference to `pcre_exec'
../../lib/libutil.a(dict_pcre.o)(.text+0x742): In function `dict_pcre_compile':
/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:552: undefined reference to `pcre_compile'
../../lib/libutil.a(dict_pcre.o)(.text+0x777):/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:559: undefined reference to `pcre_study'
../../lib/libutil.a(dict_pcre.o)(.text+0x981): In function `dict_pcre_parse_rule':
/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:666: undefined reference to `pcre_fullinfo'
../../lib/libutil.a(dict_pcre.o)(.text+0xca1): In function `dict_pcre_open':
/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:815: undefined reference to `pcre_malloc'
../../lib/libutil.a(dict_pcre.o)(.text+0xcab):/usr/local/src/postfix-2.3.3/src/util/dict_pcre.c:816: undefined reference to `pcre_free'
collect2: ld returned 1 exit status
make: *** [sendmail] Ошибка 1
make: *** [update] Ошибка 1
[root@InetServer postfix-2.3.3]#
ОС линукс, постфикс 2.3