pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34666: Xvidcore fails to build on AMD64 NetBSD-4.0Beta



>Number:         34666
>Category:       pkg
>Synopsis:       Xvidcore fails to build on AMD64 NetBSD-4.0Beta
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 30 03:25:01 +0000 2006
>Originator:     Merritt Draney
>Release:        4.0Beta as of 2 weeks ago
>Organization:
>Environment:
NetBSD popcorn.hr.cox.net 4.0_BETA NetBSD 4.0_BETA (MYKERNEL.MP) #0: Thu Sep 21 
16:54:39 EDT 2006  
root%popcorn.hr.cox.net@localhost:/usr/obj/sys/arch/amd64/compile/MYKERNEL.MP 
amd64

>Description:
Here is what I am getting:               

 from /usr/include/inttypes.h:43,
                 from ../../src/utils/../portab.h:66,
                 from ../../src/utils/../global.h:30,
                 from ../../src/utils/mem_transfer.c:26:
/usr/include/sys/stdint.h:87:1: warning: this is the location of the previous
finition
In file included from ../../src/utils/../global.h:30,
                 from ../../src/utils/mem_transfer.c:26:
../../src/utils/../portab.h:90:1: warning: "uintptr_t" redefined
In file included from /usr/include/sys/inttypes.h:46,
                 from /usr/include/inttypes.h:43,
                 from ../../src/utils/../portab.h:66,
                 from ../../src/utils/../global.h:30,
                 from ../../src/utils/mem_transfer.c:26:
/usr/include/sys/stdint.h:92:1: warning: this is the location of the previous
finition
  C: utils/timer.c
  A: dct/x86_64_asm/fdct_mmx_skal.asm
  A: dct/x86_64_asm/idct_mmx.asm
  A: image/x86_64_asm/interpolate8x8_mmx.asm
  A: image/x86_64_asm/interpolate8x8_xmm.asm
  A: image/x86_64_asm/qpel_mmx.asm
  A: motion/x86_64_asm/sad_mmx.asm
  A: motion/x86_64_asm/sad_xmm.asm
  A: quant/x86_64_asm/quantize_h263_mmx.asm
  A: quant/x86_64_asm/quantize_mpeg_xmm.asm
  A: utils/x86_64_asm/cpuid.asm
  A: utils/x86_64_asm/interlacing_mmx.asm
  A: utils/x86_64_asm/mem_transfer_mmx.asm
  L: libxvidcore.a
  L: libxvidcore.so.4.1
ld: image/x86_64_asm/qpel_mmx.o: relocation R_X86_64_PC32 against `xvid_FIR_1
_2_1' can not be used when making a shared object; recompile with -fPIC
ld: final link failed: Bad value
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/xvidcore/work/xvidcore-1.1.0/build/ge
ic
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/xvidcore
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/xvidcore

>How-To-Repeat:
make install clean in xvidcore folder on amd64

Looks like this has been a problem in the past.  I just can not find the 
solution.
>Fix:
Possibly enable -fPIC in the compilation of this pkg but I have not figured out 
how to do that with pkgsrc yet.




Home | Main Index | Thread Index | Old Index