List Info

Thread: Successfully compiled YAZ but problems to compile IrTcl




Successfully compiled YAZ but problems to compile IrTcl
user name
2006-02-12 17:58:02
Hello!

I've successfully compiled YAZ (2.1.12) on a SUSE Linux
10.0 running 64bit 
librarys for an AMD Athlon 64 X2 3800+ (dual core) with 1
GByte RAM.
--- 8<
-----------------------------------------------------------
snip! ---
Linux version 2.6.13-15-smp (geekobuildhost)
(gcc version 4.0.2 20050901 (prerelease) (SUSE Linux))
#1 SMP Tue Sep 13 14:56:15 UTC 2005
--- 8<
-----------------------------------------------------------
snap! ---

There is Tcl/Tk 8.4.11 installed.

Trying to compile IrTcl (1.4.2) runs into an error:
        "marc.c:60: error: static declaration of
‘atoi_n’ 
        follows non-static declaration"
        (see below)

Any help would be appreciated!


Best regards,

Joerg Schmitz

--- 8<
-----------------------------------------------------------
snip! ---
linux:/home/joerg/ir-tcl-1.4.2 # ./configure
--with-tclconfig=/usr/lib64/
checking for a BSD-compatible install... /usr/bin/install -c
checking for YAZ... ../yaz-2.1.12/yaz-config
checking for YAZ version... 2.1.12
checking for Tcl... 8.4
configure: creating ./config.status
config.status: creating Makefile
linux:/home/joerg/ir-tcl-1.4.2 # make
gcc -pipe -c  -fPIC -DCCL2RPN=1
-DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\"  
-DIRTCLDIR=\"/usr/local/lib/irtcl\" -I.
-I/home/joerg/yaz-2.1.12/include    
-DIR_TCL_VERSION=\"1.4.2\" marc.c
marc.c:60: error: static declaration of ‘atoi_n’ follows
non-static 
declaration
/home/joerg/yaz-2.1.12/include/yaz/marcdisp.h:89: error:
previous declaration 
of ‘atoi_n’ was here
make: *** [marc.o] Error 1
--- 8<
-----------------------------------------------------------
snap! ---

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )