[uae] Re: euae compile with X even --without-x

  • From: Giancarlo Erra <giancarloerra@xxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 4 May 2006 15:43:25 +0200

Hi Rich,

just tried it will not work. Installed the sdl-dev (any other sdl package to be installed?), downloaded again a fresh archive of the wip2 8.29, launching configure as you said (and as I already did), I can see during 'configure' that it says

checking for X... disabled

then when it starts compiling, after a few I get following errors (as you can see it seems that it still tries to build the x11...I guess):

Making all in gfx-x11
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -I../../src -I../../src -I../.. -I/usr/include -I/Library/Frameworks/SDL.framework/Headers -D_REENTRANT -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA -DAUTOCONFIG -DFILESYS -DBSDSOCKET -DUSE_NAMED_SEMAPHORES -DSUPPORT_THREADS -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY -DSHM_SUPPORT_LINKS= -mdynamic-no-pic -O2 -fomit-frame-pointer -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -DREGPARAM= -MT xwin.o -MD -MP -MF ".deps/xwin.Tpo" -c -o xwin.o xwin.c; \
then mv -f ".deps/xwin.Tpo" ".deps/xwin.Po"; else rm -f ".deps/xwin.Tpo"; exit 1; fi
xwin.c:62:23: #if with no expression
xwin.c:83:23: #if with no expression
xwin.c:148:23: #if with no expression
xwin.c:169:23: #if with no expression
xwin.c: In function `x11_flush_line_lbw_8bit':
xwin.c:402: warning: implicit declaration of function `XShmPutImage'
xwin.c:652:23: #if with no expression
xwin.c:728:23: #if with no expression
xwin.c:945:23: #if with no expression
make[3]: *** [xwin.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1




Any idea?



Giancarlo



HI Giancarlo

On Thursday 04 May 2006 08:21, Giancarlo Erra wrote:
 How can I compile the package with only sdl framework support and
 without X ?

Do you have the SDL headers installed. If not get the SDL development package from: http://www.libsdl.org/release/SDL-devel-1.2.9.pkg.tar.gz

Then configure with
./configure --with-sdl-gfx --with-sdl-sound --without-x

(This applies to the WIP2 release, BTW. Versions 0.8.28 and earlier were more
difficult to build on OS X.)

Cheers,
Rich


--

... Without music, life would be a mistake. (Nietzsche)

















Other related posts: