[AD] Re: Build Errors on Mac OSX (x86) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: [AD] Re: Build Errors on Mac OSX (x86)
- From: "Miguel A. Gavidia" <juvinious@xxxxxxxxxx>
- Date: Sun, 5 Mar 2006 21:19:44 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=tqOqiWEqdadMdkn1X13gFu1yY618CwcQJavUih5DKdUYybYzsE4ygxNsp5fqWTnRn77q0uHMyERWqcoWou5InfrlkZluqfvvODyZckG/XyZ9k9KCZXUf+K4Tko+ApxJWGS0QsOQ6+b8ingK2P214i3ygMCr0i3cx3msHE0KzS94=
Ok,
I don't know if this will affect anything later on, but I changed two lines
(237 and 297) in include/allegro/platform/al386gcc.h from:
" .balign 4, 0x90 ; " to " .align 4, 0x90 ; "
This allowed me to compile with no errors up until src/macosx/qtmidi.m where I
get this error:
src/macosx/qtmidi.m: In function 'osx_midi_init':
src/macosx/qtmidi.m:127: error: incompatible types in assignment
src/macosx/qtmidi.m:128: error: incompatible types in assignment
make: *** [obj/macosx/alleg/qtmidi.o] Error 1
I commented those lines out and it continued to compile with no problem until
the linking stage in which I get this:
ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment
variable greater or equal to 10.4
ld: Undefined symbols:
__stub_bank_switch
__stub_unbank_switch
/usr/bin/libtool: internal link edit command failed
make: *** [lib/macosx/liballeg-4.2.1.dylib] Error 1
Here I'm stumped.....
:-/
On Saturday 04 March 2006 18:10, Miguel Gavidia wrote:
> I finally got my OSX (10.4.3) on x86 hardware back up and running to see if
> I can get allegro running on the platform since I really haven't seen
> anything on it from anybody else. I checked out the latest 4.2 snapshot
> from the SVN repository and ran:
>
> ./fix.sh macosx
> make depend
> make
>
>
> However with no success.
> Below is the errors I got, maybe somebody has an idea on what to do to fix
> this as I obviously don't know what is going on with it or else I'd have
> submitted a patch. ;)
>
> ./fix.sh macosx && make depend && make
> Configuring Allegro for MacOS X ...
> Done!
> gcc -MM -MG -I. -I./include -DSCAN_DEPEND -DALLEGRO_MACOSX src/*.c
> src/unix/*.c src/misc/*.c src/c/*.c demo/*.c > _depend.tmp
> gcc -MM -MG -I. -I./include -DSCAN_DEPEND -DALLEGRO_MACOSX
> docs/src/makedoc/*.c examples/*.c setup/*.c tests/*.c >> _depend.tmp
> gcc -MM -MG -I. -I./include -DSCAN_DEPEND -DALLEGRO_MACOSX tools/*.c
> tools/plugins/*.c tools/macosx/*.c >> _depend.tmp
> gcc -MM -MG -I. -I./include -DSCAN_DEPEND -DALLEGRO_MACOSX -x c
> src/macosx/*.m tests/*.cpp >> _depend.tmp
> sed -e "s/^[a-zA-Z0-9_\/]*\///" _depend.tmp > _depend2.tmp
> sed -e "s/^\([a-zA-Z0-9_]*\.o *:\)/obj\/macosx\/alleg\/\1/" _depend2.tmp >
> obj/macosx/alleg/makefile.dep
> sed -e "s/^\([a-zA-Z0-9_]*\.o *:\)/obj\/macosx\/alld\/\1/" _depend2.tmp >
> obj/macosx/alld/makefile.dep
> sed -e "s/^\([a-zA-Z0-9_]*\.o *:\)/obj\/macosx\/allp\/\1/" _depend2.tmp >
> obj/macosx/allp/makefile.dep
> rm _depend.tmp _depend2.tmp
> Compiling Allegro for MacOS X, optimised. Please wait...
> gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -Wno-long-double
> -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-common -pipe
> -dynamic -DALLEGRO_USE_C -I. -I./include -o obj/macosx/alleg/allegro.o -c
> src/allegro.c
> gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -Wno-long-double
> -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-common -pipe
> -dynamic -DALLEGRO_USE_C -I. -I./include -o obj/macosx/alleg/blit.o -c
> src/blit.c
> gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -Wno-long-double
> -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-common -pipe
> -dynamic -DALLEGRO_USE_C -I. -I./include -o obj/macosx/alleg/bmp.o -c
> src/bmp.c
> gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -Wno-long-double
> -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-common -pipe
> -dynamic -DALLEGRO_USE_C -I. -I./include -o obj/macosx/alleg/clip3d.o -c
> src/clip3d.c
> {standard input}:138:Unknown pseudo-op: .balign
> {standard input}:138:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:144:Unknown pseudo-op: .balign
> {standard input}:144:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:152:Unknown pseudo-op: .balign
> {standard input}:152:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:160:Unknown pseudo-op: .balign
> {standard input}:160:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:444:Unknown pseudo-op: .balign
> {standard input}:444:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:450:Unknown pseudo-op: .balign
> {standard input}:450:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:458:Unknown pseudo-op: .balign
> {standard input}:458:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:466:Unknown pseudo-op: .balign
> {standard input}:466:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:556:Unknown pseudo-op: .balign
> {standard input}:556:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:562:Unknown pseudo-op: .balign
> {standard input}:562:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:570:Unknown pseudo-op: .balign
> {standard input}:570:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:578:Unknown pseudo-op: .balign
> {standard input}:578:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:943:Unknown pseudo-op: .balign
> {standard input}:943:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:949:Unknown pseudo-op: .balign
> {standard input}:949:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:957:Unknown pseudo-op: .balign
> {standard input}:957:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:966:Unknown pseudo-op: .balign
> {standard input}:966:Rest of line ignored. 1st junk character valued 52
> (4). {standard input}:1238:Unknown pseudo-op: .balign
> {standard input}:1238:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1244:Unknown pseudo-op: .balign
> {standard input}:1244:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1252:Unknown pseudo-op: .balign
> {standard input}:1252:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1260:Unknown pseudo-op: .balign
> {standard input}:1260:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1458:Unknown pseudo-op: .balign
> {standard input}:1458:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1464:Unknown pseudo-op: .balign
> {standard input}:1464:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1472:Unknown pseudo-op: .balign
> {standard input}:1472:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1481:Unknown pseudo-op: .balign
> {standard input}:1481:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1743:Unknown pseudo-op: .balign
> {standard input}:1743:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1751:Unknown pseudo-op: .balign
> {standard input}:1751:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1829:Unknown pseudo-op: .balign
> {standard input}:1829:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1837:Unknown pseudo-op: .balign
> {standard input}:1837:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1915:Unknown pseudo-op: .balign
> {standard input}:1915:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:1923:Unknown pseudo-op: .balign
> {standard input}:1923:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:2001:Unknown pseudo-op: .balign
> {standard input}:2001:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:2009:Unknown pseudo-op: .balign
> {standard input}:2009:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:2087:Unknown pseudo-op: .balign
> {standard input}:2087:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:2095:Unknown pseudo-op: .balign
> {standard input}:2095:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:2202:Unknown pseudo-op: .balign
> {standard input}:2202:Rest of line ignored. 1st junk character valued 52
> (4).
> {standard input}:2210:Unknown pseudo-op: .balign
> {standard input}:2210:Rest of line ignored. 1st junk character valued 52
> (4).
> make: *** [obj/macosx/alleg/clip3d.o] Error 1
--
-juvinious
<a href="http://chasm.hopto.org">The Chasm</a> - My Site.