hi,
I'm trying to build a new package following the instructions from the
snapshot page [1]. However it fails (error message below).
steps:
1. download / extract the l4re-snapshot-25.03.0 snapshot
2. make setup (for the ia32 target) && make
the hello world qemu example works correctly
3. add a new package, following instructions from "Adding your own code" [1]
(of course the path placeholders are modified)
/tmp/myfirstpkg/Makefile
```
PKGDIR ?= .
L4DIR ?= PATH/TO/SNAPSHOT/src/l4
TARGET = myfirstprogram
SRC_C = main.c
include $(L4DIR)/mk/prog.mk
```
/tmp/myfirstpkg/main.c
```
#include <stdio.h>
int main(void)
{
printf("Hello!\n");
return 0;
}
```
4. and try to build it
$ cd myfirstpkg
$ make O=/PATH/TO/SNAPSHOT/obj/l4/x86
error output:
[myfirstpkg] ... Building Dependencies
path/to/src/l4/mk/binary.inc:396: *** /tmp/myfirstpkg/Makefile: 'stdlibs
compiler-rt' in REQUIRES_LIBS in Makefile but not in Control file requires.
Stop.
make: *** [path/to/src/l4/mk/binary.inc:195:
path/to/obj/l4/x86/ext-pkg/tmp/myfirstpkg/OBJ-x86_gen-std-l4f] Error 2
I attempted to add file `Control` to the package root conataining the
following but it doesn't work.
requires: stdlibs compiler-rt
Am I doing anything wrong in adding a new package? Sorry for the newbie
question, I'm learning L4RE :)
cheers,
wth
[1] https://os.inf.tu-dresden.de/download/snapshots/
--
wth
220F 6A50 7BEF 8C33 3B4A 4404 99DE B3B4 1583 4AEF
_______________________________________________
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]