[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mjpeg-users
Subject:    [Mjpeg-users] Problem with yuvdenoise and K8 CPU
From:       Bernhard Praschinger <shadowlord () utanet ! at>
Date:       2011-01-26 16:15:41
Message-ID: 4D4048AD.4010808 () utanet ! at
[Download RAW message or body]

Hallo

I got a error report from a user that tries to compile the mjpegtools on 
a AMD K8 Architecture on a Opensuse 11.3 I have attached the output of 
the configure script.

When I try to compile yuvdenoise with optimizations for my barcelona 
CPU. Everything is ok but when I compile it for the K8 I get a error:
 > gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../utils   -O3 -funroll-all-loops\
-ffast-math -march=k8 -mtune=k8 -g -O2 -pthread -Wall -Wunused -MT\
main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: In function ‘filter_plane_median_sse2’:
main.c:1035:3: error: ‘cnt’ undeclared (first use in this function)
main.c:1035:3: note: each undeclared identifier is reported only once 
for each function it appears in
main.c:1038:3: error: ‘avg’ undeclared (first use in this function)

Uncommenting the two variables make the compile work, and yuvdenoise 
seems to work proper.
Did anybody stumble across that problem by now ?

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowlord@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

["config_orig.txt" (text/plain)]

checking build system type... x86_64-suse-linux-gnu
checking host system type... x86_64-suse-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) \
supports shared libraries... yes checking whether -lc should be explicitly linked \
in... no checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) \
supports shared libraries... yes checking for g++ option to produce PIC... -fPIC \
-DPIC checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) \
supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux \
ld.so checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking dependency style of gcc... gcc3
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for sin in -lm... yes
checking for posix_memalign... yes
checking for memalign... yes
checking for fmax... yes
checking for fmin... yes
checking for lround... yes
checking for getopt_long... yes
checking return type of signal handlers... void
configure: The host is x86_64-suse-linux-gnu  x86_64  suse  linux-gnu .
checking for alpha architecture... no
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for pthread_attr_getstacksize... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBQUICKTIME... no
checking for LIBPNG... yes
checking for LIBDV... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for __progname... yes
checking for XF86DGAQueryExtension in -lXxf86dga... yes
checking for GTK... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.1.3... yes
checking for vlineColor in -lSDL_gfx... no
checking Architecture... x86_64
checking if C compiler accepts inline MMX assembly... yes
checking sub-architecture settings... -march=k8 -mtune=k8
enable_static_build=\'\'
checking what warning flags to pass to the C compiler... -Wall -Wunused

configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian/Makefile
config.status: creating debian/control
config.status: creating docs/Makefile
config.status: creating lavtools/Makefile
config.status: creating yuvcorrect/Makefile
config.status: creating yuvdenoise/Makefile
config.status: creating yuvdeinterlace/Makefile
config.status: creating yuvscaler/Makefile
config.status: creating y4munsharp/Makefile
config.status: creating y4mutils/Makefile
config.status: creating yuvfilters/Makefile
config.status: creating mpeg2enc/Makefile
config.status: creating aenc/Makefile
config.status: creating mplex/Makefile
config.status: creating scripts/Makefile
config.status: creating utils/Makefile
config.status: creating utils/altivec/Makefile
config.status: creating utils/mmxsse/Makefile
config.status: creating y4mdenoise/Makefile
config.status: creating mjpegtools.pc
config.status: creating mjpegtools.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: 
configure:  MJPEG tools 2.0.0 build configuration :
configure: 
configure:   - X86 Optimizations:
configure:     - MMX/3DNow!/SSE enabled      : true
configure:   - arch/cpu compiler flags       : -march=k8 -mtune=k8
configure:   - video4linux recording/playback: true
configure:   - software MJPEG playback       : true
configure:   - Quicktime playback/recording  : false
configure:   - PNG input support             : true
configure:   - AVI MJPEG playback/recording  : true (always)
configure:   - libDV (digital video) support : false 
configure:   - Gtk+ support for glav         : true
configure: 



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic