I removed the DEBUG= to continue with the compilation and the compilation
stopped at the following in both 2.9 and 2.10 versions:
gcc -Wmissing-prototypes -Wformat -DNO_DB -I/usr/local/ldap/include
-DHAS_LDAP -DDEF_CONFIG_DIR=/usr/local/postfix-2.10/etc
-DDEF_COMMAND_DIR=/usr/local/postfix-2.10/sbin
-DDEF_DAEMON_DIR=/usr/local/postfix-2.10/libexec
-DDEF_MAILQ_DIR=/usr/local/postfix-2.10/bin
-DDEF_DATA_DIR=/usr/local/postfix-2.10/data
-DDEF_QUEUE_DIR=/var/log/postfix/spool
-DDEF_MANPAGE_DIR=/usr/local/postfix-2.10/man -DSNAPSHOT -g -O -I.
-I../../include -DLINUX2 -c mail_conf.c
mail_conf.c: In function ‘mail_conf_checkdir’:
mail_conf.c:127: error: expected expression before ‘/’ token
mail_conf.c: In function ‘mail_conf_suck’:
mail_conf.c:177: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
mail_conf.c:185: error: expected expression before ‘/’ token
make: *** [mail_conf.o] Error 1
make: *** [update] Error 1

Here is my system info:
# uname -a
Linux localhost 2.6.32-042stab049.6 #1 SMP Mon Feb 6 19:17:43 MSK 2012
x86_64 x86_64 x86_64 GNU/Linux
# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla--enable-bootstrap
--enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)

Thanks


On Fri, Feb 24, 2012 at 9:33 PM, Gamet A. <game...@gmail.com> wrote:

> Here are my compilation command list:
>
> -----------------------------------------------------------------------------------------------------------
> installDir=/usr/local/postfix-2.10
> make CCARGS='-DNO_DB' tidy
> make makefiles CCARGS="-DNO_DB -I/usr/local/ldap/include -DHAS_LDAP
> -DDEF_CONFIG_DIR='$installDir/etc' -DDEF_COMMAND_DIR='$installDir/sbin'
> -DDEF_DAEMON_DIR='$installDir/libexec' -DDEF_MAILQ_DIR='$installDir/bin'
> -DDEF_DATA_DIR='$installDir/data' -DDEF_QUEUE_DIR='/var/log/postfix/spool'
> -DDEF_MANPAGE_DIR='$installDir/man' DEBUG=''" \
>     UXLIBS="-L/usr/local/ldap/lib -lldap -L/usr/local/ldap/lib -llber"
> make
>
> -----------------------------------------------------------------------------------------------------------
> Output:
>
> -----------------------------------------------------------------------------------------------------------
> # make
> rm -f libexec/post-install && ln -f conf/post-install libexec/post-install
> rm -f libexec/postfix-files && ln -f conf/postfix-files
> libexec/postfix-files
> rm -f libexec/postfix-script && ln -f conf/postfix-script
> libexec/postfix-script
> rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper
> libexec/postfix-wrapper
> rm -f libexec/main.cf && ln -f conf/main.cf libexec/main.cf
> rm -f libexec/master.cf && ln -f conf/master.cf libexec/master.cf
> rm -f libexec/postmulti-script && ln -f conf/postmulti-script
> libexec/postmulti-script
> set -e; for i in src/util src/global src/dns src/tls src/xsasl src/milter
> src/master src/postfix src/fsstone src/smtpstone src/sendmail src/error
> src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr
> src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat
> src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap
> src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify
> src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr
> src/postmulti src/postscreen src/dnsblog src/tlsproxy; do \
>  (set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat
> -DNO_DB -I/usr/local/ldap/include -DHAS_LDAP
> -DDEF_CONFIG_DIR='/usr/local/postfix-2.10/etc'
> -DDEF_COMMAND_DIR='/usr/local/postfix-2.10/sbin'
> -DDEF_DAEMON_DIR='/usr/local/postfix-2.10/libexec'
> -DDEF_MAILQ_DIR='/usr/local/postfix-2.10/bin'
> -DDEF_DATA_DIR='/usr/local/postfix-2.10/data'
> -DDEF_QUEUE_DIR='/var/log/postfix/spool'
> -DDEF_MANPAGE_DIR='/usr/local/postfix-2.10/man' DEBUG='' -DSNAPSHOT' update
> MAKELEVEL=) || exit 1; \
>  done
> [src/util]
> gcc -Wmissing-prototypes -Wformat -DNO_DB -I/usr/local/ldap/include
> -DHAS_LDAP -DDEF_CONFIG_DIR=/usr/local/postfix-2.10/etc
> -DDEF_COMMAND_DIR=/usr/local/postfix-2.10/sbin
> -DDEF_DAEMON_DIR=/usr/local/postfix-2.10/libexec
> -DDEF_MAILQ_DIR=/usr/local/postfix-2.10/bin
> -DDEF_DATA_DIR=/usr/local/postfix-2.10/data
> -DDEF_QUEUE_DIR=/var/log/postfix/spool
> -DDEF_MANPAGE_DIR=/usr/local/postfix-2.10/man DEBUG= -DSNAPSHOT -g -O -I.
> -DLINUX2 -c alldig.c
> gcc: DEBUG=: No such file or directory
> make: *** [alldig.o] Error 1
> make: *** [update] Error 1
>
> -----------------------------------------------------------------------------------------------------------
>
> I tried with both DEBUG= and DEBUG='', but with the same above outcome.
> Are there any other parameters to pass to disable debug?
>
> Thanks
>

Reply via email to