[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i386 bsp issues




On Thu, 2 Aug 2001, Joel Sherrill wrote:

> lange92 at 2067.resnet.uni.edu wrote:
> >
> > On Thu, 2 Aug 2001, Joel Sherrill wrote:
> >
> > > > ../rtems-4.5.0/configure --target=i386-rtems --enable-posix
> > > > --enable-rtemsbsp="pc386"
> > > > --prefix=/users/lange92/illinoiscentral/build-i386-coff-rtems
> > > >
> > > > compiles further now, but then it bombs out with the following errors:
> >
> > > > ../../../../../../pc386/lib/librtemsall.a(bootcard.o): In function `boot_card':
> > > > bootcard.c:108: undefined reference to `bsp_start'
> >
> > > Look in startup/Makefile* and remove the -DUSE_INIT_FINI
> >
> > This error still remains after making the change. Any ideas on this one?
>
> This is a different error and looks like you are somehow now building
> bspstart.o anymore.  You may need to clobber, reconfigure and build
> from scratch since you hacked a makefile.  If you did something slightly
> wrong, it could have messed up the dependencies in the build tree.

I am impressed. After making yet another directory, and logging the
configure script and all the output from `make all`, I did a search on
bspstart.c:

/users/lange92/illinoiscentral/rtems-4.5.0-gnat-3.12p-gcc-2.8.1-i386-rtemscoff/bin/i386-rtemscoff-gcc --pipe -B../../../../../../../../pc386/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm        -c  -O4 -o o-optimize/bspstart.o ../../../../../../../../../rtems-4.5.0/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
../../../../../../../../../rtems-4.5.0/c/src/lib/libbsp/i386/pc386/startup/bspstart.c:215: warning: alias definitions not supported in this configuration; ignored

I could attach the log files that were generated, but in the interest of
bandwidth I'm holding off on that for now.

Thanks again
DanL