[MacPorts] #15599: Sox gsm.c compile error

MacPorts noreply at macports.org
Sat Dec 13 23:26:56 PST 2008


#15599: Sox gsm.c compile error
-------------------------------+--------------------------------------------
 Reporter:  steve@…            |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:  Port Bugs                            
Component:  ports              |     Version:  1.6.0                                
 Keywords:                     |        Port:  sox                                  
-------------------------------+--------------------------------------------
Changes (by jmr@…):

  * port:  => sox


Old description:

> $ port
> MacPorts 1.600
> $ sudo port install sox
> --->  Fetching libid3tag
> --->  Attempting to fetch libid3tag-0.15.1b.tar.gz from
> ftp://ftp.mars.org/pub/mpeg/
> --->  Verifying checksum(s) for libid3tag
> --->  Extracting libid3tag
> --->  Configuring libid3tag
> --->  Building libid3tag with target all
> --->  Staging libid3tag into destroot
> --->  Installing libid3tag 0.15.1b_0
> --->  Activating libid3tag 0.15.1b_0
> --->  Cleaning libid3tag
> --->  Fetching sox
> --->  Attempting to fetch sox-14.0.1.tar.gz from
> http://downloads.sourceforge.net/sox
> --->  Verifying checksum(s) for sox
> --->  Extracting sox
> --->  Configuring sox
> --->  Building sox with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_sox/work/sox-14.0.1"
> && make all " returned error 2
> Command output: gsm.c:161: error: dereferencing pointer to incomplete
> type
> gsm.c:161: error: dereferencing pointer to incomplete type
> gsm.c:162: error: dereferencing pointer to incomplete type
> gsm.c:164: error: dereferencing pointer to incomplete type
> gsm.c:167: error: 'gsp' undeclared (first use in this function)
> gsm.c:169: error: dereferencing pointer to incomplete type
> gsm.c:174: warning: implicit declaration of function 'gsm_encode'
> gsm.c:174: error: dereferencing pointer to incomplete type
> gsm.c:174: error: dereferencing pointer to incomplete type
> gsm.c:175: error: dereferencing pointer to incomplete type
> gsm.c:182: error: dereferencing pointer to incomplete type
> gsm.c:182: error: dereferencing pointer to incomplete type
> gsm.c: In function 'sox_gsmwrite':
> gsm.c:194: error: dereferencing pointer to incomplete type
> gsm.c:194: error: dereferencing pointer to incomplete type
> gsm.c:195: error: dereferencing pointer to incomplete type
> gsm.c:198: error: dereferencing pointer to incomplete type
> gsm.c:198: error: dereferencing pointer to incomplete type
> gsm.c: In function 'sox_gsmstopread':
> gsm.c:215: error: dereferencing pointer to incomplete type
> gsm.c:216: warning: implicit declaration of function 'gsm_destroy'
> gsm.c:216: error: dereferencing pointer to incomplete type
> gsm.c:218: error: dereferencing pointer to incomplete type
> gsm.c:219: error: dereferencing pointer to incomplete type
> gsm.c: In function 'sox_gsmstopwrite':
> gsm.c:228: error: dereferencing pointer to incomplete type
> gsm.c:228: error: dereferencing pointer to incomplete type
> make[2]: *** [gsm.lo] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
>
> Error: Status 1 encountered during processing.
> StevesLaptop-2:io steve$

New description:

 {{{
 $ port
 MacPorts 1.600
 $ sudo port install sox
 --->  Fetching libid3tag
 --->  Attempting to fetch libid3tag-0.15.1b.tar.gz from
 ftp://ftp.mars.org/pub/mpeg/
 --->  Verifying checksum(s) for libid3tag
 --->  Extracting libid3tag
 --->  Configuring libid3tag
 --->  Building libid3tag with target all
 --->  Staging libid3tag into destroot
 --->  Installing libid3tag 0.15.1b_0
 --->  Activating libid3tag 0.15.1b_0
 --->  Cleaning libid3tag
 --->  Fetching sox
 --->  Attempting to fetch sox-14.0.1.tar.gz from
 http://downloads.sourceforge.net/sox
 --->  Verifying checksum(s) for sox
 --->  Extracting sox
 --->  Configuring sox
 --->  Building sox with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_sox/work/sox-14.0.1"
 && make all " returned error 2
 Command output: gsm.c:161: error: dereferencing pointer to incomplete type
 gsm.c:161: error: dereferencing pointer to incomplete type
 gsm.c:162: error: dereferencing pointer to incomplete type
 gsm.c:164: error: dereferencing pointer to incomplete type
 gsm.c:167: error: 'gsp' undeclared (first use in this function)
 gsm.c:169: error: dereferencing pointer to incomplete type
 gsm.c:174: warning: implicit declaration of function 'gsm_encode'
 gsm.c:174: error: dereferencing pointer to incomplete type
 gsm.c:174: error: dereferencing pointer to incomplete type
 gsm.c:175: error: dereferencing pointer to incomplete type
 gsm.c:182: error: dereferencing pointer to incomplete type
 gsm.c:182: error: dereferencing pointer to incomplete type
 gsm.c: In function 'sox_gsmwrite':
 gsm.c:194: error: dereferencing pointer to incomplete type
 gsm.c:194: error: dereferencing pointer to incomplete type
 gsm.c:195: error: dereferencing pointer to incomplete type
 gsm.c:198: error: dereferencing pointer to incomplete type
 gsm.c:198: error: dereferencing pointer to incomplete type
 gsm.c: In function 'sox_gsmstopread':
 gsm.c:215: error: dereferencing pointer to incomplete type
 gsm.c:216: warning: implicit declaration of function 'gsm_destroy'
 gsm.c:216: error: dereferencing pointer to incomplete type
 gsm.c:218: error: dereferencing pointer to incomplete type
 gsm.c:219: error: dereferencing pointer to incomplete type
 gsm.c: In function 'sox_gsmstopwrite':
 gsm.c:228: error: dereferencing pointer to incomplete type
 gsm.c:228: error: dereferencing pointer to incomplete type
 make[2]: *** [gsm.lo] Error 1
 make[1]: *** [all] Error 2
 make: *** [all-recursive] Error 1

 Error: Status 1 encountered during processing.
 StevesLaptop-2:io steve$
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/15599#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list