Date: Fri, 18 Nov 2016 21:53:17 +0200 From: Anastasios Mageirias <anastasios@mageirias.com> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: issue with videosnarf port Message-ID: <6e3ff42e-84e9-10af-254e-9dd5fc49b00b@mageirias.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------5F95CE12192DA170DCBEB30D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi i'm trying to port videosnarf in order to port xplico later. During "make build" i encounter the following error. Does this error stem from the incompatibility between architectures or is it another one that i can see using "c++ -v" as stated below ? I'm trying for a week to solve that issue but i can't figure out anything. As i can guess the linker tries to link some codec files that are compiled somewhere else right ? Thank you for any help provided. I also attach the .shar file of my work in progress /usr/bin/ld: i386 architecture of input file `../codec-lib/libG729a.a(g729aen_acelp_ca.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG729a.a(g729aen_basic_op.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG729a.a(g729aen_dspfunc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG729a.a(g729aen_gainpred.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG729a.a(g729aen_lspgetq.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG7231.a(EasyG7231.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG7231.a(Codec-G7231.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG7231.a(basop.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG7231.a(tab_lbc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG726.a(EasyG726.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG726.a(g726_16.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG726.a(g726_24.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG726.a(g726_32.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG726.a(g726_40.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG726.a(g72x.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `../codec-lib/libG726.a(g711.o)' is incompatible with i386:x86-64 output ../codec-lib/libG729a.a(EasyG729A.o): In function `EasyG729A_init_decoder()': EasyG729A.cpp:(.text+0xd4): undefined reference to `operator new(unsigned int)' ../codec-lib/libG729a.a(EasyG729A.o): In function `EasyG729A_init_encoder()': EasyG729A.cpp:(.text+0x174): undefined reference to `operator new(unsigned int)' ../codec-lib/libG7231.a(EasyG7231.o): In function `EasyG7231_init_decoder(bool)': EasyG7231.cpp:(.text+0xca): undefined reference to `operator new(unsigned int)' EasyG7231.cpp:(.text+0x11a): undefined reference to `operator new(unsigned int)' ../codec-lib/libG7231.a(EasyG7231.o): In function `EasyG7231_init_encoder(bool)': EasyG7231.cpp:(.text+0x1ca): undefined reference to `operator new(unsigned int)' ../codec-lib/libG7231.a(EasyG7231.o):EasyG7231.cpp:(.text+0x21a): more undefined references to `operator new(unsigned int)' follow c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [videosnarf] Error code 1 make[3]: stopped in /usr/home/mag/videosnarf/work/videosnarf-0.63/src 1 error make[3]: stopped in /usr/home/mag/videosnarf/work/videosnarf-0.63/src *** [all] Error code 2 make[2]: stopped in /usr/home/mag/videosnarf/work/videosnarf-0.63/src 1 error make[2]: stopped in /usr/home/mag/videosnarf/work/videosnarf-0.63/src *** [all-recursive] Error code 1 make[1]: stopped in /usr/home/mag/videosnarf/work/videosnarf-0.63 1 error make[1]: stopped in /usr/home/mag/videosnarf/work/videosnarf-0.63 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/home/mag/videosnarf --------------5F95CE12192DA170DCBEB30D Content-Type: text/plain; charset=UTF-8; name="videosnarf.shar" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="videosnarf.shar" IyBUaGlzIGlzIGEgc2hlbGwgYXJjaGl2ZS4gIFNhdmUgaXQgaW4gYSBmaWxlLCByZW1vdmUg YW55dGhpbmcgYmVmb3JlCiMgdGhpcyBsaW5lLCBhbmQgdGhlbiB1bnBhY2sgaXQgYnkgZW50 ZXJpbmcgInNoIGZpbGUiLiAgTm90ZSwgaXQgbWF5CiMgY3JlYXRlIGRpcmVjdG9yaWVzOyBm aWxlcyBhbmQgZGlyZWN0b3JpZXMgd2lsbCBiZSBvd25lZCBieSB5b3UgYW5kCiMgaGF2ZSBk ZWZhdWx0IHBlcm1pc3Npb25zLgojCiMgVGhpcyBhcmNoaXZlIGNvbnRhaW5zOgojCiMJdmlk ZW9zbmFyZgojCXZpZGVvc25hcmYvTWFrZWZpbGUKIwl2aWRlb3NuYXJmL3BrZy1kZXNjcgoj CXZpZGVvc25hcmYvZGlzdGluZm8KIwl2aWRlb3NuYXJmL2ZpbGVzCiMJdmlkZW9zbmFyZi9m aWxlcy9wYXRjaC1zcmNfc3RyZWFtLmMKIwl2aWRlb3NuYXJmL2ZpbGVzL3BhdGNoLXNyY19z dHJlYW0uaAojCmVjaG8gYyAtIHZpZGVvc25hcmYKbWtkaXIgLXAgdmlkZW9zbmFyZiA+IC9k ZXYvbnVsbCAyPiYxCmVjaG8geCAtIHZpZGVvc25hcmYvTWFrZWZpbGUKc2VkICdzL15YLy8n ID52aWRlb3NuYXJmL01ha2VmaWxlIDw8ICcxZjQzYzM4NTMzMDZiZmRjZTYyNDkyMzIwMDc0 YTRiNicKWCMgJEZyZWVCU0QkClgKWFBPUlROQU1FPQl2aWRlb3NuYXJmClhQT1JUVkVSU0l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+cnRwUFRSLT5zc3JjID0gYnN3YXBf MzIocnRwLT5zc3JjKTsKWCsJY3VycmVudE1lZGlhU3RyZWFtLT5ydHBQVFItPnNzcmMgPSBi c3dhcDMyKHJ0cC0+c3NyYyk7ClggI2Vsc2UKWCAJY3VycmVudE1lZGlhU3RyZWFtLT5ydHBQ VFItPnNzcmMgPSBudG9obChydHAtPnNzcmMpOwpYICNlbmRpZgpiODEzY2Q4YzVhNmM3Y2Ux ODIxYjFlNjJhNmYyZjc0OQplY2hvIHggLSB2aWRlb3NuYXJmL2ZpbGVzL3BhdGNoLXNyY19z dHJlYW0uaApzZWQgJ3MvXlgvLycgPnZpZGVvc25hcmYvZmlsZXMvcGF0Y2gtc3JjX3N0cmVh bS5oIDw8ICdhMTI3YjljYjk5M2UxYzFhM2YwMTgzOGVjMjcxMGE3NicKWC0tLSBzcmMvc3Ry ZWFtLmgub3JpZwkyMDEwLTA1LTE3IDE3OjQ5OjU0IFVUQwpYKysrIHNyYy9zdHJlYW0uaApY QEAgLTQsOSArNCwxMiBAQApYICNpbmNsdWRlICJ2aWRlb3NuYXJmLmgiClggI2luY2x1ZGUg Imc3MjIuaCIKWCAKWCsvKgpYICNpZmRlZiBBUkNIX1g2NApYICNpbmNsdWRlICJieXRlc3dh cC5oIgpYICNlbmRpZgpYKyovClgrI2luY2x1ZGUgPHN5cy9lbmRpYW4uaD4KWCAKWCAjZGVm aW5lIENPRzcxMVVMQVcJMFgwMApYICNkZWZpbmUgQ09HNzExQUxBVwkweDA4CmExMjdiOWNi OTkzZTFjMWEzZjAxODM4ZWMyNzEwYTc2CmV4aXQKCg== --------------5F95CE12192DA170DCBEB30D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e3ff42e-84e9-10af-254e-9dd5fc49b00b>