
Hi,
I have checked out latest source code from SVN (revision 12468) The problem is still present in: smi.h:553 function extern SmiClass *smiGetClass(SmiModule *smiModulePtr,char *class);
I am no expert in C++, but as I looked at the SVN history files: smi.c smi.h.in were updated (rev. 12455), but not smi.h. When I compile and install, the resulting smi.h has the same defect.
So: I am doing something wrong, or ... I had to manually update smi.h file, to make it work.
Best regards, Miroslav Beranič ml. ------------------------------------------------ miroslav.beranic@gmail.com http://www.mibesis.eu +386 40 814 843 (SiMobil.si)

On Mon, Jan 19, 2009 at 01:33:27PM +0100, Miroslav Berani?? ml. wrote:
I am no expert in C++, but as I looked at the SVN history files: smi.c smi.h.in were updated (rev. 12455), but not smi.h. When I compile and install, the resulting smi.h has the same defect.
So: I am doing something wrong, or ... I had to manually update smi.h file, to make it work.
The file smi.h is generated from smi.h.in when you run configure.
/js

Hi,
I figured that out, but this is the trick: smi.h is not "modified" by ./configure process ... and as a result, final smi.h file has argument named class, and not className as defined in smi.h.in.
I installed libsmi with this process: svn checkout sh ./autogen.sh ./configure --prefix=/libhome/ make make install
P.S.: if I do not run ./autogen.sh, the error message is printed: configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."
Platform: Fedora 10 - 2.6.27.9-159.fc10.x86_64, gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) automake (GNU automake) 1.10.1
Regards, Miroslav Beranič ml. ------------------------------------------------ miroslav.beranic@gmail.com http://www.mibesis.eu +386 40 814 843 (SiMobil.si)
2009/1/19 Juergen Schoenwaelder j.schoenwaelder@jacobs-university.de:
On Mon, Jan 19, 2009 at 01:33:27PM +0100, Miroslav Berani?? ml. wrote:
I am no expert in C++, but as I looked at the SVN history files: smi.c smi.h.in were updated (rev. 12455), but not smi.h. When I compile and install, the resulting smi.h has the same defect.
So: I am doing something wrong, or ... I had to manually update smi.h file, to make it work.
The file smi.h is generated from smi.h.in when you run configure.
/js
-- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 http://www.jacobs-university.de/

On Mon, Jan 19, 2009 at 02:57:59PM +0100, Miroslav Berani?? ml. wrote:
I figured that out, but this is the trick: smi.h is not "modified" by ./configure process ... and as a result, final smi.h file has argument named class, and not className as defined in smi.h.in.
My configure.in says to generate smi.h from smi.h.in and it does so when I run ./configure on my machines.
/js
participants (2)
-
Juergen Schoenwaelder
-
Miroslav Beranič ml.