How can I remove file system

yanmiaobest yanmiaobest at 163.com
Tue Jun 12 06:37:46 UTC 2007


Hi Joel
   
   I followed your advice, but I got a problem.   This is my stub function:   void rtems_filesystem_initialize( void )
   {
   }   and I put this file into /c/src/optman/rtems, after recomplie the OS, I
   get the no-fs.rel, and I add a manager named fs to the manager list. But
   when make applications, I got a link error:[root at localhost core_obj]# make
sparc-rtems-gcc --pipe -B/opt/rtems/sparc-rtems/leon3/lib/ -specs bsp_specs -qrtems   -g -Wall  -O2 -g     -mcpu=cypress -msoft-float         -o o-optimize/hello.exe  o-optimize/test.o   /opt/rtems/sparc-rtems/leon3/lib/no-dpmem.rel /opt/rtems/sparc-rtems/leon3/lib/no-event.rel /opt/rtems/sparc-rtems/leon3/lib/no-io.rel /opt/rtems/sparc-rtems/leon3/lib/no-msg.rel /opt/rtems/sparc-rtems/leon3/lib/no-mp.rel /opt/rtems/sparc-rtems/leon3/lib/no-part.rel /opt/rtems/sparc-rtems/leon3/lib/no-signal.rel /opt/rtems/sparc-rtems/leon3/lib/no-timer.rel /opt/rtems/sparc-rtems/leon3/lib/no-rtmon.rel /opt/rtems/sparc-rtems/leon3/lib/no-fs.rel
/opt/rtems/sparc-rtems/leon3/lib/librtemscpu.a(base_fs.o): In function `rtems_filesystem_initialize':
/home/rtems/rtemsbuild/sparc-rtems/c/leon3/exec/libcsupport/../../../../../../rtems-4.6.5/cpukit/libcsupport/src/base_fs.c:44: multiple definition of`rtems_filesystem_initialize'
/opt/rtems/sparc-rtems/leon3/lib/no-fs.rel:/home/rtems/rtemsbuild/sparc-rtems/c/leon3/optman/../../../../../rtems-4.6.5/c/src/optman/rtems/no-fs.c:55: first defined here
/opt/rtems/lib/gcc-lib/sparc-rtems/3.2.3/../../../../sparc-rtems/bin/ld:Warning: size of symbol `rtems_filesystem_initialize' changed from 12 to 348in /opt/rtems/sparc-rtems/leon3/lib/librtemscpu.a(base_fs.o)
collect2: ld returned 1 exit status
make: *** [o-optimize/hello.exe] Error 1 the .rel should prevent linking to the .o , right ?
  
  
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070612/e25889ce/attachment-0001.html>


More information about the users mailing list