Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Compiling the Simulator on Mac OS X

Re: Compiling the Simulator on Mac OS X

From: Mike Holden <rockbox_at_mikeholden.uklinux.net>
Date: Tue, 15 Jul 2003 09:16:36 +0100 (BST)

That :0.0 part looks like the $DISPLAY environment variable. This tells X
which display to talk to to display it's windows on. 0.0 is the first
local one. Not sure why $DISPLAY would have crept in there, as gcc
shouldn't need to know anything about displays - it's a command line tool!

svante t said:
> yes,
> result from command below:
> /usr/X11R6/include/X11/Xutil.h
>
> Is the path different from that in makefile?
> I've tried compiling with different LIBDIRS, for example
> make LIBDIRS=-L/usr/X11R6/include/
> make LIBDIRS=-L/usr/X11R6/include/X11
> make LIBDIRS=-L/usr/X11R6/
>
> but with same error report:
>
> Updating Dependencies for button-x11.c
> gcc: :0.0: No such file or directory
> button-x11.c:23:24: X11/keysym.h: No such file or directory
> gcc -g -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR :0.0
> -DBIG_ENDIAN -I. -I../../firmware/drivers -I../../firmware/export
> -I../../apps -I../../apps/player -I../common -I. -W -Wall -c
> screenhack.c -o screenhack.o
> gcc: cannot specify -o with -c or -S and multiple compilations
> make: *** [screenhack.o] Error 1
>
>>Do you even have X11 installed? If so, do you have these mentioned
>> files anywhere in your include path? (try 'find / -name Xutil.h')
>>
>>--
>> Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/


-- 
Mike Holden
Rockbox page: http://www.mikeholden.org/~rockbox
Received on 2003-07-15

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy