F8ARR

Station Radioamateur

  • Augmenter la taille
  • Taille par défaut
  • Diminuer la taille

Map65Iq under ubuntu

Envoyer Imprimer PDF
Hello moonbouncers..

This messages is directed to Linux users...

I'm trying to compile MAP65-IQ under my linux box. It is a Ubuntu 10.04.
The "build-essential" packages have been installed

The prequisits also are installed :

  • subversion
  • python2.5-dev
  • python-numpy
  • python-imaging-tk
  • python-pmw
  • libportaudio2
  • libportaudio-dev
  • libsamplerate0-dev
  • g95

The configure goes well. But during the compilation I have the problem attached on the bottom of this email.

I have put in red some points that seems to be the reason (not sure).

I think this is quite common problem because on all my ubuntu 10.04 I have the same problem (and might not be the only one).

Sorry for the length of this email but I did not find any suitable solution on forums or googlesphere..

Any help / idear appreciated

Regards
F8ARR


############################ trace #######################"

.f90 rfile3a.F90 spec.f90 map65a.F90 display.F90 getfile.F90 getfile2.F90 recvpkt.F90 savetf2.F90 symspec.f90 sec_midn.F90 \
ptt_unix.c igray.c wrapkarn.c cutil.c a2d.f90 jtaudio.c start_portaudio.c
rmbadname1: Replacing "short" with "short_bn".
rmbadname1: Replacing "len" with "len_bn".
rmbadname1: Replacing "len" with "len_bn".
buildmodule: Could not found the body of interfaced routine "decode1". Skipping.
buildmodule: Could not found the body of interfaced routine "wsjtgen". Skipping.
buildmodule: Could not found the body of interfaced routine "runqqq". Skipping.
buildmodule: Could not found the body of interfaced routine "fivehz". Skipping.
buildmodule: Could not found the body of interfaced routine "fivehztx". Skipping.
buildmodule: Could not found the body of interfaced routine "addnoise". Skipping.
buildmodule: Could not found the body of interfaced routine "gran". Skipping.
buildmodule: Could not found the body of interfaced routine "flushqqq". Skipping.
buildmodule: Could not found the body of interfaced routine "rfile". Skipping.
buildmodule: Could not found the body of interfaced routine "rfile3a". Skipping.
buildmodule: Could not found the body of interfaced routine "map65a". Skipping.
buildmodule: Could not found the body of interfaced routine "display". Skipping.
buildmodule: Could not found the body of interfaced routine "getfile2". Skipping.
buildmodule: Could not found the body of interfaced routine "recvpkt". Skipping.
buildmodule: Could not found the body of interfaced routine "savetf2". Skipping.
buildmodule: Could not found the body of interfaced routine "symspec". Skipping.
buildmodule: Could not found the body of interfaced routine "sec_midn". Skipping.
buildmodule: Could not found the body of interfaced routine "sleep_msec". Skipping.
buildmodule: Could not found the body of interfaced routine "a2d". Skipping.
Found executable /usr/bin/g95
gnu: no Fortran 90 compiler found
Could not locate executable g77
Found executable /usr/bin/f77
gnu: no Fortran 90 compiler found
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgf90
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
Could not locate executable efort
Could not locate executable efc
Found executable /usr/bin/gfortran

start_portaudio.c: In function ‘start_threads_’:
start_portaudio.c:25: warning: passing argument 3 of ‘pthread_create’ from incompatible pointer type
/usr/include/pthread.h:227: note: expected ‘void * (*)(void *)’ but argument is of type ‘void (*)(int *)’
start_portaudio.c:27: warning: passing argument 3 of ‘pthread_create’ from incompatible pointer type
/usr/include/pthread.h:227: note: expected ‘void * (*)(void *)’ but argument is of type ‘void (*)(int *)’
start_portaudio.c:29: warning: passing argument 3 of ‘pthread_create’ from incompatible pointer type
/usr/include/pthread.h:227: note: expected ‘void * (*)(void *)’ but argument is of type ‘void (*)(int *)’
start_portaudio.c:30: warning: control reaches end of non-void function
jtaudio.c:5: warning: function declaration isn’t a prototype
jtaudio.c:6: warning: function declaration isn’t a prototype
jtaudio.c: In function ‘SoundOut’:
jtaudio.c:81: warning: unused variable ‘stime0’
jtaudio.c:78: warning: unused variable ‘ib’
jtaudio.c:77: warning: unused variable ‘ia’
jtaudio.c:76: warning: unused variable ‘n0’
jtaudio.c: In function ‘jtaudio_’:
jtaudio.c:187: warning: passing argument 7 of ‘Pa_OpenStream’ from incompatible pointer type
portaudio.h:797: note: expected ‘int (*)(const void *, void *, long unsigned int,  const struct PaStreamCallbackTimeInfo *, PaStreamCallbackFlags,  void *)’ but argument is of type ‘int (*)(void *, void *, long unsigned int,  const struct PaStreamCallbackTimeInfo *, PaStreamCallbackFlags,  void *)’
jtaudio.c:141: warning: unused variable ‘err3’
jtaudio.c:141: warning: unused variable ‘err2’
jtaudio.c:140: warning: ‘ndout’ may be used uninitialized in this function
jtaudio.c:141: warning: ‘err2a’ may be used uninitialized in this function
jtaudio.c:141: warning: ‘err3a’ may be used uninitialized in this function
jtaudio.c:142: warning: ‘dnfs’ may be used uninitialized in this function
cutil.c: In function ‘time_’:
cutil.c:84: warning: implicit declaration of function ‘time’
In file astro0.F90:81

uth8z=uth8-1.d0/3600.d0
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file astro0.F90:87

if(dt.le.0) dt=1.d0/60.d0
1
Warning (141): Implicit conversion at (1) causes precision loss
In file astro0.F90:94

imin=60*uth8
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file astro0.F90:95

isec=3600*uth8
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file astro0.F90:98

ih=uth8
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file audio_init.F90:27

iwave(i)=nint(32767.0*sin(6.283185307*i*f0/nfsample))
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file audio_init.F90:66

ierr=start_threads(ndevin,ndevout,y1,y2,nmax,iwrite,iwave,nwave,    &
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file datcom.f90:7

Included at decode1.F90:13

equivalence (id,fcfile)
1  2
Warning (101): EQUIVALENCE-ing variable 'id' at (1) with 'fcfile' at (2) is nonstandard
In file decode1.F90:38

n=Tsec
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file ftn_init.F90:26

character*1 cjunk
1
Warning (112): Variable 'cjunk' at (1) is set but never used
In file wsjtgen.F90:28

equivalence (ariff,hdr)
1     2
Warning (101): EQUIVALENCE-ing variable 'ariff' at (1) with 'hdr' at (2) is nonstandard
In file wsjtgen.F90:33

fsample_out=11025.d0*samfacout
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file wsjtgen.F90:98

2    nwave=60*fsample_out
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file wsjtgen.F90:101

iwave(i)=32767.0*sin(i*dpha)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:73

tx2=trperiod-(tlatency+txdelay)      !Time to turn TX off
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:76

tx2=txdelay + nwave/11025.0
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:85

t=mod(Tsec,2.d0*trperiod)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:98

nsec=Tsec
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:132

nc1a=txdelay/0.18576
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:139

nc0a=(tlatency+txdelay)/0.18576
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:143

if(nc0.eq.0) i3=ptt(nport,pttport,0,iptt)
1
Warning (112): Variable 'i3' at (1) is set but never used
In file fivehz.F90:121

mute.eq.0) i2=ptt(nport,pttport,1,iptt)        !Raise PTT
1
Warning (112): Variable 'i2' at (1) is set but never used
In file fivehz.F90:117

mute.eq.0) i1=ptt(nport,pttport,1,iptt)        !Raise PTT
1
Warning (112): Variable 'i1' at (1) is set but never used
In file fivehz.F90:228

snr=10.0**(0.05*(txsnrdb-1))
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:233

i=fac*(gran(idum) + n*snr/32768.0)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file fivehz.F90:236

n=i
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:54

ia=0.08*NFFT
1
Warning (141): Implicit conversion at (1) causes precision loss
In file spec.f90:55

ib=0.92*NFFT
1
Warning (141): Implicit conversion at (1) causes precision loss
In file spec.f90:71

n=savg2(i) * (300.0/ave)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:100

nbpp=(nfb-nfa)*NFFT/(95.2381*NX)       !Bins per pixel in upper waterfall
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:102

msub=1000*(fcenter+fadd-int(fcenter+fadd)) + 0.5
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:124

if(x.gt.0.0 .and. logmap.eq.0) n=(2.0*x)**gamma + offset
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:125

if(x.gt.0.0 .and. logmap.eq.1) n=gain*log10(1.0*x) + offset
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:127

a(k)=n
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:132

if(x.gt.0.0 .and. logmap.eq.0) n=(3.0*x)**gamma + offset
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:133

if(x.gt.0.0 .and. logmap.eq.1) n=1.2*gain*log10(1.0*x) + offset
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:135

a2(k)=n
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file spec.f90:69

call zero(hist,1001)
1
In file spec.f90:47

call zero(savg2,NFFT)
2
Warning (155): Inconsistent types (INTEGER(4)/REAL(4)) in actual argument lists at (1) and (2)
In file spec.f90:69

call zero(hist,1001)
1
In file spec.f90:37

call zero(s,NFFT*NY)
2
Warning (155): Inconsistent types (INTEGER(4)/REAL(4)) in actual argument lists at (1) and (2)
In file spec.f90:69

call zero(hist,1001)
1
In file spec.f90:31

call zero(a2,NX*NY/2)
2
Warning (155): Inconsistent types (INTEGER(4)/INTEGER(2)) in actual argument lists at (1) and (2)
In file spec.f90:69

call zero(hist,1001)
1
In file spec.f90:30

call zero(a,NX*NY/2)
2
Warning (155): Inconsistent types (INTEGER(4)/INTEGER(2)) in actual argument lists at (1) and (2)
In file datcom.f90:7

Included at map65a.F90:17

equivalence (id,fcfile)
1  2
Warning (101): EQUIVALENCE-ing variable 'id' at (1) with 'fcfile' at (2) is nonstandard
In file map65a.F90:204

nutc=sig(k,2)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:211

nkv=sig(k,9)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:212

nqual=sig(k,10)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:221

mhz=fcenter+fadd
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:224

nsync1=sync1
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:261

ifile=sig(i,1)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:272

nutc=sig(i,2)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:278

nkv=sig(i,9)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:279

nqual=min(sig(i,10),10.0)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:283

nhist=sig(i,18)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:293

mhz=fcenter+fadd
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:300

nsync1=sync1
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file map65a.F90:55

1 len_hiscall=i
1
Warning (112): Variable 'len_hiscall' at (1) is set but never used
In file display.F90:27

freqkHz(i)=1000.d0*(f0-mhz) + 0.001d0*ndf
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file display.F90:116

call indexx(kz,utc2,indx2)
1
In file display.F90:66

call indexx(nz,freqkHz,indx)
2
Warning (155): Inconsistent types (INTEGER(4)/REAL(4)) in actual argument lists at (1) and (2)
In file datcom.f90:7

Included at getfile.F90:5

equivalence (id,fcfile)
1  2
Warning (101): EQUIVALENCE-ing variable 'id' at (1) with 'fcfile' at (2) is nonstandard
In file datcom.f90:7

Included at getfile2.F90:10

equivalence (id,fcfile)
1  2
Warning (101): EQUIVALENCE-ing variable 'id' at (1) with 'fcfile' at (2) is nonstandard
In file getfile2.F90:47

sqave=174*sq/(kb-ka+1)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file recvpkt.F90:15

equivalence (id,d4)
1  2
Warning (101): EQUIVALENCE-ing variable 'id' at (1) with 'd4' at (2) is nonstandard
In file datcom.f90:7

Included at recvpkt.F90:13

equivalence (id,fcfile)
1  2
Warning (101): EQUIVALENCE-ing variable 'id' at (1) with 'fcfile' at (2) is nonstandard
In file recvpkt.F90:36

nsec=mod(Tsec,86400.d0)           !Time according to MAP65
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file recvpkt.F90:53

nblock0=nblock-1
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file recvpkt.F90:79

tdiff=mod(0.001d0*msec,60.d0)-mod(Tsec,60.d0)
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file recvpkt.F90:127

nhsym=(k-(kbuf-1)*60*96000)/17691.3949
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file symspec.f90:20

npts=hsym                               !Integral samples per half symbol
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file symspec.f90:83

i0=ts+hsym                           !Starting sample pointer
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file symspec.f90:85

i1=ts+2*hsym                         !Next starting sample pointer
1
Warning (140): Implicit conversion at (1) may cause precision loss
In file symspec.f90:7

complex z
1
Warning (137): Variable 'z' at (1) is never used and never set
g95: /usr/lib/libfftw3f.a : Aucun fichier ou dossier de ce type
g95: /usr/lib/libfftw3f.a : Aucun fichier ou dossier de ce type
error: Command "/usr/bin/g95 -shared -shared /tmp/tmpRK0WNi/ptt_unix.o /tmp/tmpRK0WNi/igray.o /tmp/tmpRK0WNi/wrapkarn.o /tmp/tmpRK0WNi/cutil.o /tmp/tmpRK0WNi/jtaudio.o /tmp/tmpRK0WNi/start_portaudio.o /tmp/tmpRK0WNi/tmp/tmpRK0WNi/src.linux-i686-2.6/Audiomodule.o /tmp/tmpRK0WNi/tmp/tmpRK0WNi/src.linux-i686-2.6/fortranobject.o /tmp/tmpRK0WNi/astro0.o /tmp/tmpRK0WNi/audio_init.o /tmp/tmpRK0WNi/azdist0.o /tmp/tmpRK0WNi/decode1.o /tmp/tmpRK0WNi/ftn_init.o /tmp/tmpRK0WNi/ftn_quit.o /tmp/tmpRK0WNi/wsjtgen.o /tmp/tmpRK0WNi/runqqq.o /tmp/tmpRK0WNi/fivehz.o /tmp/tmpRK0WNi/flushqqq.o /tmp/tmpRK0WNi/rfile.o /tmp/tmpRK0WNi/rfile3a.o /tmp/tmpRK0WNi/spec.o /tmp/tmpRK0WNi/map65a.o /tmp/tmpRK0WNi/display.o /tmp/tmpRK0WNi/getfile.o /tmp/tmpRK0WNi/getfile2.o /tmp/tmpRK0WNi/recvpkt.o /tmp/tmpRK0WNi/savetf2.o /tmp/tmpRK0WNi/symspec.o /tmp/tmpRK0WNi/sec_midn.o /tmp/tmpRK0WNi/a2d.o /tmp/tmpRK0WNi/tmp/tmpRK0WNi/src.linux-i686-2.6/Audio-f2pywrappers.o init_rs.o encode_rs.o decode_rs.o plrr_subs.o loc.o deep65.o indexx.o gen65.o chkmsg.o gentone.o gencwid.o set.o db.o pctile.o sort.o ssort.o avemsg65.o demod64a.o encode65.o extract.o four2a.o getpfx1.o getpfx2.o graycode.o grid2k.o interleave63.o k2grid.o morse.o nchar.o packcall.o packgrid.o packmsg.o packtext.o setup65.o unpackcall.o unpackgrid.o unpackmsg.o unpacktext.o astro.o azdist.o coord.o dcoord.o deg2grid.o dot.o ftsky.o geocentric.o GeoDist.o grid2deg.o moon2.o MoonDop.o sun.o toxyz.o pfxdump.o ccf65.o trimlist.o chkhist.o decode1a.o filbig.o fil6521.o twkfreq.o decode65b.o afc65b.o fchisq.o ccf2.o rfile2.o /usr/lib/libfftw3f.a -L/usr/local/lib -L/usr/lib/g95/bin/../lib/gcc-lib/i686-suse-linux-gnu/4.0.3// -lpthread -lportaudio -o ./Audio.so" failed with exit status 1
make: *** [Audio.so] Erreur 1


######################### end of trace #######################
Commentaires (1)
  • F8FTK  - libfftw3-dev ?
    Bonjour,

    Je me demande si vous ne faites pas fausse route sur la cause de l'erreur. Même s'il y a des messages inquiétants, on dirait quand-même que le script de compilation trouve son compilateur Fortran...

    Par contre vers la fin il y a « g95: /usr/lib/libfftw3f.a : Aucun fichier ou dossier de ce type »

    Le fichier manquant fait partie de libfftw3-dev. L'avez-vous installé ?

    Je ne garantis rien, c'est juste une idée de piste !

    73.
  • f8arr
    Oui mais j'ai corrigé en ajoutant effectivement la libfftw3 mais surtout en prenant les dernières sources du SVN.
    Plus d'explications : http://www.f8arr.org/map65-et-ubuntu-1004.html
Ecrire un commentaire
Your Contact Details:
Commentaire:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

 

Divers

Sondage

Votre informatique de la station est sous :
 

Abonnez-vous au flux RSS du site !