[ECOS] tests/flash1.c undefined reference to 'flash_errmsg'

Andrew Lunn andrew@lunn.ch
Sun Feb 13 22:53:00 GMT 2005


On Sun, Feb 13, 2005 at 02:31:30PM -0700, Gary Thomas wrote:
> On Sun, 2005-02-13 at 13:32 -0500, Brad Petrus wrote:
> > Hi,
> > 
> > I get the following error when trying to build the tests/flash1 test case:
> >    - undefined reference to 'flash_errmsg'
> > 
> > The package CYGPKG_IO_FLASH is included as are 
> > CYGPKG_DEVS_FLASH_AMD_AM29XXXXX and the flash-specific package for my 
> > target.  In CYGPKG_IO_FLASH, the option CYGSEM_IO_FLASH_LEGACY_API is 
> > enabled.  My eCos version is 2.0.33.
> > 
> > After grepping the source/build/install trees, I only find the source 
> > for cyg_flash_errmsg() but not flash_errmsg() although a prototype is 
> > existing for flash_errmsg() in io/flash/v2_0_33/include/flash.h.
> > 
> > Does anyone have any ideas where flash_errmsg() should be?
> > Thanks,
> > Brad
> 
> Where did version 2.0.33 come from?
> 
> This function has been defined in io/flash/<VERSION>/src/flash.c
> since day #1, so I don't know how you are getting this error.  It
> certainly is in the current CVS.

He is using the flash_v2 branch.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list