tags 533259 confirmed help thanks Hello,
On Mon, 15 Jun 2009 16:20:09 -0700, Daniel Schepler wrote: > make LIBRARY=static static > make[3]: Entering directory `/tmp/buildd/libx86-1.1+ds1' > cc -g -O2 -c -o thunk.o thunk.c > In file included from thunk.c:25: > lrmi.h:105:2: warning: #warning "LRMI is not supported on your system!" > thunk.c: In function 'LRMI_init': > thunk.c:150: warning: initialization from incompatible pointer type > thunk.c:154: warning: initialization from incompatible pointer type > thunk.c:168: warning: cast from pointer to integer of different size > thunk.c: In function 'real_call': > thunk.c:184: error: dereferencing pointer to incomplete type > thunk.c:185: error: dereferencing pointer to incomplete type > thunk.c:186: error: dereferencing pointer to incomplete type LRMI 0.10 dropped support to anything non-x86. In my -3 upload I upgraded the LRMI version to that one, including this piece: --- libx86.orig/lrmi.h +++ libx86/lrmi.h @@ -26,7 +26,8 @@ OTHER DEALINGS IN THE SOFTWARE. #ifndef LRMI_H #define LRMI_H -#define LRMI_PREFIX LRMI_ +#if defined(__i386__) && (defined(__linux__) || defined(__NetBSD__) \ + || defined(__FreeBSD__) || defined(__OpenBSD__)) struct LRMI_regs { unsigned int edi; @@ -48,11 +49,20 @@ struct LRMI_regs { [..] @@ -91,10 +101,8 @@ LRMI_alloc_real(int size); void LRMI_free_real(void *m); -/* - * Get the base address of the real memory address space block. - */ -size_t -LRMI_base_addr(void); +#else /* (__linux__ || __NetBSD__ || __FreeBSD__) && __i386__ */ +#warning "LRMI is not supported on your system!" +#endif #endif In fact, your build log shows the #warning message. Now, the old LRMI was used also on amd64, and those registers were there. Even removing that #if .. #endif, it would FTBFS, because x86-common.c is not built anymore (since it was merged into lrmi.c. I'll investigate this further, but I'll probably revert the LRMI update to 0.10 (it was needed for something else though), in the meanwhile I'm tagging the bug "help". Kindly, David -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature