Hi
Am 23.08.2013 um 12:38 schrieb meequz . <[email protected]>:

> Hello.
> 
> I have an i.MX6-based ARM board. I try to build basic linuxcnc to it, that
> branch: git://git.mah.priv.at/emc2-dev.git linuxcnc-rtos

AFAICT there is no such branch in my repo

If you want to try the current status:

- read this: http://static.mah.priv.at/public/UnifiedBuild.html
- try this branch: 
https://github.com/mhaberler/linuxcnc/tree/unified-build-candidate-2

- Michael



> So I disable everything (--disable-gtk --disable-python --without-x
> --disable-build-documentation --disable-drivers); was it a good idea or
> something from that list must be enabled no matter what? And enable
> simulator mode to run with a standart linux kernel.
> 
> 
> I have the following errors:
> 
> Compiling libnml/nml/stat_msg.cc
> Compiling libnml/linklist/linklist.cc
> Compiling rtapi/sim_rtapi_app.cc
> In file included from rtapi/rtapi.h:214:0,
>                 from rtapi/sim_rtapi_app.cc:40:
> rtapi/rtapi_bitops.h:297:2: error: #error The header file <asm/bitops.h> is
> not usable and rtapi does not yet have support for your CPU
> Compiling rtapi/sim_rtapi.c
> Compiling rtapi/test_rtapi_vsnprintf.c
> In file included from rtapi/rtapi.h:214:0,
>                 from rtapi/sim_rtapi.c:23:
> rtapi/rtapi_bitops.h:297:2: error: #error The header file <asm/bitops.h> is
> not usable and rtapi does not yet have support for your CPUIn file included
> from rtapi/rtapi.h:214:0,
>                 from rtapi/test_rtapi_vsnprintf.c:1:
> rtapi/rtapi_bitops.h:297:2: error: #error The header file <asm/bitops.h> is
> not usable and rtapi does not yet have support for your CPU
> In file included from rtapi/sim_rtapi.c:23:0:
> rtapi/rtapi.h: In function 'rtapi_mutex_give':
> rtapi/rtapi.h:231:2: warning: implicit declaration of function
> 'test_and_clear_bit' [-Wimplicit-function-declaration]
> rtapi/rtapi.h: In function 'rtapi_mutex_try':
> rtapi/rtapi.h:243:2: warning: implicit declaration of function
> 'test_and_set_bit' [-Wimplicit-function-declaration]
> 
> In file included from rtapi/test_rtapi_vsnprintf.c:1:0:
> rtapi/rtapi.h: In function 'rtapi_mutex_give':
> rtapi/rtapi.h:231:2: warning: implicit declaration of function
> 'test_and_clear_bit' [-Wimplicit-function-declaration]
> rtapi/rtapi.h: In function 'rtapi_mutex_try':
> rtapi/rtapi.h:243:2: warning: implicit declaration of function
> 'test_and_set_bit' [-Wimplicit-function-declaration]
> In file included from rtapi/sim_rtapi.c:381:0:
> ./rtapi/sim_common.h: At top level:
> ./rtapi/sim_common.h:220:2: warning: #warning No implementation of
> rtapi_get_clocks available [-Wcpp]
> make[1]: *** [objects/rtapi/sim_rtapi.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [objects/rtapi/test_rtapi_vsnprintf.o] Error 1
> In file included from rtapi/sim_rtapi_app.cc:40:0:
> rtapi/rtapi.h: In function 'void rtapi_mutex_give(long unsigned int*)':
> rtapi/rtapi.h:231:29: error: 'test_and_clear_bit' was not declared in this
> scope
> rtapi/rtapi.h: In function 'int rtapi_mutex_try(long unsigned int*)':
> rtapi/rtapi.h:243:34: error: 'test_and_set_bit' was not declared in this
> scope
> rtapi/rtapi.h: In function 'void rtapi_mutex_get(long unsigned int*)':
> rtapi/rtapi.h:252:34: error: 'test_and_set_bit' was not declared in this
> scope
> make[1]: *** [objects/rtapi/sim_rtapi_app.o] Error 1
> make[1]: Leaving directory
> `/home/meequz/src/OSELAS.BSP/platform-mx6/build-target/linuxcnc-2.5.2/src'
> make: *** [/home/meequz/src/OSELAS.BSP/platform-mx6/state/linuxcnc.compile]
> Error 2
> make: *** No targets specified and no makefile found.  Stop.
> 
> 
> The software is a ptxdist (
> http://www.pengutronix.de/software/ptxdist/index_en.html) as an embedded
> distro and OSELAS Toolchain (
> http://www.pengutronix.com/oselas/toolchain/index_en.html) as a cross
> toolchain.
> 
> I have read that its possible to migrate from asm-bitops to bitops
> implemented in gcc. How can I do that?
> 
> 'linuxcnc-2.5.2' in the end of the log is only a direcory name, not really
> 2.5.2 version. The VERSION file inside contains a line '2.6.0~pre'.
> 
> If you need all configure and make log, let me know.
> 
> -- 
> з павагай,
> meequz
> 
> regards,
> meequz
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to