Closed maxiuca closed 10 years ago
Hello maxiuca, thank you for the report! it is strange that this error comes, because it is the same source what was working before. The problem is, that this week I have not much time, so I am not sure that I can fix the problem fast. A workaround is, to delete the compiling part in the "compile_localtools.sh" script. From line 288 to 306, I think gnutls also build without libgcrypt. Hopefully this works for the first.
I will write here again, if I fix the problem. Have a good day! jb_
Ok here is a other workaround: copy this to your root folder:
http://blog.pixelcrusher.de/downloads/media-autobuild_suite/libgcrypt.zip
Is only a solution until I have fix the script.
Thanks for the workarounds, they allowed me to compile vpxenc which I needed the most. But the scripted had problems with wxWidgets (restarting the script helped) and kvazaar. I don't know about the rest because I just removed all entries before vpxenc just to be able to compile it. Maybe it's something with my setup (although it's just Windows 7 64-bit)?
Good to know that it work more or less :). Windows 7 64 bit is fine, I also use it. Last week I change some compiler variables, so maybe the problem comes from this. Maybe the problem is the "-O2". Next week I will see as fast as I can to fix the script!
Ok, now I think it works again. The best is, to delete the profiles under local*/etc/profile.local, the script will build them new.
Thanks, I'll let you know. I'm staring afresh to check whether it works. I've tried the way you describe above and although libgcrypt did compile the kvazaar did not. I'll post logs later today or on Monday.
Yup, it failes on kvazaar now
-
Cloning into 'kvazaar-git'...
remote: Counting objects: 134, done.
remote: Compressing objects: 100% (119/119), done.
remote: Total 134 (delta 21), reused 56 (delta 12)
Receiving objects: 100% (134/134), 266.51 KiB | 356.00 KiB/s, done.
Resolving deltas: 100% (21/21), done.
Checking connectivity... done.
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/x86_asm/picture-x86-asm.d" -MG -MM -MP -MT"strategies/x86_asm/picture-x86-asm.d" -MT"strategies/x86_asm/picture-x86-asm.o" "strategies/x86_asm/picture-x86-asm.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/avx2/picture-avx2.d" -MG -MM -MP -MT"strategies/avx2/picture-avx2.d" -MT"strategies/avx2/picture-avx2.o" "strategies/avx2/picture-avx2.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/altivec/picture-altivec.d" -MG -MM -MP -MT"strategies/altivec/picture-altivec.d" -MT"strategies/altivec/picture-altivec.o" "strategies/altivec/picture-altivec.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/sse41/picture-sse41.d" -MG -MM -MP -MT"strategies/sse41/picture-sse41.d" -MT"strategies/sse41/picture-sse41.o" "strategies/sse41/picture-sse41.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/sse2/picture-sse2.d" -MG -MM -MP -MT"strategies/sse2/picture-sse2.d" -MT"strategies/sse2/picture-sse2.o" "strategies/sse2/picture-sse2.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/generic/picture-generic.d" -MG -MM -MP -MT"strategies/generic/picture-generic.d" -MT"strategies/generic/picture-generic.o" "strategies/generic/picture-generic.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/generic/nal-generic.d" -MG -MM -MP -MT"strategies/generic/nal-generic.d" -MT"strategies/generic/nal-generic.o" "strategies/generic/nal-generic.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/strategies-nal.d" -MG -MM -MP -MT"strategies/strategies-nal.d" -MT"strategies/strategies-nal.o" "strategies/strategies-nal.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategies/strategies-picture.d" -MG -MM -MP -MT"strategies/strategies-picture.d" -MT"strategies/strategies-picture.o" "strategies/strategies-picture.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"videoframe.d" -MG -MM -MP -MT"videoframe.d" -MT"videoframe.o" "videoframe.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"image.d" -MG -MM -MP -MT"image.d" -MT"image.o" "image.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"encoder_state-geometry.d" -MG -MM -MP -MT"encoder_state-geometry.d" -MT"encoder_state-geometry.o" "encoder_state-geometry.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"encoder_state-ctors_dtors.d" -MG -MM -MP -MT"encoder_state-ctors_dtors.d" -MT"encoder_state-ctors_dtors.o" "encoder_state-ctors_dtors.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"encoder_state-bitstream.d" -MG -MM -MP -MT"encoder_state-bitstream.d" -MT"encoder_state-bitstream.o" "encoder_state-bitstream.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"transform.d" -MG -MM -MP -MT"transform.d" -MT"transform.o" "transform.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"threadqueue.d" -MG -MM -MP -MT"threadqueue.d" -MT"threadqueue.o" "threadqueue.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"tables.d" -MG -MM -MP -MT"tables.d" -MT"tables.o" "tables.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"strategyselector.d" -MG -MM -MP -MT"strategyselector.d" -MT"strategyselector.o" "strategyselector.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"search.d" -MG -MM -MP -MT"search.d" -MT"search.o" "search.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"scalinglist.d" -MG -MM -MP -MT"scalinglist.d" -MT"scalinglist.o" "scalinglist.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"sao.d" -MG -MM -MP -MT"sao.d" -MT"sao.o" "sao.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"rdo.d" -MG -MM -MP -MT"rdo.d" -MT"rdo.o" "rdo.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"imagelist.d" -MG -MM -MP -MT"imagelist.d" -MT"imagelist.o" "imagelist.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"nal.d" -MG -MM -MP -MT"nal.d" -MT"nal.o" "nal.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"intra.d" -MG -MM -MP -MT"intra.d" -MT"intra.o" "intra.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"inter.d" -MG -MM -MP -MT"inter.d" -MT"inter.o" "inter.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"filter.d" -MG -MM -MP -MT"filter.d" -MT"filter.o" "filter.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"encoderstate.d" -MG -MM -MP -MT"encoderstate.d" -MT"encoderstate.o" "encoderstate.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"encoder.d" -MG -MM -MP -MT"encoder.d" -MT"encoder.o" "encoder.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"cu.d" -MG -MM -MP -MT"cu.d" -MT"cu.o" "cu.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"context.d" -MG -MM -MP -MT"context.d" -MT"context.o" "context.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"config.d" -MG -MM -MP -MT"config.d" -MT"config.o" "config.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"checkpoint.d" -MG -MM -MP -MT"checkpoint.d" -MT"checkpoint.o" "checkpoint.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"cabac.d" -MG -MM -MP -MT"cabac.d" -MT"cabac.o" "cabac.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"bitstream.d" -MG -MM -MP -MT"bitstream.d" -MT"bitstream.o" "bitstream.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"encmain.d" -MG -MM -MP -MT"encmain.d" -MT"encmain.o" "encmain.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -MF"interface_main.d" -MG -MM -MP -MT"interface_main.d" -MT"interface_main.o" "interface_main.c"
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -c interface_main.c -o interface_main.o
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -c encmain.c -o encmain.o
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -c bitstream.c -o bitstream.o
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -c cabac.c -o cabac.o
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -c checkpoint.c -o checkpoint.o
gcc -O2 -g -Werror -ftree-vectorize -m64 -D__USE_MINGW_ANSI_STDIO=1 -std=gnu99 -I. -I./strategies -I./extras -Wall -Wtype-limits -Wvla -c config.c -o config.o
config.c: In function 'config_read':
config.c:491:13: error: passing argument 1 of 'getopt_long' makes pointer from integer without a cast [-Werror]
int c = getopt_long(argc, argv, short_options, long_options, &long_options_index);
^
In file included from config.c:30:0:
./extras/getopt.h:150:12: note: expected 'int *' but argument is of type 'int'
extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts,
^
config.c:491:13: error: passing argument 2 of 'getopt_long' from incompatible pointer type [-Werror]
int c = getopt_long(argc, argv, short_options, long_options, &long_options_index);
^
In file included from config.c:30:0:
./extras/getopt.h:150:12: note: expected 'char * const**' but argument is of type 'char **'
extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts,
^
cc1.exe: all warnings being treated as errors
Makefile:152: recipe for target 'config.o' failed
make: *** [config.o] Error 1
cp: cannot stat ‘kvazaar.exe’: No such file or directory
-------------------------------------------------
build kvazaar-git failed...
delete the source folder under '/build64' and start again
first close the batch window, then the shell window
Good news: I've commented out the kvazaar section and everything else compiled just fine.
Maybe you could introduce an option that would allow the user continue compiling even if one of the compiles should fail?
Ah that is good, thanks for testing! kvazaar is still in beta, so it change many times big things in the code, so the compiling doesn't work anymore. The compiling works, like you say it, you only need to hit enter and wait 5 seconds then it starts with the rest. I only need to change the error text.
Ok kvazaar I have fix now. But please notice the informations on the front page, that I search some body how continue this project, because I will finish my work on it.
Hello, I've just tried running the script, but unfortunately I'm getting an error when the scripts tries to compile libgcrypt (the log is looooong, sorry for that, but I don't know which part will be needed to analyze this problem):
Deleting the folder per instructions on screen doesn't change anything. I've tried "pacman -S mingw-w64-i686-libgpg-error mingw-w64-x86_64-libgpg-error" just in case (I'm using the newest script) but it didn't help (as I expected).
Please let me know if there is a workaround.
Cheers!