On Wed, Oct 19, 2011 at 04:08:06PM +0900, Daniel Castro wrote:
In the makefile I have included in SRC32FLAT xen-blk.c to run my code, if I put it in SRCBOTH the following error is displayed. 32bit flat init size: 68896 Linking out/rom16.o out/code16.o: In function `xen_blk_op': make: *** [out/rom16.o] Error 1
Was this just a cut-and-paste error, or is the compiler/linker really coming back with an error and no description? If it's the latter it seems like you have a toolchain problem. You can use "make V=1" to see the full compiler command, but I'd guess trying with a different binutils/compiler may help narrow down the issue.
-Kevin
On Thu, Oct 20, 2011 at 9:38 AM, Kevin O'Connor kevin@koconnor.net wrote:
On Wed, Oct 19, 2011 at 04:08:06PM +0900, Daniel Castro wrote:
In the makefile I have included in SRC32FLAT xen-blk.c to run my code, if I put it in SRCBOTH the following error is displayed. 32bit flat init size: 68896 Linking out/rom16.o out/code16.o: In function `xen_blk_op': make: *** [out/rom16.o] Error 1
Was this just a cut-and-paste error, or is the compiler/linker really coming back with an error and no description? If it's the latter it seems like you have a toolchain problem. You can use "make V=1" to see the full compiler command, but I'd guess trying with a different binutils/compiler may help narrow down the issue.
Here is the error: 32bit flat init size: 69056 Linking out/rom16.o out/code16.o: In function `process_op': /home/daniel/workspace/seabios_patch/src/block.c:304: undefined reference to `process_xen_op' make: *** [out/rom16.o] Error 1
I will try your flag
-Kevin