Altera_Forum
Honored Contributor
15 years agoh264 for uclinux on cycloneIII 3C25
Hi,
I want to execute h264 code from (url: iphome.hhi.de/suehring/tml/download/old_jm/jm16.2.zip) into uclinux with a Xenomai patch. I used Nios2-ide for genrating the .elf file for the cycloneIII 3C25 platform but I had these error messages: --- Quote Start --- obj/win32.o(.text+0xf60): In function `down_scale': ../ifunctions.h:245: multiple definition of `down_scale' obj/annexb.o(.text+0xf60):../ifunctions.h:245: first defined here obj/win32.o(.text+0xfa8): In function `up_scale': ../ifunctions.h:256: multiple definition of `up_scale' obj/annexb.o(.text+0xfa8):../ifunctions.h:256: first defined here obj/win32.o(.text+0xff0): In function `dist_scale': ../ifunctions.h:267: multiple definition of `dist_scale' obj/annexb.o(.text+0xff0):../ifunctions.h:267: first defined here obj/win32.o(.text+0x103c): In function `dist_down': ../ifunctions.h:280: multiple definition of `dist_down' obj/annexb.o(.text+0x103c):../ifunctions.h:280: first defined here obj/win32.o(.sbss+0x0): In function `smin': ../ifunctions.h:29: multiple definition of `ProfileIDC' obj/annexb.o(.sbss+0x0):../ifunctions.h:29: first defined here obj/win32.o(.sbss+0x4): In function `smin': ../ifunctions.h:29: multiple definition of `MBModeTypes' obj/annexb.o(.sbss+0x4):../ifunctions.h:29: first defined here obj/win32.o(.sbss+0x8): In function `smin': ../ifunctions.h:29: multiple definition of `DirectModes' obj/annexb.o(.sbss+0x8):../ifunctions.h:29: first defined here obj/win32.o(.sbss+0xc): In function `smin': ../ifunctions.h:29: multiple definition of `CAVLCBlockTypes' obj/annexb.o(.sbss+0xc):../ifunctions.h:29: first defined here obj/win32.o(.sbss+0x10): In function `smin': ../ifunctions.h:29: multiple definition of `CABACBlockTypes' obj/annexb.o(.sbss+0x10):../ifunctions.h:29: first defined here obj/win32.o(.sbss+0x14): In function `smin': ../ifunctions.h:30: multiple definition of `I4x4PredModes' obj/annexb.o(.sbss+0x14):../ifunctions.h:30: first defined here obj/win32.o(.sbss+0x18): In function `smin': ../ifunctions.h:30: multiple definition of `I16x16PredModes' obj/annexb.o(.sbss+0x18):../ifunctions.h:30: first defined here obj/win32.o(.sbss+0x1c): In function `smin': ../ifunctions.h:30: multiple definition of `I8x8PredModes' obj/annexb.o(.sbss+0x1c):../ifunctions.h:30: first defined here obj/win32.o(.sbss+0x20): In function `smin': ... collect2: ld returned 1 exit status make: *** [hello_world_8.elf] Error 1 Build completed in 14.45 seconds --- Quote End --- for the complete error msg see this file errors.txt in the attachements I commented these lines from the ifonctions.h file: # if !defined(WIN32) && (__STDC_VERSION__ < 199901L) # define static # define inline # endif et # if !defined(WIN32) && (__STDC_VERSION__ < 199901L) # undef static # undef inline # endif you can find the ifunctions.h file in the attachements and i'm having always the same problems Could you pleeeeeeease help me? PS: I'm using the Nios2-ide Linux version on OpenSuse OS. THX :) :confused: