Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
7th December 2005, 16:07 | #201 | Link |
Pain and suffering
Join Date: Jul 2002
Posts: 1,337
|
@el divx
Code:
gcc -Wall -I. -O4 -ffast-math -D__X264__ -DHAVE_MMXEXT -DHAVE_SSE2 -DARCH_X86 -DSYS_MINGW -DAVIS_INPUT -DMP4_OUTPUT -DHAVE_PTHREAD=1 -s -fomit-frame-pointer -fprofile-generate -DHAVE_GETOPT_LONG=1 -c -o encoder/set.o encoder/set.c encoder/set.c: In function 'x264_sei_version_write': encoder/set.c:464: error: 'X264_VERSION' undeclared (first use in this function) encoder/set.c:464: error: (Each undeclared identifier is reported only once encoder/set.c:464: error: for each function it appears in.) make[1]: *** [encoder/set.o] Error 1 make[1]: Leaving directory `/home/user/x264' make: *** [fprofiled] Error 2 To fix this easy: Edit x264/Makefile, and remove config.h from clean: Change Code:
clean: rm -f $(OBJS) $(OBJASM) config.h *.a x264.o matroska.o x264 x264.exe .depend TAGS Code:
clean: rm -f $(OBJS) $(OBJASM) *.a x264.o matroska.o x264 x264.exe .depend TAGS Change Code:
distclean: clean rm -f config.mak vfw/build/cygwin/config.mak x264.pc Code:
distclean: clean rm -f config.h config.mak vfw/build/cygwin/config.mak x264.pc |
7th December 2005, 16:11 | #202 | Link |
Pain and suffering
Join Date: Jul 2002
Posts: 1,337
|
Another problem, while on it:
make fprofiled with gcc 4.0.2: I get this error: Code:
gcc -Wall -I. -O4 -ffast-math -D__X264__ -DHAVE_MMXEXT -DHAVE_SSE2 -DARCH_X86 -DSYS_MINGW -DAVIS_INPUT -DMP4_OUTPUT -DHAVE_PTHREAD=1 -s -fomit-frame-pointer -fprofile-use -DHAVE_GETOPT_LONG=1 -c -o common/pixel.o common/pixel.c gcc -Wall -I. -O4 -ffast-math -D__X264__ -DHAVE_MMXEXT -DHAVE_SSE2 -DARCH_X86 -DSYS_MINGW -DAVIS_INPUT -DMP4_OUTPUT -DHAVE_PTHREAD=1 -s -fomit-frame-pointer -fprofile-use -DHAVE_GETOPT_LONG=1 -c -o common/macroblock.o common/macroblock.c common/macroblock.c: In function 'x264_mb_predict_mv_ref16x16': common/macroblock.c:504: internal compiler error: Arithmetic exception Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[1]: *** [common/macroblock.o] Error 1 make[1]: Leaving directory `/home/user/x264' make: *** [fprofiled] Error 2 |
7th December 2005, 18:17 | #203 | Link |
"el" as in Hellas
Join Date: Jun 2003
Location: Greece
Posts: 71
|
OK, I've had it. How do you compile gcc 4.0.2 under windows?
I have tried to do it on MinGW and it failed.
__________________
Divx Forums Nickname: DivxRulez | Greek Doom9 Forums Nickname: Dark Scizor | dvd.stuff.gr Forums Nickname: Dark Scizor |
7th December 2005, 18:22 | #204 | Link | |
"el" as in Hellas
Join Date: Jun 2003
Location: Greece
Posts: 71
|
Quote:
You could: a) File a bug report on gcc's bugzilla or whatever they're using to collect bugs b) Wait for the naxt revision that may has it fixed c) Use a cvs version of gcc and pray that it works
__________________
Divx Forums Nickname: DivxRulez | Greek Doom9 Forums Nickname: Dark Scizor | dvd.stuff.gr Forums Nickname: Dark Scizor |
|
7th December 2005, 19:09 | #205 | Link | |
Pain and suffering
Join Date: Jul 2002
Posts: 1,337
|
Quote:
Extract ftp://ftp.nluug.nl/mirror/languages/...e-4.0.2.tar.gz and ftp://ftp.nluug.nl/mirror/languages/...+-4.0.2.tar.gz (both will be gcc-4.0.2/) then: 1. cd gcc-4.0.2/ 2. mkdir obj 3: cd obj 4: ../configure --prefix=/usr/local 5: make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap 6: make install I have done the same for gcc 3.4.4. I keep both compiled versions on my hdd (takes about 1 hour to compile here) So i can switch between gcc versions. gcc 4.1.x failed on me, some program missing, will look into that later. Note: G:\msys\1.0\home\user\gcc-3.4.4 321 MB (337,360,089 bytes) G:\msys\1.0\home\user\gcc-4.0.2 447 MB (468,898,041 bytes) |
|
8th December 2005, 13:21 | #206 | Link |
"el" as in Hellas
Join Date: Jun 2003
Location: Greece
Posts: 71
|
Code:
sort -u > tmp-macro_list /bin/sh ../../gcc/../move-if-change tmp-macro_list macro_list macro_list is unchanged echo timestamp > s-macro_list The directory that should contain system headers does not exist: /usr/include make[1]: *** [stmp-fixinc] Error 1 make[1]: Leaving directory `/home/gcc/obj/gcc' make: *** [all-gcc] Error 2
__________________
Divx Forums Nickname: DivxRulez | Greek Doom9 Forums Nickname: Dark Scizor | dvd.stuff.gr Forums Nickname: Dark Scizor |
8th December 2005, 13:38 | #207 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
You killed your linux box? What's inside /usr/include?
__________________
Detritus Software |
8th December 2005, 13:38 | #208 | Link |
Pain and suffering
Join Date: Jul 2002
Posts: 1,337
|
No clue, update mingw runtime and w32api ?
http://www.mingw.org/download.shtml mingw-runtime-3.9.tar.gz w32api-3.5.tar.gz |
9th December 2005, 13:44 | #209 | Link | |
"el" as in Hellas
Join Date: Jun 2003
Location: Greece
Posts: 71
|
Quote:
__________________
Divx Forums Nickname: DivxRulez | Greek Doom9 Forums Nickname: Dark Scizor | dvd.stuff.gr Forums Nickname: Dark Scizor |
|
10th December 2005, 13:13 | #210 | Link |
Pain and suffering
Join Date: Jul 2002
Posts: 1,337
|
gpac = fucked
My old gpac dir: Code:
cd gpac cvs up make clean make lib &>output.txt http://files.x264.nl/output.txt libgpac.dll 2.23 MB (2,348,791 bytes) libgpac_static.a 2.90 MB (3,049,872 bytes) When i re-run configure: Code:
cd gpac cvs up make clean configure make lib &>output_configure.txt http://files.x264.nl/output_configure.txt libgpac.dll 2.23 MB (2,348,791 bytes) libgpac_static.a 2.90 MB (3,049,872 bytes) When i do a fresh checkout: Code:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gpac co -P gpac cd gpac make clean configure make lib &>output_clean.txt http://files.x264.nl/output_clean.txt libgpac.dll error, not compiled libgpac_static.a 2.55 MB (2,675,434 bytes) What does this mean? cvs up is not working, not updating gpac? (so cvs up != fresh checkout) Then... what version am i using for x264 rev 385? Is there a CVS command to show you what version or date you are using? Help! |
14th December 2005, 10:22 | #211 | Link |
"el" as in Hellas
Join Date: Jun 2003
Location: Greece
Posts: 71
|
I don't know, maybe ask Sharktooth to provide working GPAC tarbals(that will work on MinGW)?
His builds of GPAC always seem to work even if everybody else's don't.
__________________
Divx Forums Nickname: DivxRulez | Greek Doom9 Forums Nickname: Dark Scizor | dvd.stuff.gr Forums Nickname: Dark Scizor |
14th December 2005, 11:22 | #212 | Link | ||||
Registered User
Join Date: May 2005
Posts: 184
|
Quote:
Quote:
Quote:
I manage to avoid this by having two copy of the gpac, named "src" and the "prog". "src" copy will have the clean distribution of the project while "prog" copy is for compilation. "CVS update" is only for the "src" copy only. A progrm is used to synchronize (as an exact mirror) from folder "src" to "prog". A good one is Super Flexible File Synchronizer (www.superflexible.com, beware, it's a shareware!). Only new files or additional files will be added or deleted with exact mirror option turned on. Synchronization can be done within few seconds. Not all files/data will be written onto the hard disk, only the neccessary files will be updated. This save hard disk life too.... Quote:
gpac dated 2005.12.03 works for me. I use Tortoise CVS to retrieve the src of gpac on 3rd Dec 2005. (Right click the gpac root folder: CVS-> Update special, click "Get date/time" and select 3th Dec 2005). |
||||
14th December 2005, 13:23 | #213 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
i wonder how JLF didnt notice gcc is not able to compile GPAC...
try adding --disable-svg in configure.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 14th December 2005 at 13:38. |
14th December 2005, 16:13 | #216 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
it's b0rked for every gcc version i tried 3.x and 4.x.
there are multiple syntax errors and other errors i cant just remember.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
14th December 2005, 16:55 | #218 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
dll doesnt compile here (and doesnt compile to others too).
do a fresh checkout and try again.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
14th December 2005, 17:23 | #220 | Link | |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
well.. bobor was not having any problems compiling gpac (but something was weird in the bins) until he did a checkout.
Since then he experienced the same problems as me and other ppl too. So there MUST be something wrong with GPAC (syntax errors are an obvious cause). Quote:
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|