Hello friends,
I have a problem when I try to compile several files, for some reason it
takes only the first of the list to build it.
It displays a few warnings and at the end the following error:
make[2]: *** [CMakeFiles/omap.dir/host/fastboot.c.o] Error 1
make[2]: Leaving directory
2011/3/14 Enrique Izaguirre enrique.izagui...@gmail.com:
Hello friends,
I have a problem when I try to compile several files, for some reason it
takes only the first of the list to build it.
It displays a few warnings and at the end the following error:
make[2]: ***
Thank you Eric. The section in the main CMakeLists.txt is as follows:
set (FILES )
message (Adding subdirectory host...)
include (host/CMakeLists.txt)
message (FILES = ${FILES})
foreach (FILE ${FILES})
set (hostFiles ${hostFiles} host/${FILE})
endforeach (FILE)
message (hostFiles =
On Monday 14 March 2011, Enrique Izaguirre wrote:
Hello friends,
I have a problem when I try to compile several files, for some reason it
takes only the first of the list to build it.
It displays a few warnings and at the end the following error:
make[2]: ***
Hi Alex,
This is the whole output from the make. I can only see warnings:
/bin/gcc-linux -DCOMDRIVER_EXPORTS -DBUILD_FIX_TMP -DFIX_WIN32 -DNO_ZIP
-D_DEBUG -D_CONSOLE -I/home/x0148488/omapflash/cmake_build
-I/home/x0148488/omapflash -I/home/x0148488/omapflash/comdriver/inc
Enrique,
I think the -Werror flag is the problem:
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
-Werror
Make all warnings into errors.
hth,
tyler
On Mon, Mar 14, 2011 at 2:04 PM, Enrique Izaguirre
enrique.izagui...@gmail.com wrote:
Hi Alex,
This is the whole output from the
YOu have this argument to gcc:
-Werror
which means treat warnings as errors. Either remove the flag or fix the
warnings.
___
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
On 14.03.11 15:04:54, Enrique Izaguirre wrote:
Hi Alex,
This is the whole output from the make. I can only see warnings:
/bin/gcc-linux -DCOMDRIVER_EXPORTS -DBUILD_FIX_TMP -DFIX_WIN32 -DNO_ZIP
-D_DEBUG -D_CONSOLE -I/home/x0148488/omapflash/cmake_build
-I/home/x0148488/omapflash
Thanks guys. It is doing it right.
Best Regards
Enrique
On Mon, Mar 14, 2011 at 3:22 PM, Enrique Izaguirre
enrique.izagui...@gmail.com wrote:
OK, I couldn't even imagine that.
Really appreciate, I'll make another try.
Best Regards
Enrique
On Mon, Mar 14, 2011 at 3:09 PM, Tyler