Hi Antti,

> > I'm trying to integrate a rump kernel into an existing application which
> > needs to create UDF filesystem images in userspace.  The code is currently
> > using UDFtoolkit but it turns out that is rather unstable for writing.
> 
> Nice, please let us know how it works out.

Will do and thanks for your work.  This will be a nice experiment for me
and if I end up needing to port the application to Windows (which may well
happen later) then I can at least contribute that work back to
rumpkernel.org.

> > 2) I then tried to build fstest2.c manually:
> >
> >   $ gcc -o fstest2 fstest2.c -I../common -I../../../rump-static/include/ 
> > -L../../../rump-static/lib ../../../rump-static/lib/librump.a 
> > ../../../rump-static/lib/librumpuser.a 
> > ../../../rump-static/lib/librumpfs_sysvbfs.a -lrt -ldl
> >
> > (It turns out this still needs libdl, so I added that in)
> 
> ... -Wl,--whole-archive -libs -Wl,--no-whole-archive
> 
> It might also be easier to compile the program manually by using 
> rumpmake, i.e. when in the fstest_img run "../../obj/tooldir/rumpmake"

Ah, ok, got it.  So the full command is:

 $ gcc -o fstest2 fstest2.c -I../common -I../../../rump-static/include/ 
-L../../../rump-static/lib -Wl,--whole-archive -lrump -lrumpuser 
-lrumpfs_sysvbfs -lrumpvfs -Wl,--no-whole-archive -lrt -ldl

And this works fine.  Thanks for your help!

Martin

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to