ports/53026: 5.1-RC1 avifile0.7-0.7.34 compile fails with "ac3-iec958.c:25: conflicting types for `swab'"

none noone at siu.edu
Sun Jun 8 02:40:08 UTC 2003


>Number:         53026
>Category:       ports
>Synopsis:       5.1-RC1 avifile0.7-0.7.34 compile fails with "ac3-iec958.c:25: conflicting types for `swab'"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 07 19:40:05 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     none
>Release:        FreeBSD 5.1-RC1 i386
>Organization:
>Environment:
System: FreeBSD freebsd2.localnet10 5.1-RC1 FreeBSD 5.1-RC1 #0: Sat Jun 7 03:22:29 CDT 2003 x at freebsd2.localnet10:/usr/src/sys/i386/compile/5.1-RC1 i386


	
>Description:

make -DWITH_AC3_PASSTHROUGH -DWITH_OPTIMIZED_CFLAGS | tee /tmp/avifile.compile

You can disable ac3 (liba52) support by defining WITHOUT_A52.
You can disable mad support by defining WITHOUT_MAD.
You can disable QT supported tools by defining WITHOUT_QT.
You can disable SDL supported tools by defining WITHOUT_SDL.
You can enable VIDIX support by defining WITH_VIDIX.
You can disable vorbis support by defining WITHOUT_VORBIS.
You can disable xvid support by defining WITHOUT_XVID.
===>  Extracting for avifile-0.7.34.20030319,2
You can disable ac3 (liba52) support by defining WITHOUT_A52.
You can disable mad support by defining WITHOUT_MAD.
You can disable QT supported tools by defining WITHOUT_QT.
You can disable SDL supported tools by defining WITHOUT_SDL.
You can enable VIDIX support by defining WITH_VIDIX.
You can disable vorbis support by defining WITHOUT_VORBIS.
You can disable xvid support by defining WITHOUT_XVID.
>How-To-Repeat:
	Recompile with same make parameters.
	
>Fix:
	Don't use "WITH_AC3_PASSTHROUGH" make parameter.

	


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for avifile-0.7.34-20030319.tgz.
 ===>  Patching for avifile-0.7.34.20030319,2
 ===>  Applying FreeBSD patches for avifile-0.7.34.20030319,2
 ===>   avifile-0.7.34.20030319,2 depends on executable: nasm - found
 ===>   avifile-0.7.34.20030319,2 depends on file: /usr/X11R6/bin/moc - found
 ===>   avifile-0.7.34.20030319,2 depends on executable: gmake - found
 ===>   avifile-0.7.34.20030319,2 depends on executable: libtool - found
 ===>   avifile-0.7.34.20030319,2 depends on shared library: a52.0 - found
 ===>   avifile-0.7.34.20030319,2 depends on shared library: mad.1 - found
 ===>   avifile-0.7.34.20030319,2 depends on shared library: SDL-1.1.5 - found
 ===>   avifile-0.7.34.20030319,2 depends on shared library: vorbis.2 - found
 ===>   avifile-0.7.34.20030319,2 depends on shared library: xvidcore.0 - found
 ===>   avifile-0.7.34.20030319,2 depends on shared library: X11.6 - found
 ===>  Configuring for avifile-0.7.34.20030319,2
 avifile configure options: --with-gnu-ld --enable-iconv --disable-v4l --disable-divx4 --with-qt-includes=/usr/X11R6/include --with-qt-libraries=/usr/X11R6/lib --with-extra-libs=/usr/local/lib --enable-release --enable-x86opt --enable-ac3passthrough --ena ble-a52 --enable-ffmpeg-a52bin --with-a52-prefix=/usr/local --enable-mad --enable-libmad --with-sdl-prefix=/usr/local --with-sdl-exec-prefix=/usr/local --disable-vidix --with-vorbis-prefix=/usr/local --with-ogg-prefix=/usr/local --with-xvid-prefix=/usr/l ocal --enable-x86opt --enable-win32 --with-win32-path=/usr/local/lib/win32 --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --prefix=/usr/local
 .
 .
 .
 Install path:	  /usr/local
 Qt:		  yes
 Sdl:		  yes
 Xft:		  yes
 Oss audio:	  yes
 Sun audio:	  no
 Mga_vid:	  no
 Plugins:
   ac3passthrough  yes  (with SBLive only)
   divx4 	  no  (DivX ;-), OpenDivX, DivX4)
   xvid		  yes  (DivX4, XviD)
   ffmpeg	    (DivX ;-), OpenDivX, MJPEG, AC3)
   os motion jpeg  yes  (MJPEG)
   win32 	  yes  (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...)
   MAD		  yes  (MPEG Layer I/II/III)
   vorbis	  yes
   lame runtime	  no
 
 ===>  Building for avifile-0.7.34.20030319,2
 .
 .
 .
 creating libaviplay.la
 (cd .libs && rm -f libaviplay.la && ln -s ../libaviplay.la libaviplay.la)
 gmake[2]: Leaving directory `/usr/ports/multimedia/avifile/work/avifile0.7-0.7.34/lib'
 gmake[1]: Leaving directory `/usr/ports/multimedia/avifile/work/avifile0.7-0.7.34/lib'
 Making all in plugins
 gmake[1]: Entering directory `/usr/ports/multimedia/avifile/work/avifile0.7-0.7.34/plugins'
 Making all in libac3pass
 gmake[2]: Entering directory `/usr/ports/multimedia/avifile/work/avifile0.7-0.7.34/plugins/libac3pass'
 /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -Wall -Wno-unused -I../../include  -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -D_LARGEFILE_SOURCE  -D_FILE_OFFSET_BITS=64   -pipe  -c ac3-iec958.c
 mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall -Wno-unused -I../../include -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -c ac3-iec95 8.c  -fPIC -DPIC -o .libs/ac3-iec958.lo
 ac3-iec958.c:25: conflicting types for `swab'
 /usr/include/string.h:114: previous declaration of `swab'
 gmake[2]: *** [ac3-iec958.lo] Error 1
 gmake[2]: Leaving directory `/usr/ports/multimedia/avifile/work/avifile0.7-0.7.34/plugins/libac3pass'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/multimedia/avifile/work/avifile0.7-0.7.34/plugins'
 gmake: *** [all-recursive] Error 1
 *** Error code 2
  
 Stop in /usr/ports/multimedia/avifile.
 *** Error code 1
   
  Stop in /usr/ports/multimedia/avifile.
 	



More information about the freebsd-ports-bugs mailing list