Hi, When I compile httpd-2.0, llvmgcc reports many struct types and macros undeclared, but gnu-gcc can compile httpd-2.0 completely. Does llvmgcc need some specific configure? Thanks. Xia ______________________________________ ע������30��������䣨 http://mail.sina.com.cn/chooseMode.html �� ==================================================================��ɽ��կ���������������ջ�֮�ã� (http://ad4.sina.com.cn/wx/ads/zhuiyu_hprefresh1.html)
Sounds like the cfrontend you are using doesn't match the flavor of Unix you are using. Which cfrontend did you download and which flavor of Unix are you using? On Wed, 22 Sep 2004 11:53:04 +0800 xia_yimin <xia_yimin at sina.com> wrote:> Hi, > > When I compile httpd-2.0, llvmgcc reports many struct types and > > macros undeclared, but gnu-gcc can compile httpd-2.0 completely. > > Does llvmgcc need some specific configure? > > Thanks. > > Xia
On Wed, Sep 22, 2004 at 11:53:04AM +0800, xia_yimin wrote:> When I compile httpd-2.0, llvmgcc reports many struct types and > macros undeclared, but gnu-gcc can compile httpd-2.0 completely. > Does llvmgcc need some specific configure?When I compiled httpd-2.0.47 on x86/Linux (I believe it was RedHat 8, a while ago), I did the following: 1. env CC=llvm-gcc ./configure --disable-dso --without-dso (one of those should be enough, but I forget which) 2. Unfortunately, that doesn't completely do the trick, so I had to manually edit include/ap_config_auto.h and replace #define HAVE_BINDPROCESSOR 1 with #undef HAVE_BINDPROCESSOR Hope this helps, -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu