-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The error below occurs on 10.6/i386, too.  The package also misbuilds on
10.5/i386.

I propose restricting it to PowerPC until we sort this out.

- -------- Original Message --------
Subject: Re: [Fink-beginners] Error compiling Xmame
Date: Tue, 12 Jan 2010 23:09:40 -0600
From: Marc Boxerman <mboxer...@mac.com>
To: fink-beginners <fink-beginn...@lists.sourceforge.net>

Alexander,

Here's line 182 of xmame.h:

int snprintf(char *s, size_t maxlen, const char *fmt, ...);

For context, here it is with the lines immediately before and after (I
added the line numbers):

181 #ifndef HAVE_SNPRINTF
182 int snprintf(char *s, size_t maxlen, const char *fmt, ...);
183 #endif

If it would be helpful, I can upload to entire file to a publicly
accessible location.

Thanks,

Marc

On Jan 11, 2010, at 8:29 AM, Alexander Hansen wrote:

> On 1/10/10 6:08 PM, Marc Boxerman wrote:
>> Can anyone help me figure out why Xmame fails to build?  Here's where it 
>> fails:
> 
>> Compiling in the unix directory...
>> mkdir ../../xmame.obj/unix.x11
>> mkdir ../../xmame.obj/unix.x11/sysdep
>> mkdir ../../xmame.obj/unix.x11/sysdep/dsp-drivers
>> mkdir ../../xmame.obj/unix.x11/sysdep/mixer-drivers
>> mkdir ../../xmame.obj/unix.x11/video-drivers
>> mkdir ../../xmame.obj/unix.x11/joystick-drivers
>> mkdir ../../xmame.obj/unix.x11/frameskip-drivers
>> Compiling src/unix/main.c ...
>> In file included from main.c:6:
>> xmame.h:182: error: expected declaration specifiers or '...' before numeric 
>> constant
>> xmame.h:182: error: expected declaration specifiers or '...' before 
>> '__builtin_object_size'
>> xmame.h:182: warning: conflicting types for built-in function 
>> '__builtin___snprintf_chk'
>> make[1]: *** [../../xmame.obj/unix.x11/main.o] Error 1
>> make: *** [osdepend] Error 2
>> ### execution of make failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-xmame-0.71.1-1
>> (Reading database ... 90732 files and directories currently installed.)
>> Removing fink-buildlock-xmame-0.71.1-1 ...
>> Failed: phase compiling: xmame-0.71.1-1 failed
> 
>> Before reporting any errors, please run "fink selfupdate" and
>> try again.  If you continue to have issues, please check to see if the
>> FAQ on fink's website solves the problem.  If not, ask on the fink-users
>> or fink-beginners mailing lists, with a carbon copy to the maintainer:
> 
>>      None <fink-devel@lists.sourceforge.net>
> 
>> Note that this is preferable to emailing the maintainer directly, since
>> most fink package maintainers do not have access to all possible
>> hardware and software configurations.
> 
> 
>> Running selfupdate did not help.
>> I'm running 64 bit Fink on Snow Leopard.
> 
>> Thanks,
> 
>> Marc
> 
> 
> 
> 
> Unfortunately, xmame's build process produces fairly terse output, so
> there's not an obvious diagnostic other than to look at line 182 of
> xmame.h from the build directory and post what that says.
> 
> It's probable that the package either needs additional work to build on
> 10.6/x86_64, assuming it will work at all.
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx+XxoACgkQB8UpO3rKjQ8KDACZAcBG0CKqXeBhBquR3xIkZ7n9
0g0AoIAvkSCc6eN80f5YWOm1HxQymKWm
=0XoO
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to