This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: webserver don't run on ecos : Program received signal
- To: "Gary Thomas" <gthomas at redhat dot com>
- Subject: Re: [ECOS] webserver don't run on ecos : Program received signal
- From: "Guillermo GARCIA" <guga at teamlog dot fr>
- Date: Wed, 2 Aug 2000 10:14:40 +0200
- Cc: <ecos-discuss at sourceware dot cygnus dot com>
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.