View Full Version : autogen problem on esoteric
Magnus Norddahl
01-25-2009, 01:47 AM
I currently get the following error when I try to run autogen.sh on esoteric (revision 2278):
checking for maintainer mode... disabled
configure: error: conditional "LINUX_JOYSTICK" was never defined.
Usually this means the macro was only invoked conditionally.
make: *** [config.status] Error 1
Not sure how to fix that, but hopefully Rombust knows. :)
rombust
01-25-2009, 01:27 PM
Yeah, i messed up somewhere ... i'll have a look tomorrow
rombust
01-26-2009, 10:43 AM
I can get it to error when clanGL is disabled.
Fixed in SVN
Try it again.
Magnus Norddahl
01-26-2009, 07:14 PM
It seems to build now. Thanks a lot Rombust.
Next problem:
System/datetime.cpp:42: error: integer constant is too large for 'long' type
make[2]: *** [System/datetime.lo] Error 1
This one is caused by myself though, so I'll look into that when I get the time. :)
rombust
01-27-2009, 06:58 AM
I have applied the following patch, i hope it works :)
Index: Sources/Core/System/datetime.cpp
================================================== =================
--- Sources/Core/System/datetime.cpp (revision 2289)
+++ Sources/Core/System/datetime.cpp (working copy)
@@ -39,7 +39,7 @@
#endif
-const cl_int64 CL_DateTime::ticks_from_1601_to_1900 = 94354848000000000;
+const cl_int64 CL_DateTime::ticks_from_1601_to_1900 = 94354848000000000LL;
CL_DateTime::CL_DateTime()
: year(0), month(0), day(0), hour(0), minute(0), seconds(0), nanoseconds(0), timezone(utc_timezone)
Magnus Norddahl
01-27-2009, 12:24 PM
It made it compile at least. :)
Magnus Norddahl
01-27-2009, 12:28 PM
Seems there's a problem with building clanSound on esoteric.
Unix/soundoutput_alsa.h:53: error: ISO C++ forbids declaration of 'snd_pcm_t' with no type
Unix/soundoutput_alsa.h:53: error: expected ';' before '*' token
Unix/soundoutput_alsa.h:54: error: 'snd_pcm_uframes_t' does not name a type
Unix/soundoutput_alsa.h:55: error: 'snd_pcm_uframes_t' does not name a type
soundoutput.cpp: In constructor 'CL_SoundOutput::CL_SoundOutput(const CL_SoundOutput_Description&)':
soundoutput.cpp:74: error: 'class CL_SoundOutput_alsa' has no member named 'handle'
I am not sure if esoteric even has alsa or not, so the problem could been with configure enabling clanSound.
I am just going to disable clanSound when building so its not really a show stopper for me, but I wanted you to know people can potentionally get this error.
Magnus Norddahl
01-27-2009, 12:31 PM
Interestingly enough, when I run configure with ./configure --disable-clanSound I get the following error message:
checking for maintainer mode... disabled
configure: error: conditional "ALSA" was never defined.
Usually this means the macro was only invoked conditionally.
If I just run configure normally I do not get this error. :)
rombust
01-27-2009, 04:14 PM
Yeah, it was the same problem in the configure.ac script
+dnl Check for alsa
+have_alsa=no
+AC_CHECK_HEADERS(asoundlib.h alsa/asoundlib.h, have_alsa=yes)
+AM_CONDITIONAL(ALSA, test x$have_alsa = xyes)
+
"--disable-clanSound" should now work.
* The alsa sound error has not been fixed *
Fixed in SVN, try again...
rombust
01-28-2009, 08:42 AM
ClanSound compilation without ALSA should now work
(Run ./autogen.sh and ./configure again)
Powered by vBulletin™ Version 4.0.6 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.