> $ arm-rtems4.12-nm \
>   /opt/rtems/4.12/arm-rtems4.12/xilinx_zynq_zc706/lib/libjffs2.a | \
>     grep rtems_jffs2_compressor_zlib_compress
> 00000000 T rtems_jffs2_compressor_zlib_compress
 
I checked the symbols, same result as yours.

>> I also add this library -
>> "additional_flags += 
>> ['-L/opt/rtems-4.11.1-release/4.11-bsp/arm-rtems4.11/xilinx_zynq_zedboard/lib
>>  -ljffs2']"
 
>Link order?

Yeah, I google it, and it says that this kind of error is related to linking 
order. But I use waf, and have no idea how to change the order...

    bld.program(target = "bkv01.elf",
                features = "cprogram",
                cflags = system_flags,
                includes = system_includes,
                source = system_src,
                use = ["bsd"],
                lib = ["m", "z"],
                install_path = None
    )

So I just delete the compressor & decompressor part, and run it. 
In the function "mount_and_make_target_path", the "rtems_mkdir" part works 
well, but the "mount" process takes a long time, and no return... 
I can not debug the mount process, since it is a system call.



Best wishes,
xuelin.t...@qkmtech.com
 
From: Chris Johns
Date: 2017-10-21 11:40
To: xuelin.t...@qkmtech.com; Sebastian Huber; users@rtems.org
Subject: Re: Filesystem in RTEMS
On 21/10/2017 13:13, xuelin.t...@qkmtech.com wrote:
> All these three functions should be defined in libjffs2.a, right?
 
Yeap ...
 
$ arm-rtems4.12-nm \
  /opt/rtems/4.12/arm-rtems4.12/xilinx_zynq_zc706/lib/libjffs2.a | \
    grep rtems_jffs2_compressor_zlib_compress
00000000 T rtems_jffs2_compressor_zlib_compress
 
> I also add this library - 
> "additional_flags += 
> ['-L/opt/rtems-4.11.1-release/4.11-bsp/arm-rtems4.11/xilinx_zynq_zedboard/lib 
> -ljffs2']"
 
Link order?
 
Chris
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to