- From: (unknown charset) Thomas Schulz <schulz@adi.com>
- Date: Wed, 31 Mar 2004 17:23:46 -0500 (EST)
- To: (unknown charset) www-amaya-dev@w3.org
> Date: Wed, 31 Mar 2004 10:29:16 +0200 > From: Irene Vatton <irene.vatton@inrialpes.fr> > To: schulz@adi.com (Thomas Schulz) > Cc: www-amaya-dev@w3.org > Subject: Re: Missing routines in the distribution. > > On Tue, 30 Mar 2004 14:57:16 -0500 (EST) > schulz@adi.com (Thomas Schulz) wrote: > >> >> I am trying to build Amaya 8.3 on an AIX 4.1.5 R2 system using gcc version >> 3.3.2. I am using gtk+ 1.2.10. When the build gets to the point of trying >> to link bin/grm, there are several undefined references. The show stopper >> is the following: >> >> .../thotlib/libThotEditor.a(appdialogue.o)(.pr+0x2044):../../thotlib/ >> dialogue/ppdialogue.c: undefined reference to `.TteLoadApplications()' > > This function is included in the Amaya/obj/amaya/EDITORAPP.c file generated > by the app compiler. > Are you sure you processed as explained in > http://www.w3.org/Amaya/User/Autoconf.html > 1) create a new empty subdirectory obj > 2) move into this subdirectory and execute "../configure" > 3) launch "make" Yes, I did exactly that (I called the subdirectory 'aix'). I ran configure as ../configure --with-gtk. When is the app compiler created and run? The file EDITORAPP.c does not exist at the time that grm is being built. It looks like the app compiler might be built by Amaya/aix/batch/Makefile, but not until after it tries to build grm. Some interestisting lines from the Makefile: COMPILERS=../bin/grm ../bin/str ../bin/prs ../bin/tra ../bin/app GRMS = APP.GRM PRESEN.GRM STRUCT.GRM TRANS.GRM all : ../bin $(GRMS) $(COMPILERS) \ ../bin/printstr ../bin/rescandialogue APP.GRM : APP.LAN ../bin/grm (DIR=`pwd` ; THOTDIR=$$DIR/$(THOTDIR) ; export THOTDIR ; \ cd ../../batch ; $$DIR/../bin/grm APP) I expect that configure is doing something wrong, but there are no error messages when it runs. I have captured the on screen output from configure, and could make it or anything else available if that would help. I expect that all the other problems have the same cause as this one. >> I have searched all files in the distribution and can not find any file >> that contains a subroutine named TteLoadApplications. >> >> Other undefined references are ZoomIn and ZoomOut, but I have found these >> in amaya/init.c. Note that init.c is not compiled at this point, and I >> have not yet tried to compile it. > > These function calls are protected a _ZOOMSCROLL define and are in a module > that is not linked by grm and other compilers. > >> Also undefined are the variables appArgc and appArgv. As a workaround I >> added the following to batch/grammar.c: >> >> 710a711,712 >> > int appArgc; >> > char **appArgv; >> 732a735,737 >> > >> > appArgc = argc; >> > appArgv = argv; > > Normally you don't need to add any declaration. > It seems that some includes are not found. > >> In addition I had to add the following to the link (g++) command line to >> get this far: >> >> -lThotEditor -lgdk_imlib -lgtk -lgdk -lglib -lX11 -lXext -lpng -ljpeg >> -ltiff -lz -lungif -lgmodule > > The configure should add necessary libraries -lThotKernel etc. > >> >> I tried getting the latest source from CVS, but I still could not find any >> file that had a subroutine named TteLoadApplications. Any help would be >> appreciated. > > Let me know if things work better or not. > Irene. > ----- > Irène Vatton INRIA Rhône-Alpes > INRIA ZIRST > e-mail: Irene.Vatton@inria.fr 655 avenue de l'Europe > Tel.: +33 4 76 61 53 61 Montbonnot > Fax: +33 4 76 61 52 07 38334 Saint Ismier Cedex - France > Tom schulz Applied Dynamics Intl. schulz@adi.com
Received on Wednesday, 31 March 2004 17:24:58 UTC