This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linker Errors


Hi All,

I am facing a problem regarding the jffs2 file system.

I am trying to compile the jffs2 file for i386 architecture.

I am able to build target.lib successfully. But while building the tests, I
am getting following linker errors.

/ecos-d/workdir/ecos/sleep_test_install/lib/libtarget.a(io_flash_flash.o):
In function `flash_errmsg':
make: Leaving directory `/ecos-d/workdir/ecos/sleep_test_build'
/ecos-d/ecos-2.0/packages/io/flash/v2_0/src/flash.c:484: undefined reference
to `flash_hwr_init'
/ecos-d/ecos-2.0/packages/io/flash/v2_0/src/flash.c:484: undefined reference
to `flash_erase_block'
/ecos-d/ecos-2.0/packages/io/flash/v2_0/src/flash.c:510: undefined reference
to `flash_hwr_map_error'
/ecos-d/ecos-2.0/packages/io/flash/v2_0/src/flash.c:484: undefined reference
to `flash_program_buf'
/ecos-d/ecos-2.0/packages/io/flash/v2_0/src/flash.c:508: undefined reference
to `flash_hwr_map_error'
collect2: ld returned 1 exit status
make[1]: ***
[/ecos-d/workdir/ecos/sleep_test_install/tests/io/pci/v2_0/tests/pci1] Error
1
make: *** [tests] Error 2


I can find these functions under flash support for different architectures.
I am adding general flash support package to the build tree.


Please help me in solving the problem.

Thanks

Kondaiah


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]