RTEMS 4.6.5 biuld failed in FreeBSD 6.0

Ralf Corsepius ralf.corsepius at rtems.org
Sun Dec 18 07:51:40 UTC 2005


On Sun, 2005-12-18 at 18:27 +1100, Sam wrote:
> Hi,
> 
> I tried to build RTEMS 4.6.5 under FreeBSD 6.0, but it failed at the 
> "gmake" stage with the following error:

Once again: Too little information. You don't show us the the compiler
call.

> ../../../../../rtems-4.6.5/c/src/../../cpukit/libblock/src/ramdisk.c: In 
> function `ramdisk_ioctl':^M
> ../../../../../rtems-4.6.5/c/src/../../cpukit/libblock/src/ramdisk.c:145: 
> error: `EBADRQC' undeclared (first use in this func
> tion)^M
> ../../../../../rtems-4.6.5/c/src/../../cpukit/libblock/src/ramdisk.c:145: 
> error: (Each undeclared identifier is reported only
> once^M
> ../../../../../rtems-4.6.5/c/src/../../cpukit/libblock/src/ramdisk.c:145: 
> error: for each function it appears in.)^M
> gmake[4]: *** [o-optimize/ramdisk.o] Error 1^M
> gmake[4]: Leaving directory 
> `/usr/local/rtems-build/c/posix/exec/libblock'^M
> gmake[3]: *** [all-recursive] Error 1^M
> gmake[3]: Leaving directory `/usr/local/rtems-build/c/posix/exec'^M
> gmake[2]: *** [all-recursive] Error 1^M
> gmake[2]: Leaving directory `/usr/local/rtems-build/c/posix'^M
> gmake[1]: *** [all-recursive] Error 1^M
> gmake[1]: Leaving directory `/usr/local/rtems-build/c'^M
> gmake: *** [all-recursive] Error 1^M
> ^[[41mdev6:rtems-build #^[[0m exit^M^M
> exit^M
> 
> The steps I invoked with buildinig rtems are:
> 1. mkdir rtems-build
> 2. cd rtems-build
> 3. ../rtems-4.6.5/configure
> 4. gmake all
> but I failed at step 4.

Wild guess: I'd assume your cross toolchain is miscompiled or
incorrectly set up.

Also these ^M look very suspicious. They often indicate having corrupted
some sources by using a DOS editor.

Ralf





More information about the users mailing list