Re: [AD] 4.1.1 and cvs have linking problems with debug library under linux |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2002-09-07, Grzegorz <gradha@xxxxxxxxxx> wrote:
> On Thu, Aug 29, 2002 at 03:25:11PM +0200, Grzegorz Adam Hankiewicz wrote:
> > Release 4.1.1 and current cvs version have linking problems with the
> > debug version under linux, something to do with inline functions
[...]
>
> The problems goes back to 2002/07/08, when Peter commited the changes
> with the log "Attempt to make configure --disable-vga remove more stuff
> out of the core (e.g. inport/outport function, various hacks, etc.)".
> The exact modification causing the above problems was the exclusion of
> some vga specific headers in aintlnx.h.
>
> This patch reverses that change and makes the debug version of the library
> working again. However I won't apply it because I don't know exactly how
> this affects the dynamic version's dependency. Peter, could you take a
> look at it again and see if this is ok?
Sorry about the delay, I had a look this weekend. My patch, not tested 100%
yet, looks very similar to yours. We can't revert completely, because it just
reintroduces that problem that the change was supposed to solve.
Index: include/allegro/platform/aintlnx.h
===================================================================
RCS file: /cvsroot/alleg/allegro/include/allegro/platform/aintlnx.h,v
retrieving revision 1.5
diff -u -r1.5 aintlnx.h
--- include/allegro/platform/aintlnx.h 8 Jul 2002 02:03:57 -0000 1.5
+++ include/allegro/platform/aintlnx.h 8 Sep 2002 11:24:56 -0000
@@ -255,6 +255,14 @@
void __al_linux_mouse_get_mickeys (int *mickeyx, int *mickeyy);
+/* VGA register access helpers */
+/* This is conditional because configure may have disabled VGA support */
+#ifdef ALLEGRO_LINUX_VGA
+ #include "allegro/internal/aintvga.h"
+#endif
+
+
+
#ifdef __cplusplus
}
#endif
--
王浩禎