Hi EHC,

How recently have you downloaded the code?  Line 1204 in the latest version is 
this:

char *type = NULL;

and function searchSpecial begins at line 2593, long after line 1204.  hgFind.c 
contains this version line:

static char const rcsid[] = "$Id: hgFind.c,v 1.222 2009/09/23 18:42:20 angie 
Exp $";

Does your hgFind.c have a similar line?  

If downloading the most recent source code and recompiling does not help (see 
http://genome.ucsc.edu/admin/cvs.html), please send the output of 'gcc -v'.  

Hope that helps,
Angie



----- "EHC" <[email protected]> wrote:

> From: "EHC" <[email protected]>
> To: [email protected]
> Sent: Wednesday, September 30, 2009 9:54:57 AM GMT -08:00 US/Canada Pacific
> Subject: [Genome] jkhgap.a alarm on OSX
>
> Hi,
> I would like to compile the mafsInRegion program. I follow the
> instructions
> and manage to get up to the step where the fixcr example works.
> 
> When I try to make in the I mafAddIRows directory I get the following
> message:
> 
> mafAddIRows
> make[1]: *** No rule to make target `../../../lib/i386/jkhgap.a',
> needed by
> `mafAddIRows'.  Stop.
> make: *** [all] Error 2
> 
> 
> I try to make again in kent/src/hg (following an previous post here
> https://lists.soe.ucsc.edu/pipermail/genome/2003-November/003529.html)
> and
> in all directory tree to mafAddIRows.
> 
> Here is what I get in  kent/src/hg:
> cd lib && make
> gcc -O  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
> -DMACHTYPE_i386 -DJK_WARN -Wall -Werror -Wno-unused-variable -I../inc
> -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc
> -I/usr/include/mysql -o hgFind.o -c hgFind.c
> cc1: warnings being treated as errors
> hgFind.c: In function ‘searchSpecial’:
> hgFind.c:1204: warning: ‘type’ may be used uninitialized in this
> function
> make[1]: *** [hgFind.o] Error 1
> make: *** [hgLib] Error 2
> 
> 
> Not sure how to continue from here.
> 
> Thanks
> EHC
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome

_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to