public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] webserver don't run on ecos : Program received signal SIGBUS, Bus error.
@ 2000-08-01  1:21 Guillermo GARCIA
  2000-08-01 12:13 ` [ECOS] webserver don't run on ecos : Program received signal Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Guillermo GARCIA @ 2000-08-01  1:21 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5253 bytes --]

hi all, i receive the following mail : It looks to me like this 
user is not using the correct Makefile.  I just = tried it here and 
everything works just fine.  Here are the steps I = took: 1. 
Unpack the 'tar', file. ok 2. cd .../ECOS (... is where I unpacked 
the files) ok 3. "edit" Makefile These lines need 
to be modified. There are two extant examples in the 
= file. ##PKG_INSTALL_DIR :=3D /work/net_mbx/install ok -> 
PKG_INSTALL_DIR :=3D /d/eCos2/conf_install ##COMMAND_PREFIX :=3D 
powerpc-eabi- ok -> COMMAND_PREFIX :=3D arm-elf- ##CFLAGS 
:=3D -mcpu=3D860 -msoft-float $(DEBUG) ok -> CFLAGS :=3D 
-mcpu=3Darm7tdmi -D__EDB7209 -D__EDB7212 $(DEBUG) 4. make The 
'make' output quoted below tells me the user is not using the ECOS = makefile 
since the -DECOS flag is not present. As for who to ask for additional 
assistance, the best way to get answers = is via the mailing list 'ecos-discuss@sourceware.cygnus.com' 
There are = many knowledgeable folks on this list, not just the eCos 
developers. = Chances are, you'll get a speedy response, with the added bonus 
that the = rest of the eCos community gets to benefit from the questions and 
= answers. i still have the error gcc -o webcomp -O2 -DWEBS 
-DUEMF -DOS=3D"Linux" -DLINUX -I.. ../webcomp.c In file 
included from 
../wsIntrn.h:114,                  
from ../webcomp.c:21: ../uemf.h:194: redefinition of `struct 
timeval' ../webcomp.c: In function `compile': ../webcomp.c:121: warning: 
comparison of distinct pointer types lacks a cast make: *** [webcomp] 
Error 1 but it's easy to resolve it. i define this : #define 
WEBS_PAGE_ROM 1 in file wsIntrn.h. i have at last the binary for my 
cirrus logic board so with the red hat ecos configuration tool i 
run webs.exe and i have the output below : *** 09:43:51 Run 
started GNU gdb 20000314 Copyright 1998 Free Software Foundation, 
Inc. GDB is free software, covered by the GNU General Public License, and you 
are welcome to change it and/or distribute copies of it under certain 
conditions. Type "show copying" to see the conditions. There 
is absolutely no warranty for GDB.  Type "show warranty" for 
details. This GDB was configured as "--host=3Di686-pc-cygwin 
--target=3Darm-elf"... (gdb) set height 0 set height 0 (gdb) 
set remotedebug 0 set remotedebug 0 (gdb) set remotebaud 38400 set 
remotebaud 38400 (gdb) target remote com1 target remote com1 Remote 
debugging using com1 0xe0001750 in ?? () (gdb) load load Loading 
section .rom_vectors, size 0x60 lma 0x8000 Loading section .text, size 
0x3850c lma 0x8060 Loading section .rodata, size 0x41d9 lma 
0x4056c Loading section .data, size 0x103b78 lma 0x44748 Start address 
0x8060 , load size 1311421 Transfer rate: 27039 bits/sec, 305 
bytes/write. (gdb) break cyg_test_exit break cyg_test_exit Breakpoint 1 
at 0x33e18: file //C/PROGRA~1/REDHAT~1/eCos/packages/infra/v1_3_1/src/tcdiag.cxx , 
line 116. (gdb) break cyg_assert_fail break 
cyg_assert_fail Function "cyg_assert_fail" not defined. (gdb) 
break cyg_test_init break cyg_test_init Function "cyg_test_init" 
not defined. (gdb) cont cont Continuing. Init device 
'/dev/ttydiag' Init tty channel: 148218 Init device 
'/dev/haldiag' HAL/diag SERIAL init Network stack using 65536 bytes for 
misc 
space                     
65536 bytes for 
mbufs                     
131072 bytes for mbuf clusters Init device 'edb7xxx' cs8900 init CS8900 
- type: 630E, rev: 800 CS8900 - status: D6 (no EEPROM present) BOOTP[eth0] 
op: REPLY        hw_type: 
Ethernet        hw_addr: 
FF:FF:FF:FF:FF:FF      client IP: 
10.20.2.202          my IP: 
10.20.2.202      server IP: 
10.20.2.48     gateway IP: 10.20.2.250   
options:         subnet mask: 
255.255.255.0        IP broadcast: 
10.20.2.255 [New thread 2] Program received signal SIGBUS, Bus 
error. [Switching to thread 2] 0xe274 in hashIndex (tp=3D0x1ff00c12, 
name=3D0x151849 "") at ../sym.c:430 430  return sum % 
tp->hash_size; (gdb) set cyg_test_is_simulator=3D0 set 
cyg_test_is_simulator=3D0 Address of symbol "cyg_test_is_simulator" 
is unknown. (gdb) cont cont Continuing. Program received signal 
SIGBUS, Bus error. 0xe0a4 in symEnter (sd=3D8, name=3D0x151834 
"/graphics/sidebar.gif", v=3D{value =3D 
{         flag =3D 76 'L', byteint =3D 76 
'L', shortint =3D 26444, percent =3D 76 
'L',=20         integer =3D 1337164, hex 
=3D 1337164, octal =3D 1337164, big =3D {1337164, 
0},=20         string =3D 0x14674c 
"|)\004", bytes =3D 0x14674c 
"|)\004",=20         errmsg =3D 
0x14674c "|)\004", symbol =3D 0x14674c}, type =3D 
integer,=20       valid =3D 1, allocated =3D 0}, 
arg=3D0) at ../sym.c:284 284  if ((sp =3D tp->hash_table[hindex]) 
!=3D NULL) { (gdb) *** 09:51:20 Run complete the error come from 
hAlloc that return -1. but i don't know why ? and that is why i have the 
"(113) No route to host". thanks for 
help. Guillermo.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] webserver don't run on ecos : Program received signal
  2000-08-01  1:21 [ECOS] webserver don't run on ecos : Program received signal SIGBUS, Bus error Guillermo GARCIA
@ 2000-08-01 12:13 ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2000-08-01 12:13 UTC (permalink / raw)
  To: Guillermo GARCIA; +Cc: ecos-discuss

Comments below, mixed in with the message.

On 01-Aug-2000 Guillermo GARCIA wrote:
> hi all,
> 
> i receive the following mail :
> It looks to me like this user is not using the correct Makefile.  I just =
> tried it here and everything works just fine.  Here are the steps I =
> took:
> 
> 1. Unpack the 'tar', file.
> 
> ok
> 
> 2. cd .../ECOS (... is where I unpacked the files)
> 
> ok
> 
> 3. "edit" Makefile
> 
> These lines need to be modified. There are two extant examples in the =
> file.
> 
>##PKG_INSTALL_DIR :=3D /work/net_mbx/install
> 
> ok -> PKG_INSTALL_DIR :=3D /d/eCos2/conf_install
> 
>##COMMAND_PREFIX :=3D powerpc-eabi-
> 
> ok -> COMMAND_PREFIX :=3D arm-elf-
> 
> 
>##CFLAGS :=3D -mcpu=3D860 -msoft-float $(DEBUG)
> 
> ok -> CFLAGS :=3D -mcpu=3Darm7tdmi -D__EDB7209 -D__EDB7212 $(DEBUG)
> 
> 
> 4. make
> 
> The 'make' output quoted below tells me the user is not using the ECOS =
> makefile since the -DECOS flag is not present.
> 
> As for who to ask for additional assistance, the best way to get answers =
> is via the mailing list 'ecos-discuss@sourceware.cygnus.com' There are =
> many knowledgeable folks on this list, not just the eCos developers. =
> Chances are, you'll get a speedy response, with the added bonus that the =
> rest of the eCos community gets to benefit from the questions and =
> answers.
> 
> i still have the error
> 
> gcc -o webcomp -O2 -DWEBS -DUEMF -DOS=3D"Linux" -DLINUX -I.. 
> ../webcomp.c
> In file included from ../wsIntrn.h:114,
>                  from ../webcomp.c:21:
> ../uemf.h:194: redefinition of `struct timeval'
> ../webcomp.c: In function `compile':
> ../webcomp.c:121: warning: comparison of distinct pointer types lacks a 
> cast
> make: *** [webcomp] Error 1
> 

Can you send the _entire_ output from "make"?  The line quoted above is quite
troublesome since it does not have the appropriate flags.  E.g. when I build
this [on a different platform], I get lines such as:

sh-elf-gcc -c -o main.o -ml -m3 -ggdb -Wall -O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS
-D__ECOS -D__NO_FCNTL=1 -I.. -Wall -I/work/net2_hp/install/include -ffunction-sections
-fdata-sections -Wp,-MD,main.d main.c
main.c: In function `send':
main.c:252: warning: passing arg 2 of `write' discards qualifiers from pointer target type
sh-elf-gcc -c -o webrom.o -ml -m3 -ggdb -Wall -O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS
-D__ECOS -D__NO_FCNTL=1 -I.. -Wall -I/work/net2_hp/install/include -ffunction-sections
-fdata-sections -Wp,-MD,webrom.d webrom.c

Notice the -DECOS and -DWEBS -DUEMF -DWEBS_PAGE_ROM.  I'm still not convinced that
you are following the build instructions properly.  If you don't, the outcome is
certainly questionable.

> but it's easy to resolve it.
> i define this : #define WEBS_PAGE_ROM 1 in file wsIntrn.h.
> 
> 
> i have at last the binary for my cirrus logic board
> so with the red hat ecos configuration tool i run
> webs.exe and i have the output below :
> 
> *** 09:43:51 Run started
> GNU gdb 20000314
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you 
> are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for 
> details.
> This GDB was configured as "--host=3Di686-pc-cygwin 
> --target=3Darm-elf"...
> (gdb) set height 0
> set height 0
> (gdb) set remotedebug 0
> set remotedebug 0
> (gdb) set remotebaud 38400
> set remotebaud 38400
> (gdb) target remote com1
> target remote com1
> Remote debugging using com1
> 0xe0001750 in ?? ()
> (gdb) load
> load
> Loading section .rom_vectors, size 0x60 lma 0x8000
> Loading section .text, size 0x3850c lma 0x8060
> Loading section .rodata, size 0x41d9 lma 0x4056c
> Loading section .data, size 0x103b78 lma 0x44748
> Start address 0x8060 , load size 1311421
> Transfer rate: 27039 bits/sec, 305 bytes/write.
> (gdb) break cyg_test_exit
> break cyg_test_exit
> Breakpoint 1 at 0x33e18: file 
> //C/PROGRA~1/REDHAT~1/eCos/packages/infra/v1_3_1/src/tcdiag.cxx, line 
> 116.
> (gdb) break cyg_assert_fail
> break cyg_assert_fail
> Function "cyg_assert_fail" not defined.
> (gdb) break cyg_test_init
> break cyg_test_init
> Function "cyg_test_init" not defined.
> (gdb) cont
> cont
> Continuing.
> Init device '/dev/ttydiag'
> Init tty channel: 148218
> Init device '/dev/haldiag'
> HAL/diag SERIAL init
> Network stack using 65536 bytes for misc space
>                     65536 bytes for mbufs
>                     131072 bytes for mbuf clusters
> Init device 'edb7xxx'
> cs8900 init
> CS8900 - type: 630E, rev: 800
> CS8900 - status: D6 (no EEPROM present)
> BOOTP[eth0] op: REPLY
>        hw_type: Ethernet
>        hw_addr: FF:FF:FF:FF:FF:FF
>      client IP: 10.20.2.202
>          my IP: 10.20.2.202
>      server IP: 10.20.2.48
>     gateway IP: 10.20.2.250
>   options:
>         subnet mask: 255.255.255.0
>        IP broadcast: 10.20.2.255
> [New thread 2]
> 
> Program received signal SIGBUS, Bus error.
> [Switching to thread 2]
> 0xe274 in hashIndex (tp=3D0x1ff00c12, name=3D0x151849 "") at 
> ../sym.c:430
> 430  return sum % tp->hash_size;
> (gdb) set cyg_test_is_simulator=3D0
> set cyg_test_is_simulator=3D0
> Address of symbol "cyg_test_is_simulator" is unknown.
> (gdb) cont
> cont
> Continuing.
> 
> Program received signal SIGBUS, Bus error.
> 0xe0a4 in symEnter (sd=3D8, name=3D0x151834 "/graphics/sidebar.gif", 
> v=3D{value =3D {
>         flag =3D 76 'L', byteint =3D 76 'L', shortint =3D 26444, percent 
> =3D 76 'L',=20
>         integer =3D 1337164, hex =3D 1337164, octal =3D 1337164, big =3D 
> {1337164, 0},=20
>         string =3D 0x14674c "|)\004", bytes =3D 0x14674c "|)\004",=20
>         errmsg =3D 0x14674c "|)\004", symbol =3D 0x14674c}, type =3D 
> integer,=20
>       valid =3D 1, allocated =3D 0}, arg=3D0) at ../sym.c:284
> 284  if ((sp =3D tp->hash_table[hindex]) !=3D NULL) {
> (gdb) *** 09:51:20 Run complete
> 
> the error come from hAlloc that return -1. but i don't know why ?
> and that is why i have the "(113) No route to host".
> 

Did you remember to update your eCos 'malloc heap size'?  This needs
to be done before you build your eCos kernel library.  You'll need to
set the CDL variable as follows:

cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
    user_value 1638400
};


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] webserver don't run on ecos : Program received signal
@ 2000-08-03  7:12 GARCIA Guillermot
  0 siblings, 0 replies; 5+ messages in thread
From: GARCIA Guillermot @ 2000-08-03  7:12 UTC (permalink / raw)
  To: bartv; +Cc: ecos-discuss

Hi bart !

>No. This is the CDL description of the C library package and, like the
>C library source code, is usually edited only by the package
>maintainer. Instead you need to manipulate your specific configuration
>and then build eCos accordingly. Under Windows this can be done in the
>GUI configuration tool, use the tree view to navigate into the C
>library options and then edit the value "Size of the dynamic memory
>pool in bytes" to be something appropriate.

the value was already set to 1638400 so this is
not the source of my problem.

i wait for Gary's suggestions ;) because i have tried all
that i can.

thanks for your help.

Guillermo.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] webserver don't run on ecos : Program received signal
  2000-08-02  1:19 Guillermo GARCIA
@ 2000-08-02  5:12 ` Bart Veer
  0 siblings, 0 replies; 5+ messages in thread
From: Bart Veer @ 2000-08-02  5:12 UTC (permalink / raw)
  To: guga; +Cc: ecos-discuss

>>>>> "Guillermo" == Guillermo GARCIA <guga@teamlog.fr> writes:

I'll leave the make output to Gary to examine.

    >> Did you remember to update your eCos 'malloc heap size'?  This needs
    >> to be done before you build your eCos kernel library.  You'll need to
    >> set the CDL variable as follows:
    >> 
    >> cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
    >> user_value 1638400
    >> };


    Guillermo> i don't have a "user_value" but in the stdlib.cdl file i have this :

    Guillermo>    cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
    Guillermo>         display       "Size of the dynamic memory pool in bytes"
    Guillermo>         flavor        data
    Guillermo>         legal_values  32 to 0x7fffffff
    Guillermo>         default_value 16384
    Guillermo>         ...
    Guillermo>     }

    Guillermo> is it the "default_value" i must change ?

No. This is the CDL description of the C library package and, like the
C library source code, is usually edited only by the package
maintainer. Instead you need to manipulate your specific configuration
and then build eCos accordingly. Under Windows this can be done in the
GUI configuration tool, use the tree view to navigate into the C
library options and then edit the value "Size of the dynamic memory
pool in bytes" to be something appropriate. If instead you are using
the command-line ecosconfig tool, there will be a file ecos.ecc which
you can edit. Somewhere in that file you should see something like:

cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value 16384
    # Default value: 16384
    ...
}

If you follow the instructions you should end up with something like: 

cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
    # Flavor: data
    # No user value, uncomment the following line to provide one.
    user_value 1638400
    # Default value: 16384
    ...
}

Then run ecosconfig again to update the build tree, and rebuild eCos.

All this is explained in the eCos User's Guide, which should be part
of your installation. Alternatively, you can read it online at
http://sources.redhat.com/ecos/docs-latest/

Bart Veer // eCos net maintainer

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] webserver don't run on ecos : Program received signal
@ 2000-08-02  1:19 Guillermo GARCIA
  2000-08-02  5:12 ` Bart Veer
  0 siblings, 1 reply; 5+ messages in thread
From: Guillermo GARCIA @ 2000-08-02  1:19 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

Hi Gary !

>Can you send the _entire_ output from "make"?  The line quoted above is
quite
>troublesome since it does not have the appropriate flags.  E.g. when I
build
>this [on a different platform], I get lines such as:
>
>sh-elf-gcc -c -o
main.o -ml -m3 -ggdb -Wall -O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DE
COS
>-D__ECOS -D__NO_FCNTL=1 -I.. -Wall -I/work/net2_hp/install/include -ffuncti
on-sections
>-fdata-sections -Wp,-MD,main.d main.c
>main.c: In function `send':
>main.c:252: warning: passing arg 2 of `write' discards qualifiers from
pointer target type
>sh-elf-gcc -c -o
webrom.o -ml -m3 -ggdb -Wall -O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -
DECOS
>-D__ECOS -D__NO_FCNTL=1 -I.. -Wall -I/work/net2_hp/install/include -ffuncti
on-sections
>-fdata-sections -Wp,-MD,webrom.d webrom.c
>
>Notice the -DECOS and -DWEBS -DUEMF -DWEBS_PAGE_ROM.  I'm still not
convinced that
>you are following the build instructions properly.  If you don't, the
outcome is
>certainly questionable.


here comes the _entire_ output from "make" :

$ make
arm-elf-gcc -c -o
main.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -DW
EBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.. -
Wall
 -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,-MD
,mai
n.d main.c
In file included from main.c:18:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from main.c:18:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
main.c: In function `send':
main.c:249: warning: passing arg 2 of `write' discards qualifiers from
pointer t
arget type
arm-elf-gcc -c -o
../asp.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -
DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I..
 -Wa
ll -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,-
MD,.
./asp.d ../asp.c
In file included from ../wsIntrn.h:113,
                 from ../asp.c:19:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../asp.c:19:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../balloc.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O
2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -
I..
-Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -W
p,-M
D,../balloc.d ../balloc.c
In file included from ../balloc.c:30:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../balloc.c:31:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../base64.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O
2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -
I..
-Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -W
p,-M
D,../base64.d ../base64.c
In file included from ../wsIntrn.h:113,
                 from ../base64.c:17:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../base64.c:17:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../default.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -
O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 
-I..
 -Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -
Wp,-
MD,../default.d ../default.c
In file included from ../wsIntrn.h:113,
                 from ../default.c:23:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../default.c:23:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../ejlex.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I
.. -
Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp
,-MD
,../ejlex.d ../ejlex.c
In file included from ../ejIntrn.h:40,
                 from ../ejlex.c:18:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../ejIntrn.h:41,
                 from ../ejlex.c:18:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../ejparse.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -
O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 
-I..
 -Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -
Wp,-
MD,../ejparse.d ../ejparse.c
In file included from ../ejIntrn.h:40,
                 from ../ejparse.c:18:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../ejIntrn.h:41,
                 from ../ejparse.c:18:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../form.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
-DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.
. -W
all -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,
-MD,
../form.d ../form.c
In file included from ../wsIntrn.h:113,
                 from ../form.c:20:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../form.c:20:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../h.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -DW
EBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.. -
Wall
 -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,-MD
,../
h.d ../h.c
In file included from ../h.c:19:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../h.c:20:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../handler.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -
O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 
-I..
 -Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -
Wp,-
MD,../handler.d ../handler.c
In file included from ../wsIntrn.h:113,
                 from ../handler.c:18:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../handler.c:18:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../mime.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
-DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.
. -W
all -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,
-MD,
../mime.d ../mime.c
In file included from ../wsIntrn.h:113,
                 from ../mime.c:18:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../mime.c:18:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../misc.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
-DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.
. -W
all -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,
-MD,
../misc.d ../misc.c
In file included from ../misc.c:12:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../misc.c:13:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../page.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
-DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.
. -W
all -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,
-MD,
../page.d ../page.c
In file included from ../wsIntrn.h:113,
                 from ../page.c:19:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../page.c:19:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../ringq.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I
.. -
Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp
,-MD
,../ringq.d ../ringq.c
In file included from ../ringq.c:51:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../ringq.c:52:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../rom.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -
DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I..
 -Wa
ll -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,-
MD,.
./rom.d ../rom.c
In file included from ../wsIntrn.h:113,
                 from ../rom.c:23:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../rom.c:23:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../sock.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
-DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.
. -W
all -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,
-MD,
../sock.d ../sock.c
In file included from ../sock.c:20:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../sock.c:21:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
../sock.c: In function `socketDoOutput':
../sock.c:506: warning: implicit declaration of function `inet_addr'
arm-elf-gcc -c -o
../sockGen.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -
O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 
-I..
 -Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -
Wp,-
MD,../sockGen.d ../sockGen.c
In file included from ../sockGen.c:23:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../sockGen.c:24:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
../sockGen.c: In function `socketOpenConnection':
../sockGen.c:134: warning: implicit declaration of function `inet_addr'
../sockGen.c: In function `socketAccept':
../sockGen.c:359: warning: passing arg 3 of `accept' from incompatible
pointer t
ype
arm-elf-gcc -c -o
../security.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall
-O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1
 -I.
. -Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections 
-Wp,
-MD,../security.d ../security.c
In file included from ../wsIntrn.h:113,
                 from ../security.c:17:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../security.c:17:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../sym.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -
DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I..
 -Wa
ll -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,-
MD,.
./sym.d ../sym.c
In file included from ../sym.c:20:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../sym.c:21:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../uemf.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
-DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.
. -W
all -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,
-MD,
../uemf.d ../uemf.c
In file included from ../uemf.c:19:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../uemf.c:19:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../url.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -
DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I..
 -Wa
ll -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,-
MD,.
./url.d ../url.c
In file included from ../wsIntrn.h:113,
                 from ../url.c:17:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../url.c:17:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../value.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I
.. -
Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp
,-MD
,../value.d ../value.c
In file included from ../value.c:17:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../value.c:18:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
gcc -o webcomp -O2 -DWEBS -DUEMF -DOS="Linux" -DLINUX -I.. ../webcomp.c
../webcomp.c: In function `compile':
../webcomp.c:121: warning: comparison of distinct pointer types lacks a cast
find ../web -name "*.*" >web_files
./webcomp ../web web_files >webrom.c
arm-elf-gcc -c -o
webrom.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -
DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I..
 -Wa
ll -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,-
MD,w
ebrom.d webrom.c
In file included from ../wsIntrn.h:113,
                 from webrom.c:7:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from webrom.c:7:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../webs.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2
-DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.
. -W
all -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections -Wp,
-MD,
../webs.d ../webs.c
In file included from ../wsIntrn.h:113,
                 from ../webs.c:20:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../wsIntrn.h:114,
                 from ../webs.c:20:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-gcc -c -o
../websuemf.o -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall
-O2 -DWEBS -DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1
 -I.
. -Wall -I/d/eCos2/conf_install/include -ffunction-sections -fdata-sections 
-Wp,
-MD,../websuemf.d ../websuemf.c
In file included from ../ejIntrn.h:40,
                 from ../websuemf.c:17:
../uemf.h:215: warning: `LIBKERN_INLINE' redefined
/d/eCos2/conf_install/include/lib/libkern/libkern.h:100: warning: this is
the lo
cation of the previous definition
In file included from /d/eCos2/conf_install/include/machine/param.h:91,
                 from /d/eCos2/conf_install/include/sys/param.h:166,
                 from /d/eCos2/conf_install/include/network.h:60,
                 from ../uemf.h:150,
                 from ../ejIntrn.h:41,
                 from ../websuemf.c:17:
/d/eCos2/conf_install/include/lib/libkern/libkern.h:113: warning: static
declara
tion for `abs' follows non-static
arm-elf-ar rv libwebs.a ../asp.o ../balloc.o ../base64.o ../default.o
../ejlex.o
 ../ejparse.o ../form.o ../h.o ../handler.o ../mime.o ../misc.o ../page.o
../rin
gq.o ../rom.o ../sock.o ../sockGen.o ../security.o ../sym.o ../uemf.o
../url.o .
./value.o webrom.o ../webs.o ../websuemf.o
a - ../asp.o
a - ../balloc.o
a - ../base64.o
a - ../default.o
a - ../ejlex.o
a - ../ejparse.o
a - ../form.o
a - ../h.o
a - ../handler.o
a - ../mime.o
a - ../misc.o
a - ../page.o
a - ../ringq.o
a - ../rom.o
a - ../sock.o
a - ../sockGen.o
a - ../security.o
a - ../sym.o
a - ../uemf.o
a - ../url.o
a - ../value.o
a - webrom.o
a - ../webs.o
a - ../websuemf.o
arm-elf-gcc -o
webs -mcpu=arm7tdmi -D__EDB7209 -D__EDB7212 -g -Wall -O2 -DWEBS -
DUEMF -DWEBS_PAGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I..  \
        main.o
libwebs.a -nostartfiles -L/d/eCos2/conf_install/lib -Wl,--gc-sect
ions -Ttarget.ld -nostdlib

to have this make output i change three files :

1. uemf.f to remove this :

//#if LINUX && ! _STRUCT_TIMEVAL
//struct timeval
//{
// time_t tv_sec;  /* Seconds.  */
// time_t tv_usec; /* Microseconds.  */
//};
//#define _STRUCT_TIMEVAL 1
//#endif /* LINUX && ! _STRUCT_TIMEVAL */

2. wsIntrn.h to define WEBS_PAGE_ROM

3. makefile to change "cc" into "gcc" to compile webcomp.c

>
>Did you remember to update your eCos 'malloc heap size'?  This needs
>to be done before you build your eCos kernel library.  You'll need to
>set the CDL variable as follows:
>
>cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
>    user_value 1638400
>};


i don't have a "user_value" but in the stdlib.cdl file i have this :

   cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
        display       "Size of the dynamic memory pool in bytes"
        flavor        data
        legal_values  32 to 0x7fffffff
        default_value 16384
        description   "
            At this stage, dynamic memory allocation by
            malloc() and calloc() must be from a fixed-size,
            contiguous memory pool (note here that it is the
            pool that is of a fixed size, but malloc() is still
            able to allocate variable sized chunks of memory
            from it). This option is the size
            of that pool, in bytes. Note that not all of
            this is available for programs to
            use - some is needed for internal information
            about memory regions, and some may be lost to
            ensure that memory allocation only returns
            memory aligned on word (or double word)
            boundaries - a very common architecture
            constraint."
    }

is it the "default_value" i must change ?

thanks,

Guillermo.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-08-03  7:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-01  1:21 [ECOS] webserver don't run on ecos : Program received signal SIGBUS, Bus error Guillermo GARCIA
2000-08-01 12:13 ` [ECOS] webserver don't run on ecos : Program received signal Gary Thomas
2000-08-02  1:19 Guillermo GARCIA
2000-08-02  5:12 ` Bart Veer
2000-08-03  7:12 GARCIA Guillermot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).