root@ubuntu:~/contrib# ./build-pms-linux.sh
--------------------------------------------------------------------------------------
Building zlib
--------------------------------------------------------------------------------------
--2011-09-29 08:06:03-- http://zlib.net/zlib-1.2.5.tar.gz
Resolving zlib.net... 69.73.181.135
Connecting to zlib.net|69.73.181.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 544640 (532K) [application/x-gzip]
Saving to: `zlib-1.2.5.tar.gz'
100%[=====================================================================================================================================================================>] 544,640 380K/s in 1.4s
2011-09-29 08:06:06 (380 KB/s) - `zlib-1.2.5.tar.gz' saved [544640/544640]
Checking for gcc...
Checking for shared library support...
Tested cc -w -c -march=pentium4 -mtune=i686 -I/root/contrib/target/include ztest9371.c
ztest9371.c:1:0: error: CPU you selected does not support x86-64 instruction set
Tested cc -shared -march=pentium4 -mtune=i686 -I/root/contrib/target/include -o ztest9371.so ztest9371.o
cc: ztest9371.o: No such file or directory
cc: no input files
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.5 with cc.
Checking for off64_t... No.
Checking for fseeko... No.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf().
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o example.o example.c
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o adler32.o adler32.c
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o compress.o compress.c
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o crc32.o crc32.c
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o deflate.o deflate.c
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o gzclose.o gzclose.c
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o gzlib.o gzlib.c
cc -march=pentium4 -mtune=i686 -I/root/contrib/target/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o gzread.o gzread.c
gzread.c:1:0: error: CPU you selected does not support x86-64 instruction set
make: *** [gzread.o] Error 1
make: *** Waiting for unfinished jobs....
compress.c:1:0: error: CPU you selected does not support x86-64 instruction setexample.c:1:0: error: CPU you selected does not support x86-64 instruction set
adler32.c:1:0: error: CPU you selected does not support x86-64 instruction setgzclose.c:1:0: error: CPU you selected does not support x86-64 instruction set
gzlib.c:1:0: error: CPU you selected does not support x86-64 instruction set
make: *** [compress.o] Error 1deflate.c:1:0: error: CPU you selected does not support x86-64 instruction set
make: *** [adler32.o] Error 1
make: *** [gzclose.o] Error 1
make: *** [deflate.o] Error 1
make: *** [gzlib.o] Error 1
make: *** [example.o] Error 1
crc32.c:1:0: error: CPU you selected does not support x86-64 instruction set
make: *** [crc32.o] Error 1
Fatal error occurred, aborting build.root@ubuntu:~/contrib# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5319.45
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 1
siblings : 4
core id : 0
cpu cores : 2
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5320.25
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5320.23
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 1
siblings : 4
core id : 0
cpu cores : 2
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5320.23
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 4
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5320.21
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 5
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 1
siblings : 4
core id : 1
cpu cores : 2
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5320.26
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 6
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5320.20
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 7
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 2.66GHz
stepping : 4
cpu MHz : 2659.728
cache size : 2048 KB
physical id : 1
siblings : 4
core id : 1
cpu cores : 2
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5320.23
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:export CFLAGS="-march=pentium4 -mtune=$TARGET_ARCHITECTURE"
export LDFLAGS="-march=pentium4 -mtune=$TARGET_ARCHITECTURE"
export CXXFLAGS="-march=pentium4 -mtune=$TARGET_ARCHITECTURE"export CFLAGS="-march=native -mtune=$TARGET_ARCHITECTURE"
export LDFLAGS="-march=native -mtune=$TARGET_ARCHITECTURE"
export CXXFLAGS="-march=native -mtune=$TARGET_ARCHITECTURE"TARGET_ARCHITECTURE="core2"TARGET_ARCHITECTURE="generic"apt-get install autoconf automake$GPP -shared -static-libstdc++ -static-libgcc -o ./../libmediainfo.so ./*.o -Wl,--whole-archive -L./ -lzen -Wl,--no-whole-archive$GPP -static-libstdc++ -static-libgcc -o ./../libmediainfo.so ./*.o -Wl,--whole-archive -L./ -lzen -Wl,--no-whole-archive/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../../crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
./File_Ibi_Creation.o: In function `MediaInfoLib::File_Ibi_Creation::Finish()':
File_Ibi_Creation.cpp:(.text+0x55a): undefined reference to `compress2'
./File_Ibi.o: In function `MediaInfoLib::File_Ibi::CompressedIndex()':
File_Ibi.cpp:(.text+0x5a87): undefined reference to `uncompress'
./File_Mpeg4_Elements.o: In function `MediaInfoLib::File_Mpeg4::moov_cmov_cmvd_zlib()':
File_Mpeg4_Elements.cpp:(.text+0xd76d): undefined reference to `uncompress'
./File_Swf.o: In function `MediaInfoLib::File_Swf::Decompress()':
File_Swf.cpp:(.text+0xa35): undefined reference to `uncompress'
.//libzen.a(Thread.o): In function `ZenLib::Thread::Run()':
Thread.cpp:(.text+0x38e): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
Fatal error occurred, aborting build.apt-get install sysstatmpstat | grep "Linux" | awk '{print $6}' | tr -d \(8dcraw: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.15, stripped
ffmpeg: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.15, stripped
flac: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.15, stripped
libmediainfo.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
mencoder: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.15, stripped
mplayer: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.15, strippedcat /proc/cpuinfo | grep processor | wc -l> ffmpeg -version
ffmpeg version N-31460-g80e4fe4, Copyright (c) 2000-2011 the FFmpeg developers
> mencoder
MEncoder SVN-r34118-4.5.2 (C) 2000-2011 MPlayer Teamapt-get install autoconf automake$GPP -shared -static-libstdc++ -static-libgcc -o ./../libmediainfo.so ./*.o -Wl,--whole-archive -L./ -lzen -Wl,--no-whole-archive$GPP -static-libstdc++ -static-libgcc -o ./../libmediainfo.so ./*.o -Wl,--whole-archive -L./ -lzen -Wl,--no-whole-archiveReturn to Linux Specific Support
Users browsing this forum: No registered users and 6 guests