On Wednesday 04 March 2009 23:31:11 Chitlesh GOORAH wrote:
> On Wed, Mar 4, 2009 at 10:21 PM, Julian Bäume  wrote:
> > I think, this is a missing header file. Could you try r238 from the
> > ktechlab-0.3.7 branch?
>
> This r238 went further. But however ktechlab sources are not
> compatible with gpsim 0.23.0 and thus the build failed again:
>
> https://koji.fedoraproject.org/koji/getfile?taskID=1221845&name=build.log
> https://koji.fedoraproject.org/koji/getfile?taskID=1221845&name=root.log
>
> It seems the configure should also check this.
Could you try the attached patch? I don't have gpsim 0.23.0 (couldn't even 
find it on the project page) and therefore haven't been able to test it 
myself. This patch should let ./configure fail for detecting your specific 
gpsim version and disable gpsim 0.23.0 support. I think we can't provide 
support for this version until the next bug-fix release, I think.

If this does the trick, I will push it into the sources. As I won't be around 
tomorrow, could anybody else include it into trunk and branch?

> By the way, execute permission on ./admin/detect-autoconf.pl is
> missing, thus if one does make -f Makefile.cvs, it complains.
strange, in my copy it's correct. I will have a look at that later.

cu
julian
Index: configure.in.in
===================================================================
--- configure.in.in	(revision 239)
+++ configure.in.in	(working copy)
@@ -30,7 +30,7 @@
 #include <gpsim/gpsim_interface.h>
 #include <gpsim/breakpoints.h>
 #include <gpsim/gpsim_time.h>
-void func() { (void)cycles; (void)initialize_gpsim_core(); (void)load_symbol_file(0,0); }
+void func() { (void)cycles; (void)initialize_gpsim_core(); (void)load_symbol_file(0,0); exit_gpsim(0); }
 	],
 	[],
 	AC_MSG_RESULT( yes )
@@ -47,7 +47,7 @@
 #include <gpsim/gpsim_time.h>
 #include <gpsim/symbol.h>
 #include <gpsim/program_files.h>
-void func() { (void)cycles; (void)initialize_gpsim_core(); }
+void func() { (void)cycles; (void)initialize_gpsim_core(); exit_gpsim(0); }
 	],
 	[],
 	AC_MSG_RESULT( yes )

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel

Reply via email to