[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Re: how to compile mutilble C files with a multible headers in Uclinux platform
On Tue, Nov 17, 2009 at 6:57 PM, Ranga Babu P <p.rangababu@xxxxxxxxx> wrote:
>
>
> hello john
>
> this is the error i got. as i seen it compiles well but linkig is the
> problem .it prints all the files instead i shown only some files
these are link errors. The errors in the previous email were compile
errors. Which problem are you working on here?
These are not microblaze-specific problems. Please find someone in
your university department who understands the basics of compilation,
and Makefiles. They can help you more effectively than I can.
Good luck.
John
>
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/vlc.o
> allfiles/vlc.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o
> obj/errorconcealment.o allfiles/errorconcealment.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/io_raw.o
> allfiles/io_raw.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/nal.o
> allfiles/nal.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/win32.o
> allfiles/win32.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/filehandle.o
> allfiles/filehandle.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/io_tiff.o
> allfiles/io_tiff.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/nalucommon.o
> allfiles/nalucommon.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/fmo.o
> allfiles/fmo.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/ldecod.o
> allfiles/ldecod.c
> ucfront-gcc microblaze-uclinux-gcc -c -I include-lm -o obj/nalu.o
> allfiles/nalu.c
>
> ucfront-gcc microblaze-uclinux-gcc -mno-xl-soft-mul -mxl-barrel-shift
> -mcpu=v7.10.d -Wl,-elf2flt -o H264dec obj/annexb.o obj/header.o
> obj/leaky_bucket.o obj/output.o obj/biaridecod.o obj/image.o
> obj/loopFilter.o obj/parsetcommon.o obj/blk_prediction.o obj/img_io.o
> obj/macroblock.o obj/parset.o obj/block.o obj/img_process.o obj/mb_access.o
> obj/quant.o obj/cabac.o obj/input.o obj/mb_prediction.o obj/rtp.o
> obj/context_ini.o obj/intra16x16_pred.o obj/mbuffer.o obj/sei.o
> obj/erc_api.o obj/intra4x4_pred.o obj/mc_prediction.o obj/transform8x8.o
> obj/erc_do_i.o obj/intra8x8_pred.o obj/memalloc.o obj/transform.o
> obj/erc_do_p.o obj/intra_chroma_pred.o obj/mv_prediction.o obj/vlc.o
> obj/errorconcealment.o obj/io_raw.o obj/nal.o obj/win32.o obj/filehandle.o
> obj/io_tiff.o obj/nalucommon.o obj/fmo.o obj/ldecod.o obj/nalu.o
>
>
> obj/annexb.o(.text+0x398): first defined here
> obj/nalu.o: In function `distblkmax':
> obj/nalu.o(.text+0x3e4): multiple definition of `distblkmax'
> obj/annexb.o(.text+0x3e4): first defined here
> obj/nalu.o: In function `sabs':
> obj/nalu.o(.text+0x430): multiple definition of `sabs'
> obj/annexb.o(.text+0x430): first defined here
> obj/nalu.o: In function `iabs':
> obj/nalu.o(.text+0x4a8): multiple definition of `iabs'
> obj/annexb.o(.text+0x4a8): first defined here
> obj/nalu.o: In function `dabs':
> obj/nalu.o(.text+0x50c): multiple definition of `dabs'
> obj/annexb.o(.text+0x50c): first defined here
> obj/nalu.o: In function `i64abs':
> obj/nalu.o(.text+0x5a4): multiple definition of `i64abs'
> obj/annexb.o(.text+0x5a4): first defined here
> obj/nalu.o: In function `dabs2':
> obj/nalu.o(.text+0x63c): multiple definition of `dabs2'
> obj/annexb.o(.text+0x63c): first defined here
> obj/nalu.o: In function `iabs2':
> obj/nalu.o(.text+0x698): multiple definition of `iabs2'
> obj/annexb.o(.text+0x698): first defined here
> obj/nalu.o: In function `i64abs2':
> obj/nalu.o(.text+0x6d8): multiple definition of `i64abs2'
> obj/annexb.o(.text+0x6d8): first defined here
> obj/nalu.o: In function `isign':
> obj/nalu.o(.text+0x734): multiple definition of `isign'
> obj/annexb.o(.text+0x734): first defined here
> obj/nalu.o: In function `isignab':
> obj/nalu.o(.text+0x790): multiple definition of `isignab'
> obj/annexb.o(.text+0x790): first defined here
> obj/nalu.o: In function `rshift_rnd':
> obj/nalu.o(.text+0x7fc): multiple definition of `rshift_rnd'
> obj/annexb.o(.text+0x7fc): first defined here
> obj/nalu.o: In function `rshift_rnd_sign':
> obj/nalu.o(.text+0x8b8): multiple definition of `rshift_rnd_sign'
> obj/annexb.o(.text+0x8b8): first defined here
> obj/nalu.o: In function `rshift_rnd_us':
> obj/nalu.o(.text+0x9c4): multiple definition of `rshift_rnd_us'
> obj/annexb.o(.text+0x9c4): first defined here
> obj/nalu.o: In function `rshift_rnd_sf':
> obj/nalu.o(.text+0xa60): multiple definition of `rshift_rnd_sf'
> obj/annexb.o(.text+0xa60): first defined here
> obj/nalu.o: In function `rshift_rnd_us_sf':
> obj/nalu.o(.text+0xad0): multiple definition of `rshift_rnd_us_sf'
> obj/annexb.o(.text+0xad0): first defined here
> obj/nalu.o: In function `iClip1':
> obj/nalu.o(.text+0xb40): multiple definition of `iClip1'
> obj/annexb.o(.text+0xb40): first defined here
> obj/nalu.o: In function `iClip3':
> obj/nalu.o(.text+0xb9c): multiple definition of `iClip3'
> obj/annexb.o(.text+0xb9c): first defined here
> obj/nalu.o: In function `sClip3':
> obj/nalu.o(.text+0xbfc): multiple definition of `sClip3'
> obj/annexb.o(.text+0xbfc): first defined here
> obj/nalu.o: In function `dClip3':
> obj/nalu.o(.text+0xc8c): multiple definition of `dClip3'
> obj/annexb.o(.text+0xc8c): first defined here
> obj/nalu.o: In function `weighted_cost':
> obj/nalu.o(.text+0xd2c): multiple definition of `weighted_cost'
> obj/annexb.o(.text+0xd2c): first defined here
> obj/nalu.o: In function `RSD':
> obj/nalu.o(.text+0xd70): multiple definition of `RSD'
> obj/annexb.o(.text+0xd70): first defined here
> obj/nalu.o: In function `power2':
> obj/nalu.o(.text+0xdc0): multiple definition of `power2'
> obj/annexb.o(.text+0xdc0): first defined here
> obj/nalu.o: In function `float2int':
> obj/nalu.o(.text+0xe04): multiple definition of `float2int'
> obj/annexb.o(.text+0xe04): first defined here
> obj/nalu.o: In function `get_bit':
> obj/nalu.o(.text+0xeac): multiple definition of `get_bit'
> obj/annexb.o(.text+0xeac): first defined here
> obj/nalu.o: In function `psnr':
> obj/nalu.o(.text+0xf08): multiple definition of `psnr'
> obj/annexb.o(.text+0xf08): first defined here
> obj/nalu.o: In function `CheckCost_Shift':
> obj/nalu.o(.text+0x1074): multiple definition of `CheckCost_Shift'
> obj/annexb.o(.text+0x1074): first defined here
> obj/nalu.o: In function `CheckCost':
> obj/nalu.o(.text+0x11d4): multiple definition of `CheckCost'
> obj/annexb.o(.text+0x11d4): first defined here
> obj/nalu.o: In function `down_scale':
> obj/nalu.o(.text+0x1248): multiple definition of `down_scale'
> obj/annexb.o(.text+0x1248): first defined here
> obj/nalu.o: In function `up_scale':
> obj/nalu.o(.text+0x12bc): multiple definition of `up_scale'
> obj/annexb.o(.text+0x12bc): first defined here
> obj/nalu.o: In function `dist_scale':
> obj/nalu.o(.text+0x1330): multiple definition of `dist_scale'
> obj/annexb.o(.text+0x1330): first defined here
> obj/nalu.o: In function `dist_down':
> obj/nalu.o(.text+0x1398): multiple definition of `dist_down'
> obj/annexb.o(.text+0x1398): first defined here
> obj/nalu.o(.bss+0x24): multiple definition of `errortext'
> obj/annexb.o(.bss+0x24): first defined here
> obj/nalu.o(.bss+0x0): multiple definition of `MBModeTypes'
> obj/annexb.o(.bss+0x0): first defined here
> obj/nalu.o(.bss+0x4): multiple definition of `DirectModes'
> obj/annexb.o(.bss+0x4): first defined here
> obj/nalu.o(.bss+0x8): multiple definition of `CAVLCBlockTypes'
> obj/annexb.o(.bss+0x8): first defined here
> obj/nalu.o(.bss+0xc): multiple definition of `CABACBlockTypes'
> obj/annexb.o(.bss+0xc): first defined here
> obj/nalu.o(.bss+0x10): multiple definition of `I4x4PredModes'
> obj/annexb.o(.bss+0x10): first defined here
> obj/nalu.o(.bss+0x14): multiple definition of `I16x16PredModes'
> obj/annexb.o(.bss+0x14): first defined here
> obj/nalu.o(.bss+0x18): multiple definition of `I8x8PredModes'
> obj/annexb.o(.bss+0x18): first defined here
> obj/nalu.o(.bss+0x1c): multiple definition of `MVPredTypes'
> obj/annexb.o(.bss+0x1c): first defined here
> obj/nalu.o(.bss+0x20): multiple definition of `PicPos'
> obj/annexb.o(.bss+0x20): first defined here
> collect2: ld returned 1 exit status
>
>
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/