OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Cyris SSL Include & DDEF_CONFIG_DIR

From: John (johnactiveinternet.com)
Date: Fri Oct 01 2004 - 16:21:10 CDT


The following would create an error when compiling. I ended up modifying
vim mail_params.h and leaving out the DDEF_CONFIG_DIR option. It then
worked fine. Below is a copy of the error and below that is the make
command that I used. It seems to become an issue with the Cyrus support.

HAS_MYSQL -I/usr/local/mysql/include -g -O -I. -I../../include -DLINUX2 -c
is_header.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c log_adhoc.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c mail_addr.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c mail_addr_crunch.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c mail_addr_find.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c mail_addr_map.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c mail_command_client.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c mail_command_server.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR="/usr/local/postfix" -DHAS_MYSQL -I/usr/local/mysql/include
-g -O -I. -I../../include -DLINUX2 -c mail_conf.c
mail_conf.c: In function `mail_conf_checkdir':
mail_conf.c:113: syntax error before '/' token
mail_conf.c: In function `mail_conf_suck':
mail_conf.c:163: syntax error before '/' token
mail_conf.c:171: syntax error before '/' token
mail_conf.c:171: syntax error before '/' token
mail_conf.c:171: syntax error before '/' token
mail_conf.c:171: syntax error before '/' token
mail_conf.c:171: syntax error before ')' token
mail_conf.c:171: `__result' undeclared (first use in this function)
mail_conf.c:171: (Each undeclared identifier is reported only once
mail_conf.c:171: for each function it appears in.)
mail_conf.c:171: syntax error before '/' token
mail_conf.c:171: syntax error before '/' token
mail_conf.c:171: syntax error before '/' token
mail_conf.c:171: syntax error before ':' token
mail_conf.c:171: `__s2' undeclared (first use in this function)
mail_conf.c:171: `__s1_len' undeclared (first use in this function)

make makefiles CCARGS=" -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_CONFIG_DIR=\"/usr/local/postfix\" -DHAS_MYSQL
-I/usr/local/mysql/include " \
AUXLIBS="-L/usr/local/lib -lsasl2 -L/usr/local/mysql/lib -lmysqlclient -lz
-lm"