X-Sieve: CMU Sieve 2.2 X-Sieve: CMU Sieve 2.2 Date: Mon, 10 Oct 2005 08:12:02 +0100 (BST) From: Ed Griffiths X-X-Sender: edgrif@griffin2.internal.sanger.ac.uk To: BrianFristensky Subject: Re: [Acedb-soft] Can't compile 4.9.27 on Solaris 9 MIME-Version: 1.0 Brian, You have unfortunately fallen over a problem that has been around since well before 4.9l so whoever compiled that version must have overcome it before or your system has had gtk reinstalled. Sorry that it has emerged again. > Since the most recent Solaris binary is 4.9l, I > would like to compile the most recent non-server code. > > I have the 4.9.27 source and am trying to compile on > Solaris 9 machine. (Of course, if someone has already > compiled these Solaris binaries, perhaps they could > be contributed to www.acedb.org). > > For now, I am attaching the screen messages from make, > assuming that that will show the problem. For brevity, > I will also show, at the end of this message, > just the output I saw after make failed and, I tried > to specifically compile xace or tace. The messages below (as I'm sure you saw) say that va_copy cannot be found, this is not used directly by acedb but by a library (glib) that acedb uses. Can you try the following for me and let me know if it works: In file w1/messsubs.c can you change the following lines which appear very near the top of the file from: #ifdef SGI #include #endif to: #if defined(SGI) || defined(SUN) #include #endif and let me know if that fixes it. sorry for the trouble, Ed > > Help would be appreciated. > > > ====================================== > Brian Fristensky > Department of Plant Science > University of Manitoba > Winnipeg, MB R3T 2N2 CANADA > frist@cc.umanitoba.ca > Phone: 204-474-6085 > FAX: 204-474-7528 > http://home.cc.umanitoba.ca/~frist/ > ======================================================== > > As they lead you into the snake pit, smile. > > ======================================================== > > > {mira:/home/psgendb/pkg/acedb4.9.27}make xace > making xace for SOLARIS_4_OPT > rm -f display.o > gcc -O -DNO_LEFT_CASTING -Wall -DACEDB4 `../w3rdparty/include-config > -I/usr/local/include | sed -e "s/-I\/opt\/x11r5\/include//"` -I.. > -I../wh -I../wstaden -DACEDB_GTK -DSOLARIS -c xacemain.c display.c > gcc -R/usr/local/lib -o xace xacemain.o mainpick.o display.o update.o > newkey.o treedisp.o forest.o ksetdisp.o plot.o plot2d.o sessiondisp.o > longtextdisp.o querydisp.o qbedisp.o querybuild.o tabledisp.o > tablemakerdisp.o multimapdisp.o objcachedisp.o action.o layoutdisp.o > prefdisp.o acedbgraph.o acdbtest.o gifcommand.o statusdisp.o aqldisp.o > geldisp.o cmapdisp.o pmapdisp.o pmapconvert.o gmapdisp.o vmapdisp.o > vmapdrag.o pepactivezonecol.o alignmentdisp.o dnacpt.o fpdisp.o > pepdisp.o pepgifcommand.o pephomolcol.o pepseqcol.o pepfeaturecol.o > pepgraphcol.o metab.o gmapconvert.o gmapmarkercol.o gmapintervalcol.o > gmaplocuscol.o gmapremarkcol.o drawdisp.o gmapposnegcol.o method.o > methodcache.o gmapsubmapcol.o dendrogram.o mapcontrol.o fmapsequence.o > fmapfeatures.o fmapgene.o fmaposp.o fmapblast.o fmapmenes.o > fmapstatus.o fmapcontrol.o smapconvert.o fmapcdna.o fmapcurate.o das.o > gff.o griddisp.o embl.o translate.o gmapdata.o gmapdatacol.o > vmapdata2.o align.o gmapphys.o vmapphys.o gfcode.acedb.o > hexcode.acedb.o dotter.o dotterKarlin.o blxview.acedb.o oxgriddisp.o > pairmapdisp.o o2m.o oxhomlist.o specg.o -L. -lxace -lfree -lgex -lgraph > -lgd `../w3rdparty/acedb-config ` `../w3rdparty/libs-config > -L/usr/local/lib` -lm -lsocket -lnsl -lreadline -lcurses -ll -lw > Undefined first referenced > symbol in file > va_copy ./libfree.a(messubs.o) > ld: fatal: Symbol referencing errors. No output written to xace > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `xace' > Current working directory /home/psgendb/pkg/acedb4.9.27/bin.SOLARIS_4_OPT > *** Error code 1 > make: Fatal error: Command failed for target `xace' > {mira:/home/psgendb/pkg/acedb4.9.27}make tace > making tace for SOLARIS_4_OPT > /usr/bin/test -L tacemain.c || ln -s ../w3/tacemain.c . > gcc -O -DNO_LEFT_CASTING -Wall -DACEDB4 `../w3rdparty/include-config > -I/usr/local/include | sed -e "s/-I\/opt\/x11r5\/include//"` -I.. > -I../wh -I../wstaden -DACEDB_GTK -DSOLARIS -c tacemain.c > tacemain.c: In function `main': > tacemain.c:64: warning: unused variable `value' > gcc -R/usr/local/lib -o tace tacemain.o -L. -lace -lfree > `../w3rdparty/libs-config -L/usr/local/lib` -lm -lsocket -lnsl > -lreadline -lcurses -ll -lw > Undefined first referenced > symbol in file > va_copy ./libfree.a(messubs.o) > ld: fatal: Symbol referencing errors. No output written to tace > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `tace' > Current working directory /home/psgendb/pkg/acedb4.9.27/bin.SOLARIS_4_OPT > *** Error code 1 > make: Fatal error: Command failed for target `tace' > -- ** PLEASE NOTE NEW ADDRESS/PHONE NUMBER ** ------------------------------------------------------------------------ | Ed Griffiths, Acedb development, Informatics Group, | | The Morgan Building, Sanger Institute, Wellcome Trust Genome Campus | | Hinxton, Cambridge CB10 1HH | | | | email: edgrif@sanger.ac.uk Tel: +44-1223-496844 Fax: +44-1223-494919 | ------------------------------------------------------------------------