On 2007-11-13 08:21:39, Zed A. Shaw wrote:
> I didn't have time to track down the full cause, but if you try building the 
> latest git on Linux it complains that environ isn't defined in os-unix.c.  
> You have to explicitly declare it extern in os-unix.h:
> 
> extern char **environ;
> 
> Then it builds.  Anyone else seeing this?  This is with gcc (GCC) 4.2.2 on 
> Linux x86-64.


I've sent a patch to Slave.

Change the line with CFLAGS in vm/Config.linux to

CFLAGS += -export-dynamic -D_GNU_SOURCE


environ is defined in unistd.h. But only when __USE_GNU is
defined. Which itself is only defined when _GNU_SOURCE is ...


Regards,
Stefan

-- 
Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to