[OpenBIOS] fword and feval
programmingkidx at gmail.com
Thu Aug 19 18:52:06 CEST 2010
I am trying to use the fword and feval functions in the file "kernel/forth.c". I know the header file for these functions are located in "include/libopenbios/bindings.h". I used this code to include the bindings.h file:
For some reason, I still see these errors:
Building OpenBIOS for x86
host/kernel/primitives.o: In function `setupLocalDictionary':
/home/user/Development/openbios-devel/obj-x86/../kernel/forth.c:1035: undefined reference to `_fword'
/home/user/Development/openbios-devel/obj-x86/../kernel/forth.c:1037: undefined reference to `_fword'
/home/user/Development/openbios-devel/obj-x86/../kernel/forth.c:1044: undefined reference to `feval'
/home/user/Development/openbios-devel/obj-x86/../kernel/forth.c:1045: undefined reference to `feval'
host/kernel/primitives.o: In function `loadLocalVariable':
/home/user/Development/openbios-devel/obj-x86/../kernel/forth.c:1072: undefined reference to `feval'
collect2: ld returned 1 exit status
make: *** [forthstrap] Error 1
make: Leaving directory `/home/user/Development/openbios-devel/obj-x86'
make: *** [build] Error 1
This is a simple function someone could use as an example to be used in the file forth.c
static void test(void)
Anyone know what I am doing wrong or how to solve this problem?
More information about the OpenBIOS