Building lwip

Peter Nguyen peter.nguyen at ...29...
Wed Feb 17 00:10:10 CET 2010


Hi Christian,

Turns out that the errors was on my end. So now that everything builds, 
I was wondering how to get this server running natively. I'm trying to 
run the simple web server on an ia32 machine, but I keep getting 
"sending packet failed" messages on serial output. The other message I 
keep getting is from test-dde-linux_linux26_net, where the message is 
"network device 1 unknown", which would suggest that the ethernet port 
is not being detected. The contents of the config file is the following:

<config>
    <start>
        <filename>timer</filename>
        <ram_quota>512K</ram_quota>
    </start>
    <start>
        <filename>pci_drv</filename>
        <ram_quota>512K</ram_quota>
    </start>
    <start>
        <filename>nic_drv</filename>
        <ram_quota>512K</ram_quota>
    </start>
    <start>
        <filename>test-dde_linux26_net</filename>
        <ram_quota>16M</ram_quota>
    </start>
    <start>
        <filename>lwip_httpsrv_test</filename>
        <ram_quota>1M</ram_quota>
    </start>
</config>

I have also included the listed files in the weaver_x86.xml file as well.

What steps do I need to do in order to get the web server up and running?

Thanks
Peter

Christian Helmuth wrote:
> Hello Peter,
>
> I could not reproduce the error here. Did you change any Genode
> sources on your side? Could you please generate preprocessor output
> for lwip_sys_arch.o by running
>
>   /usr/local/genode-gcc/bin/genode-x86-g++ -DCONFIG_MAX_THREAD_BITS=10 -ffunction-sections -nostdinc -g -O2 -MMD -MP -MT 'lwip_sys_arch.o lwip_sys_arch.d' -Wall  -static -fno-stack-protector -I.  -I/home/petern/gen_build/genode-okl4-x86/include -I/home/petern/downloads/genode-9.11/libports/include/lwip -I/home/petern/downloads/genode-9.11/libports/contrib/lwip-1.3.1/src/include -I/home/petern/downloads/genode-9.11/libports/contrib/lwip-1.3.1/src/include/ipv4 -I/home/petern/downloads/genode-9.11/libports/contrib/lwip-1.3.1/src/include/api -I/home/petern/downloads/genode-9.11/libports/contrib/lwip-1.3.1/src/include/netif -I/home/petern/downloads/genode-9.11/libports/src/lib/lwip/include -I/home/petern/downloads/genode-9.11/base-okl4/include -I/home/petern/downloads/genode-9.11/base/include -I/home/petern/downloads/genode-9.11/os/include -I/home/petern/downloads/genode-9.11/demo/include -I/home/petern/downloads/genode-9.11/libports/include -I/home/petern/downloads/genode-9.11/linux_drivers/include -I/home/petern/downloads/genode-9.11/sampling/include -I/home/petern/downloads/genode-9.11/base-okl4/include/x86 -I/home/petern/downloads/genode-9.11/base/include/x86 -I/home/petern/downloads/genode-9.11/os/include/x86 -I/home/petern/downloads/genode-9.11/demo/include/x86 -I/home/petern/downloads/genode-9.11/libports/include/x86 -I/home/petern/downloads/genode-9.11/linux_drivers/include/x86 -I/home/petern/downloads/genode-9.11/sampling/include/x86 -I/home/petern/downloads/genode-9.11/base-okl4/include/32bit -I/home/petern/downloads/genode-9.11/base/include/32bit -I/home/petern/downloads/genode-9.11/os/include/32bit -I/home/petern/downloads/genode-9.11/demo/include/32bit -I/home/petern/downloads/genode-9.11/libports/include/32bit -I/home/petern/downloads/genode-9.11/linux_drivers/include/32bit -I/home/petern/downloads/genode-9.11/sampling/include/32bit -I/usr/local/genode-gcc/lib/gcc/i686-pc-linux-gnu/4.2.4/include -c /home/petern/downloads/genode-9.11/libports/src/lib/lwip/platform/sys_arch.cc -o PRE -E -dD
>
> in your build directory and posting the file PRE? I'm sure we'll find
> the bug ;-)
>
> Greets
>   






More information about the users mailing list