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
]
- To: Allegro Conductors <conductors@xxxxxxxxxx>
- Subject: Re: [AD] 4.1.1 and cvs have linking problems with debug library under linux
- From: Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx>
- Date: Sun, 8 Sep 2002 18:14:54 +0200
- Invalid-uucp-from: From gradha@xxxxxxxxxx Mon Sep 9 02:19:15 2002
On Sun, Sep 08, 2002 at 09:32:55PM +1000, Peter Wang wrote:
> +/* This is conditional because configure may have disabled VGA support */
> +#ifdef ALLEGRO_LINUX_VGA
> + #include "allegro/internal/aintvga.h"
> +#endif
You have to include aintern.h too, otherwise you get such errors during
allegro build:
gcc -DHAVE_CONFIG_H -Iinclude -Iinclude/allegro -I./include -I./include/allegro -I. -I/usr/X11R6/include -pipe -O2 -funroll-loops -ffast-math -fomit-frame-pointer -Wall -DALLEGRO_LIB_BUILD -c ./src/unix/usigalrm.c -o obj/unix/alleg/usigalrm.o
In file included from include/allegro/platform/aintlnx.h:262,
from include/allegro/platform/aintunix.h:112,
from ./src/unix/usigalrm.c:27:
include/allegro/internal/aintvga.h: In function `_vsync_in':
include/allegro/internal/aintvga.h:99: `_timer_use_retrace' undeclared (first use in this function)
include/allegro/internal/aintvga.h:99: (Each undeclared identifier is reported only once
include/allegro/internal/aintvga.h:99: for each function it appears in.)
include/allegro/internal/aintvga.h: In function `_write_hpp':
include/allegro/internal/aintvga.h:115: `_timer_use_retrace' undeclared (first use in this function)
include/allegro/internal/aintvga.h:116: `_retrace_hpp_value' undeclared (first use in this function)
make: *** [obj/unix/alleg/usigalrm.o] Error 1