10 Mar 2008, Exaos Lee, Suggestion, New Makefile for building MIDAS 
 | 
> Most experience with autoconf/automake is all negative. The promise was "never debug your Makefile ever 
 
> again!", delivered was "debug the configure script instead!". In practice, with autoconf/automake, you try to run 
 
> configure, kludge it until it stops crashing, then tweak the incomprehensible Makefiles it produces until the code 
 | 
   
   10 Mar 2008, Exaos Lee, Suggestion, New Makefile for building MIDAS 
 | 
> The Makefile is missing -lzip:
 
 
Sorry, spelling error.
 | 
   
   10 Mar 2008, Exaos Lee, Suggestion, "Makefile-by-EL" updated  
 | 
> Not that the current Makefile is too pretty (I have seen worse), but it 
 
works and it is fairly compact for a project of 
 
> this complexity, it handles a large number of operating systems and build 
 | 
   
   10 Mar 2008, Exaos Lee, Suggestion, "Makefile-by-EL" updated 
 | 
Sorry, this line:
 
[CODE]EXECS += $(EXAMPLES:%/$(BIN_DIR)/%)[/CODE]
 
should be replaced by
 | 
   
   11 Mar 2008, Exaos Lee, Suggestion, "Makefile-by-EL" updated 
 | 
> The linking of mhttpd misses a "-lm":
 
> 
 
> cc -g -O3 -Wall -Wuninitialized -DINCLUDE_FTPLIB -D_LARGEFILE64_SOURCE -DOS_LINUX
 | 
   18 May 2009, Exaos Lee, Suggestion, Question about using mvmestd.h 
 | 
The "mvmestd.h" uses the following function to open a VME device:
 
[CODE]int mvme_open(MVME_INTERFACE **vme, int idx)[/CODE]
 
I found that the "driver/vme/sis3100/sis3100.c" uses the implementation as:
 | 
   
   20 May 2009, Exaos Lee, Suggestion, Question about using mvmestd.h 
 | 
> > The problem is: I renamed my SIS1100 devices as /dev/sis1100/xxxxx. So I have to hack the 
 
> "sis3100.c".
 
> 
 | 
   
   18 Jul 2009, Exaos Lee, Forum, jorway73a.c, Data taking hangs in the middle of run 
 | 
> > > Could you give more info on your setup:
 
> > > - CAMAC controller model
 
> > Jorway 73A, we have three in hand and the problem doesn't depend on which controller
 | 
   03 Aug 2009, Exaos Lee, Forum, How to distinguish the status and value returned from "mvme_read_value(...)" 
 | 
The definition of mvme_read_value is as the following:
 
[CODE]unsigned int EXPRT mvme_read_value(MVME_INTERFACE * vme, mvme_addr_t vme_addr);
 
 | 
   04 Aug 2009, Exaos Lee, Forum, VME-related codes contribution  
 | 
Hi, all
 
 
I have some codes while using MIDAS. I upload them here. They are tested with
 | 
   04 Aug 2009, Exaos Lee, Forum, Scripts to handle MIDAS sessions  
 | 
Hi, all again
 
 
I have some scripts in "bash" and "Python" to handle MIDAS sessions. Please see the attached [url=elog:613/1]utils4midas.zip[/url]. I didn't write instructions | 
   
   04 Aug 2009, Exaos Lee, Forum, About python interface 
 | 
Coding in Python is faster than in C (but running slower). So, some python interfaces are useful for testing purpose. I hope you may like the PyMVME module 
for VME bus testing. | 
   
   04 Aug 2009, Exaos Lee, Forum, The contents of the attachment 
 | 
As requested from K.O., I paste the "00README.txt" as the following:
 
[CODE]
 
#-*- mode: outline -*-
 | 
   21 Aug 2009, Exaos Lee, Forum, Link error of "mcnaf" 
 | 
The "utils/mcnaf.c" uses "camop()",
 
[code]
 
180:         printf("camop\n");
 | 
   29 Aug 2009, Exaos Lee, Forum, At last, I'm here again! 
 | 
I always got a 503 server error while I tried to connect this log book the latest 
 
weeks. I don't know why. I hope it is not due to the network censorship because 
 
of the coming National Day of China. Anyway, good luck to me when I want to paste 
 | 
   
   31 Aug 2009, Exaos Lee, Forum, Link error of "mcnaf" 
 | 
I repeated the link error again. I also found the almost all sources located in "driver/camac/" using "cam_op()" but not "camop()". Please see the grep 
result below:
 
[CODE]
 | 
   
   31 Aug 2009, Exaos Lee, Forum, Why should we use "INLINE" here? 
 | 
| There are many "INLINE" definitions in "include/*.h". Both GNU C and C99 permit using inline functions. I still wonder why. :-) | 
   03 Sep 2009, Exaos Lee, Bug Report, Prompt problem about odbedit  
 | 
I tried to use odbedit to set the "/System/Prompt" to "%h:%e:%s %p> " and got a
 
problem: pressing "Return" doesn't work any more. But "[%h:%e:%s]%p> " works fine.
 
Please see the attachment. | 
   03 Sep 2009, Exaos Lee, Suggestion, Building MIDAS using CMake  
 | 
I write some configure file to build MIDAS using CMake. The usage is simple:
 
1. Unzip the attachment, copy "CMakeLists.txt" and directory "cmake" into the
 
midas source tree.
 | 
   
   03 Sep 2009, Exaos Lee, Suggestion, Some screenshot using CMake with MIDAS   
 | 
I didn't add optimization flags to compile, so I got link error while generating mcnaf as I reported before.
 
The screen-shots show that the configure files works because I have modified the "driver/camac/camacrpc.c". |