wrpearson / fasta36

Git repository for FASTA36 sequence comparison software
Apache License 2.0
117 stars 17 forks source link

Compile error for version 36.3.8 #7

Closed biocyberman closed 6 years ago

biocyberman commented 6 years ago

Stuck at this point when I was following the compile instruction:

make -f ../make/Makefile.linux_sse2 all 
gcc -g -O -msse2 -o ../bin/fasta36 comp_mthr9.o  work_thr2.o pthr_subs2.o compacc2_t.o   showbest.o build_ares.o re_getlib.o mshowalign2_t.o htime.o apam.o doinit.o init_fa.o drop_nfa.o wm_align.o calcons_fa.o scale_se.o karlin.o  lgetlib.o lgetaa_m.o c_dispn.o ncbl2_mlib.o lib_sel.o url_subs.o mrandom.o -lm -lz -lpthread
compacc2_t.o: In function `build_lib_db':
/home/vql/repositories/github/fasta36/src/compacc2e.c:1564: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -g -O -msse2 -o ../bin/ssearch36 comp_mthr9.o        work_thr2.o  pthr_subs2.o compacc2_t.o   showbest.o build_ares.o re_getlib.o mshowalign2_t.o htime.o apam.o doinit.o init_sw_sse.o dropgsw2_sse.o smith_waterman_sse2.o lwm_align.o calcons_sw.o scale_se.o karlin.o  lgetlib.o lgetaa_m.o c_dispn.o ncbl2_mlib.o lib_sel.o url_subs.o mrandom.o pssm_asn_subs.o -lm -lz -lpthread
compacc2_t.o: In function `build_lib_db':
/home/vql/repositories/github/fasta36/src/compacc2e.c:1564: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -g -O -msse2  -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit  -DM10_CONS  -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP  -D_LARGEFILE64_SOURCE  -DBIG_LIB64 -DLALIGN -c mshowalign2.c -o lshowalign.o
mshowalign2.c: In function ‘showalign’:
mshowalign2.c:494:67: error: ‘struct a_struct’ has no member named ‘n_gap_q’
    ng_percent = (100.0*(float)l_aln_p->nident)/(float)(lc-(l_aln_p->n_gap_q + l_aln_p->n_gap_l));
                                                                   ^
mshowalign2.c:494:86: error: ‘struct a_struct’ has no member named ‘n_gap_l’
    ng_percent = (100.0*(float)l_aln_p->nident)/(float)(lc-(l_aln_p->n_gap_q + l_aln_p->n_gap_l));
                                                                                      ^
../make/Makefile.fcom:114: recipe for target 'lshowalign.o' failed
wrpearson commented 6 years ago

Fixed.

Bill Pearson

Begin forwarded message:

From: Vang Le notifications@github.com<mailto:notifications@github.com>

Subject: [wrpearson/fasta36] Compile error for version 36.3.8 (#7)

Date: May 7, 2018 at 10:06:55 AM EDT

To: wrpearson/fasta36 fasta36@noreply.github.com<mailto:fasta36@noreply.github.com>

Cc: Subscribed subscribed@noreply.github.com<mailto:subscribed@noreply.github.com>

Reply-To: wrpearson/fasta36 reply@reply.github.com<mailto:reply@reply.github.com>

Stuck at this point when I was following the compile instruction:

make -f ../make/Makefile.linux_sse2 all gcc -g -O -msse2 -o ../bin/fasta36 comp_mthr9.o work_thr2.o pthr_subs2.o compacc2_t.o showbest.o build_ares.o re_getlib.o mshowalign2_t.o htime.o apam.o doinit.o init_fa.o drop_nfa.o wm_align.o calcons_fa.o scale_se.o karlin.o lgetlib.o lgetaa_m.o c_dispn.o ncbl2_mlib.o lib_sel.o url_subs.o mrandom.o -lm -lz -lpthread compacc2_t.o: In function build_lib_db': /home/vql/repositories/github/fasta36/src/compacc2e.c:1564: warning: the use ofmktemp' is dangerous, better use mkstemp' ormkdtemp' gcc -g -O -msse2 -o ../bin/ssearch36 comp_mthr9.o work_thr2.o pthr_subs2.o compacc2_t.o showbest.o build_ares.o re_getlib.o mshowalign2_t.o htime.o apam.o doinit.o init_sw_sse.o dropgsw2_sse.o smith_waterman_sse2.o lwm_align.o calcons_sw.o scale_se.o karlin.o lgetlib.o lgetaa_m.o c_dispn.o ncbl2_mlib.o lib_sel.o url_subs.o mrandom.o pssm_asn_subs.o -lm -lz -lpthread compacc2_t.o: In function build_lib_db': /home/vql/repositories/github/fasta36/src/compacc2e.c:1564: warning: the use ofmktemp' is dangerous, better use mkstemp' ormkdtemp' gcc -g -O -msse2 -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DM10_CONS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP -D_LARGEFILE64_SOURCE -DBIG_LIB64 -DLALIGN -c mshowalign2.c -o lshowalign.o mshowalign2.c: In function ‘showalign’: mshowalign2.c:494:67: error: ‘struct a_struct’ has no member named ‘n_gap_q’ ng_percent = (100.0(float)l_aln_p->nident)/(float)(lc-(l_aln_p->n_gap_q + l_aln_p->n_gap_l)); ^ mshowalign2.c:494:86: error: ‘struct a_struct’ has no member named ‘n_gap_l’ ng_percent = (100.0(float)l_aln_p->nident)/(float)(lc-(l_aln_p->n_gap_q + l_aln_p->n_gap_l)); ^ ../make/Makefile.fcom:114: recipe for target 'lshowalign.o' failed

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/wrpearson/fasta36/issues/7, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGGGv2H7lBVQxBb2wZYA9KP7kN2ea_yCks5twFT_gaJpZM4T1CIj.

biocyberman commented 6 years ago

Prompt response :)