The ASM_YASM compiler identification is unknown

Started by Jan Gruuthuse, December 31, 2015, 06:45:21 AM

Previous topic - Next topic

Jan Gruuthuse

yasm --version
Quoteyasm 1.2.0
Compiled on Oct 10 2013.
Copyright (c) 2001-2011 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.

or do you require some other info (ubuntu 14.04.3 amd64)

mean

x265 right ?
Basically  there are 2 incompatible version of yasm floating around
You have to switch between them

Jan Gruuthuse

ubuntu stock 14.04.3, will leave it for now. Switching in 3-4 months: Ubuntu 16.04 LTS (Xenial Xerus) by the end of April 2016. Builds and seems to be working.

Jan Gruuthuse

Ubuntu 16.04 xenial:
Apparantly still have issues with yasm
Quote from: mean on January 03, 2016, 04:42:27 PM
x265 right ?
Basically  there are 2 incompatible version of yasm floating around
You have to switch between them

Can you point to which yasm I need to switch?

yasm --version
Quoteyasm 1.3.0
Compiled on May  6 2015.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.

CMakeError.log (~/avidemux2/buildPluginsCommon/Cmakefiles)

Determining if the system is big endian passed with the following output:
Change Dir: /home/jan/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_9a535/fast"
/usr/bin/make -f CMakeFiles/cmTC_9a535.dir/build.make CMakeFiles/cmTC_9a535.dir/build
make[1]: Entering directory '/home/jan/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9a535.dir/TestEndianess.c.o
/usr/bin/cc     -o CMakeFiles/cmTC_9a535.dir/TestEndianess.c.o   -c /home/jan/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTC_9a535
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9a535.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_9a535.dir/TestEndianess.c.o  -o cmTC_9a535 -rdynamic
make[1]: Leaving directory '/home/jan/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp'

TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_little[argc];
  require += info_big[argc];
  (void)argv;
  return require;
}


Checking whether the ASM_YASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
yasm 1.3.0
Compiled on May  6 2015.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
Checking whether the ASM_YASM compiler is HP using "-V" did not match "HP C":
yasm: warning: unrecognized option `-V'
yasm: No input files specified
Checking whether the ASM_YASM compiler is Intel using "--version" did not match "(ICC)":
yasm 1.3.0
Compiled on May  6 2015.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
Checking whether the ASM_YASM compiler is SunPro using "-V" did not match "Sun C":
yasm: warning: unrecognized option `-V'
yasm: No input files specified
Checking whether the ASM_YASM compiler is XL using "-qversion" did not match "XL C":
yasm: warning: unrecognized option `-qversion'
yasm: No input files specified
Checking whether the ASM_YASM compiler is MSVC using "/?" did not match "Microsoft":
yasm: file name already has no extension: output will be in `yasm.out'
yasm: FATAL: Could not open input file
Checking whether the ASM_YASM compiler is TI using "-h" did not match "Texas Instruments":
usage: yasm [option]* file
Options:
    --version               show version text
    --license               show license text
    -h, --help              show help text
    --arch=<arch>           select architecture (list with -a help)
     -a <arch>
    --parser=<parser>       select parser (list with -p help)
     -p <parser>
    --preproc=<preproc>     select preprocessor (list with -r help)
     -r <preproc>
    --oformat=<format>      select object format (list with -f help)
     -f <format>
    --dformat=<debug>       select debugging format (list with -g help)
     -g <debug>
    --lformat=<list>        select list format (list with -L help)
     -L <list>
    --list=<listfile>       name of list-file output
     -l <listfile>
    --objfile=<filename>    name of object-file output
     -o <filename>
    --mapfile=<filename>    name of map-file output
    --machine=<machine>     select machine (list with -m help)
     -m <machine>
    --force-strict          treat all sized operands as if `strict' was used
    -w                      inhibits warning messages
    -W                      enables/disables warning
    -M                      generate Makefile dependencies on stdout
    -E <file>               redirect error messages to file
    -s                      redirect error messages to stdout
    -e, --preproc-only      preprocess only (writes output to stdout by default)
    -i <path>               add include path
    -I <path>               add include path
    -P <filename>           pre-include file
    -d <macro[=value]>      pre-define a macro, optionally to value
    -D <macro[=value]>      pre-define a macro, optionally to value
    -u <macro>              undefine a macro
    -U <macro>              undefine a macro
    -X <style>              select error/warning message style (`gnu' or `vc')
    --prefix=<prefix>       prepend argument to name of all external symbols
    --suffix=<suffix>       append argument to name of all external symbols
    --postfix=<suffix>      append argument to name of all external symbols

Files are asm sources to be assembled.

Sample invocation:
   yasm -f elf -o object.o source.asm

Report bugs to bug-yasm@tortall.net
Checking whether the ASM_YASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
yasm 1.3.0
Compiled on May  6 2015.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
Checking whether the ASM_YASM compiler is IAR using "" did not match "IAR Assembler":
yasm: No input files specified
Checking whether the ASM_YASM compiler is ARMCC using "" did not match "(ARM Compiler)|(ARM Assembler)":
yasm: No input files specified


this occurred while
Quote----------------------
-- Checking for FAAD
-- *****************
-- Found faad.h
-- Found faad library
-- Could not find faacDecInit in /usr/lib/x86_64-linux-gnu/libfaad.so
-- Change Dir: ~/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp
----------------------

Run Build Command:"/usr/bin/make" "cmTC_6a942/fast"
/usr/bin/make -f CMakeFiles/cmTC_6a942.dir/build.make CMakeFiles/cmTC_6a942.dir/build
make[1]: Entering directory '/home/jan/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6a942.dir/CheckFunctionExists.c.o
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=faacDecInit  -fmessage-length=0 -fmessage-length=0    -I"/usr/include" -o CMakeFiles/cmTC_6a942.dir/CheckFunctionExists.c.o   -c /home/jan/avidemux2/cmake/cmake_compile_check/CheckFunctionExists.c
Linking C executable cmTC_6a942
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6a942.dir/link.txt --verbose=1
/usr/bin/cc   -fmessage-length=0 -fmessage-length=0     CMakeFiles/cmTC_6a942.dir/CheckFunctionExists.c.o  -o cmTC_6a942 -rdynamic /usr/lib/x86_64-linux-gnu/libfaad.so
CMakeFiles/cmTC_6a942.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x15): undefined reference to `faacDecInit'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_6a942.dir/build.make:98: recipe for target 'cmTC_6a942' failed
make[1]: *** [cmTC_6a942] Error 1
make[1]: Leaving directory '~/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_6a942/fast' failed
make: *** [cmTC_6a942/fast] Error 2