Hello l4-hackers,
I get an error when trying to compile, respectively linking my program.
/opt/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-ld: cannot find -lld-l4 make[3]: *** [myProg] Fehler 1
My Program does not include this lib. It comes from the L4-make process (prog.mk).
I have already compiled smaller programs, without problems.
BTW before that missing lib error, i get a lot of "multiple definition of...".
Any ideas? I use Debian 7 32bit.
Thanks
Hi,
On Tue, May 13, 2014 at 11:59:24AM +0200, ba_f wrote:
Hello l4-hackers,
I get an error when trying to compile, respectively linking my program.
/opt/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-ld: cannot find -lld-l4 make[3]: *** [myProg] Fehler 1
Have you successfully build the 'ldso' package? libld-l4.so is provided by this package.
Matthias.
My Program does not include this lib. It comes from the L4-make process (prog.mk).
I have already compiled smaller programs, without problems.
BTW before that missing lib error, i get a lot of "multiple definition of...".
Any ideas? I use Debian 7 32bit.
Thanks
On Tue May 13, 2014 at 11:59:24 +0200, ba_f wrote:
Hello l4-hackers,
I get an error when trying to compile, respectively linking my program.
/opt/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-ld: cannot find -lld-l4 make[3]: *** [myProg] Fehler 1
My Program does not include this lib. It comes from the L4-make process (prog.mk).
I have already compiled smaller programs, without problems.
Are you trying to build a program using shared libraries? Mind to share your Makefile?
BTW before that missing lib error, i get a lot of "multiple definition of...".
Could you show some examples of those errors please?
Adam
Hello hackers,
i'm quite new to embedded, so i need some fundamental help.
I have an App, that naturally runs on Linux. Now, i want to run it as a raw L4-Task (BareMetal), and no L4Linux.
The problem is, the App requires non-volatile storage. Naturally, it would be started in a terminal; before starting, one has to set the Variable where to store data.
Example:
export STORE_PATH=/home/appData/ ./startApp
(The app then gets the path like this: char *path = getenv("STORE_PATH"); Anyway...)
So, there are two questions for me:
1.) How do i allocate a filesystem to the flash? 2.) How do i set the variable STORE_PATH ?
Is such an App possible without L4Linux?
Thank you.
Hi,
On Wed Sep 24, 2014 at 21:01:06 +0200, ba_f wrote:
i'm quite new to embedded, so i need some fundamental help.
I have an App, that naturally runs on Linux. Now, i want to run it as a raw L4-Task (BareMetal), and no L4Linux.
The problem is, the App requires non-volatile storage. Naturally, it would be started in a terminal; before starting, one has to set the Variable where to store data.
Example:
export STORE_PATH=/home/appData/ ./startApp
(The app then gets the path like this: char *path = getenv("STORE_PATH"); Anyway...)
So, there are two questions for me:
1.) How do i allocate a filesystem to the flash? 2.) How do i set the variable STORE_PATH ?
Is such an App possible without L4Linux?
It is possible. But of course there needs to be a driver for your flash and a filesystem (if needed). And there's none. There's a tmpfs, i.e. a filesystem that can store files, however, not across reboots. Maybe that helps you already?
Setting environment variables is as easy as putting them as a third parameter to the start function: ...start({ ... }, "rom/startApp", { STORE_PATH="/home/appData/" })
Adam
l4-hackers@os.inf.tu-dresden.de