This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A problem in building the HTTP server application


--- Gary Thomas <gary@mlbassoc.com> wrote:

> On Wed, 2004-10-13 at 08:16, Muna Hummady wrote:
> > Hello all
> > I'm following the steps in the MLB associate HTTP
> > server paper as shown:
> > 
> > A.  Building the eCos kernel:
> > 
> >       $ mkdir
> /home/muna/work/httpd_test/ecos_kernel
> >       $ cd /work/httpd_test/ecos_kernel
> >       $ ecosconfig new pc_rltk8139 net
> >       $ ecosconfig tree
> >       $ make
> 
> How did you manage this step if you have problems in
> step "D"?
> The same tools are used in both.
> 
> >   
> > B.  Creating the application
> > 
> >       $ cd /home/muna /work/httpd_test
> >       $ tar -zxvf libhttpd-1.3.tar.gz
> >       $ tar -zxvf httpd_application.tar.gz
> >       $ patch -p0 <lihhttpd.patch
> > 
> >     The libhttpd-1.3 and httpd_application
> directories
> >      are created.
> > 
> > C.  I'm enter to the libhttpd-1.3 directory and
> try to
> >      build the software by doing:
> >   
> >       $ cd /libhttpd-1.3 
> >       $./configure
> >       $ make all
> >       $ make install
> 
> You're still not following the directions - these
> steps are
> not part of the published procedure.
> 
> > 
> > D.  I'm downloading the build_Make.params file and
>    
> >      place it inside the httpd_application
> directory. 
> >   
> >     $ cd httpd_application
> >     $ sh build_Make.params
> > /work/httpd_test/ecos_kernel
> >     $ make
> > 
> >    When Im running make, the following output is  
>   
> >     appear on the command line tool:
> > 
> >     make c
> > /home/muna/work/httpd_test/libhttpd-1.3/src      
> > Make.ecos HOME=pwd
> >     make[1]: Entering directory /home/muna/work/  
>   
> >       httpd_test /libhttpd-1.3/src
> >     make[1]: libhttp.a is up to date.
> >     make[1]: Leaving /home/muna/work/httpd_test/  
>   
> >       libhttpd-1.3/src
> >    i386-elf-gcc c D_eCos Wall Wpointer-arith      
> >       -Wstrict-prototype Winline Wundef
> > Woverloaded-       virtual g O2 ffunction-sections
> > fdata-sections      fno-rtti fno-exceptions
> > fvtable-gc finit-           priority
> > I/home/muna/work/httpd_test/ecos-kernel/     
> install
> > -I/home/muna/work/httpd_test/                  
> > libhttpd-1.3/src test_httpd.c 
> >      i386-elf-gcc: Installation problem, cannot
> exec  
> > 
> >      cc1: No such file or directory
> >    make: *** [test_http.o] Error 1
> > 
> > I'm trying to solve this problem but I couldnt.
> Could
> > you help me please?
> 
> Have you built _any_ eCos applications before? 
> These tools
> are chosen based on the target platform and you need
> to have
> them installed and available in your path before you
> can
> build eCos programs.
> 
> -- 
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates
> 
> 
hello everyone
I'm exactly doing the following:
A- Building the eCos kernel:
   
   $ cd /work/httpd_test/ecos_kernel
   $ ECOS_REPOSITORY=/opt/ecos-cvs/packages
   $ export ECOS_REPOSITORY
   $ PATH=/opt/ecos-cvs/build/host/tools/configtool/ 
     stanalone/common:$PATH 
   $ PATH=/gnutools/i386-elf/bin:$PATH
   $ export PATH
   $ ecosconfig new pc_rltk8139 net
   $ ecosconfig tree
   $ make

B- Creating the application

   $ cd /work/httpd_test
   $ tar -zxvf libhttpd-1.3.tar.gz
   $ tar -zxvf httpd_application.tar.gz
   $ patch -p0 <lihhttpd.patch

   The libhttpd-1.3 and httpd_application directories
     are created.

C- I'm downloading the build_Make.params file and
   place it inside the httpd_application directory. 

    $ cd httpd_application
    $ sh build_Make.params
/work/httpd_test/ecos_kernel
    $ make

   When Im running make, the following output is
appear    on the command line tool:
 
 make -c /work/httpd_test/libhttpd-1.3/src -f
Make.ecos   HOME='pwd'
 make[1]: Entering directory '/work/httpd_test/       
   libhttpd-1.3/src'
 make[1]: 'libhttp.a' is up to date.
 make[1]: Leaving '/work/httpd_test/libhttpd-1.3/src'
 i386-elf-gcc -c D_eCos -Wall
-Wpointer-arith-prototype    -Winline -Wundef
-Woverloaded-virtual -g -O2           
-ffunction-sections -fdata-sections -fno-rtti         
 -fno-exceptions -fvtable-gc finit-priority
   -I/work/httpd_test/ecos-kernel/install/include     
    -I/work/httpd_test/libhttpd-1.3/src test_httpd.c
In file included from test_httpd.c:39
/work/httpd_test/libhttpd-1.3/src/httpd.h:121:warning:
   function declaration is'nt a prototype 
/work/httpd_test/libhttpd-1.3/src/httpd.h:124:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:181:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:181:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:182:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:183:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:184:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:185:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:185:warning:
   function declaration is'nt a prototype
/work/httpd_test/libhttpd-1.3/src/httpd.h:199:warning:
   function declaration is'nt a prototype 

test_httpd.c:60:warning:function declaration is'nt a  
    prototype 
test_httpd.c:93:warning:function declaration is'nt a  
    prototype

test_httpd.c:in function 'test2.html':
test_httpd.c:116:warning:Implicit declaration
infunction 'show_network_tables'

test_httpd.c: at top level
test_httpd.c:122:warning:function declaration is'nt a 
     prototype 
test_httpd.c:134:warning:function declaration is'nt a 
     prototype 

test_httpd.c: In function 'login-html'
test_httpd.c:136:warning:Implicit declaration of
function 'httpdForceAuthenticate'

test_httpd.c: At top level
test_httpd.c:169:warning:function declaration is'nt a 
     prototype 

test_httpd.c: In function 'httpd_test'
test_httpd.c:193:warning:Implicit declaration of
function 'init_all_network_interfaces'
test_httpd.c:231:warning:Implicit declaration of
function 'exit'
test_httpd.c:175: unused variable 'errFlag'

test_httpd.c: In function 'cyg_start'
test_httpd.c:302: passing arg 2 of 'cyg_thread_create'
from incompatible pointer type

test_httpd.c: At top level
test_httpd.c:309:conflicting types for 'strdup'
/work/httpd_test/ecos-kernel/install/cyg/libc/string/string.h:156:previous
declaration of 'strdup'

test_httpd.c: In function 'strdup'
test_httpd.c:310:warning:Implicit declaration of
function 'malloc'
test_httpd.c:310:warning:initialization makes pointer
from integer without a cast 

make:***[test_httpd.o] Error1


I'm tried to find where is the error but I
could'nt.Could tell me please where is the problem ?
Could you help me?
I will appreciate your answer. 
                                Thanks 
                                 Muna




		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]