Source Build Process

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Source Build Process

Postby daniel_jao » Mon Mar 21, 2011 9:04 am

hi, can anyone confirm if im doing this correctly;

I need to compile the source code so i download the OpenEMM-6.2-src.tar.gz

then in /home/oe, i put 2 tar.gz which are the following:
OpenEMM-6.2-src.tar.gz
and
OpenEMM-6.2-JARs.tar.gz

then i setup the ant and java home,

so i just did: ant -f openemm_build.xml build

is this correct?

im getting this as part of the log:

[exec] bav.c:328: warning: excess elements in struct initializer
[exec] bav.c:328: warning: (near initialization for 'bav')
[exec] bav.c:329: error: 'handle_to' undeclared here (not in a function)
[exec] bav.c:329: warning: excess elements in struct initializer
[exec] bav.c:329: warning: (near initialization for 'bav')
[exec] bav.c:330: error: 'handle_header' undeclared here (not in a function)
[exec] bav.c:330: warning: excess elements in struct initializer
[exec] bav.c:330: warning: (near initialization for 'bav')
[exec] bav.c:331: warning: excess elements in struct initializer
[exec] bav.c:331: warning: (near initialization for 'bav')
[exec] bav.c:332: warning: excess elements in struct initializer
[exec] bav.c:332: warning: (near initialization for 'bav')
[exec] bav.c:333: error: 'handle_eom' undeclared here (not in a function)
[exec] bav.c:333: warning: excess elements in struct initializer
[exec] bav.c:333: warning: (near initialization for 'bav')
[exec] bav.c:334: warning: excess elements in struct initializer
[exec] bav.c:334: warning: (near initialization for 'bav')
[exec] bav.c:335: error: 'handle_close' undeclared here (not in a function)
[exec] bav.c:337: warning: excess elements in struct initializer
[exec] bav.c:337: warning: (near initialization for 'bav')
[exec] bav.c: In function 'main':
[exec] bav.c:426: error: 'bav' has an incomplete type
[exec] bav.c:426: error: 'MI_FAILURE' undeclared (first use in this function)
[exec] bav.c:426: error: (Each undeclared identifier is reported only once
[exec] bav.c:426: error: for each function it appears in.)
[exec] make: *** [bav.o] Error 1
[exec] Result: 2

am i doing it in the right way? please point me to the correct direction
daniel_jao
 
Posts: 10
Joined: Fri Mar 18, 2011 5:31 pm

Re: Source Build Process

Postby maschoff » Mon Mar 21, 2011 10:14 pm

Please provide the following info:
- your Linux distribution and version
- your version of gcc
- your version of glibc
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2144
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron