building c++ samples

Gedare Bloom gedare at
Sat Nov 6 20:40:03 UTC 2010


I'm having a little difficulty in compiling the C++ samples (iostream
and cdwrite) and thought I might see if I can get any suggestions on
where I might look.  I am trying to build for QEMU/pc386, just to get
things working.

I configure with:
../rtems/configure --target=i386-rtems4.11 \
  --enable-rtemsbsp=pc386 \

But the iostream and cdwrite samples do not compile properly, the
Makefile is created, but when the build attempts to compile in those
directories I get the following output:

iostream$ make
object='init.o' libtool=no \
	DEPDIR=.deps  /bin/sh
	i386-rtems4.11-g++ -B../../../../../pc386/lib/ -specs bsp_specs
-qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
    -mtune=i386 -O2 -g -Wall -Wimplicit-function-declaration
-Wstrict-prototypes -Wnested-externs -c -o init.o
depcomp: Variables source, object and depmode must be set
make: *** [init.o] Error 1

Any ideas what I might be missing?

More information about the users mailing list