[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] -DLOG_OPENVPN might not be working


  • Subject: Re: [Openvpn-users] -DLOG_OPENVPN might not be working
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Sat, 2 Apr 2005 15:05:26 -0700 (MST)

On Tue, 1 Mar 2005, Michael Scheidell wrote:

> Enhancement quest:
> Add -D options from make CMDLINE to $CFLAGS.
> OR honer LOG_OPENVPN=LOG_LOCAL6 in ./configure (have it add to CFLAGS in
> Makefile)
> 
> On FBSD (ports, etc) if we do a 'make -DLOG_OPENVPN=LOG_LOCAL6' it
> should be passing the 
> -DLOG_OPENVPN=LOG_LOCAL to the makefile in the $CFLAGS line (it doesn't
> seem to)
> 
>  openvpn rc12:  
> 
> make -DLOG_OPENVPN=LOG_LOCAL6
> 
> Proof it doesn't pass make to cc:  make
> -DLOG_OPENVPN=RANDOM_CRAP_LKJLKJL
> (should error, 

It does [2.0-rc19]:

gcc -DHAVE_CONFIG_H -I. -I. -I.   -I.   -g -fno-inline -Wall 
-Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function 
-DLOG_OPENVPN=RANDOM_CRAP_LKJLKJL -MT error.o -MD -MP -MF 
".deps/error.Tpo" -c -o error.o error.c; \
error.c: In function `open_syslog':
error.c:403: error: `RANDOM_CRAP_LKJLKJL' undeclared (first use in this 
function)
error.c:403: error: (Each undeclared identifier is reported only once
error.c:403: error: for each function it appears in.)

James

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users