fwts compiling source on RHEL 6.7 and some issues
Deborah McLemore
debmc at us.ibm.com
Fri Feb 5 14:53:16 UTC 2016
[root at oc4334883646 fwts]# rpm -qa gcc
gcc-4.4.7-16.el6.x86_64
================================
Deb McLemore
IBM OpenPower - IBM Systems
(512) 286 9980
debmc at us.ibm.com
ipowermc at icloud.com
================================
From: Colin Ian King <colin.king at canonical.com>
To: Deborah McLemore/Austin/IBM at IBMUS, fwts-devel at lists.ubuntu.com
Date: 02/05/2016 08:42 AM
Subject: Re: fwts compiling source on RHEL 6.7 and some issues
On 05/02/16 14:31, Deborah McLemore wrote:
> Hi All,
>
> My previous post had some trial edits/changes, so I reset back to the
> fwts master origin and this was the original issue found.
>
> I'm new to fwts, I cloned the fwts git tree and setup my laptop running
> RHEL 6.7 to build the source tree, it doesn't compile.
>
> Issue hit is the following, any suggestions or known issues on doing
this ?
This is new to me. Which version of GCC are you using?
>
> [root at oc4334883646 fwts]# make
> make all-recursive
> make[1]: Entering directory `/home/debmc/fwts'
> Making all in src
> make[2]: Entering directory `/home/debmc/fwts/src'
> Making all in acpica/source/compiler
> make[3]: Entering directory `/home/debmc/fwts/src/acpica/source/compiler'
> make all-am
> make[4]: Entering directory `/home/debmc/fwts/src/acpica/source/compiler'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/debmc/fwts/src/acpica/source/compiler'
> make[3]: Leaving directory `/home/debmc/fwts/src/acpica/source/compiler'
> Making all in lib
> make[3]: Entering directory `/home/debmc/fwts/src/lib'
> Making all in src
> make[4]: Entering directory `/home/debmc/fwts/src/lib/src'
> /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../../.. -I../../../src/lib/include
> -I../../../src/acpica/source/include
> -I../../../src/acpica/source/compiler `pkg-config --silence-errors
> --cflags json` `pkg-config --silence-errors --cflags json-c` `pkg-config
> --cflags glib-2.0 gio-2.0` -DDATAROOTDIR=\"/usr/local/share\" -Wall
> -Werror -Wextra -DACPI_DEBUG_OUTPUT -g -O2 -MT
> libfwts_la-fwts_ac_adapter.lo -MD -MP -MF
> .deps/libfwts_la-fwts_ac_adapter.Tpo -c -o libfwts_la-fwts_ac_adapter.lo
> `test -f 'fwts_ac_adapter.c' || echo './'`fwts_ac_adapter.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../..
> -I../../../src/lib/include -I../../../src/acpica/source/include
> -I../../../src/acpica/source/compiler -I/usr/include/json-c
> -I/usr/include/json-c -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -DDATAROOTDIR=\"/usr/local/share\" -Wall
> -Werror -Wextra -DACPI_DEBUG_OUTPUT -g -O2 -MT
> libfwts_la-fwts_ac_adapter.lo -MD -MP -MF
> .deps/libfwts_la-fwts_ac_adapter.Tpo -c fwts_ac_adapter.c -fPIC -DPIC -o
> .libs/libfwts_la-fwts_ac_adapter.o
> cc1: warnings being treated as errors
> In file included from ../../../src/lib/include/fwts_framework.h:29,
> from ../../../src/lib/include/fwts_binpaths.h:27,
> from ../../../src/lib/include/fwts.h:40,
> from fwts_ac_adapter.c:19:
> ../../../src/lib/include/fwts_log.h:127: error: type defaults to ‘int’
> in declaration of ‘fwts_framework’
> ../../../src/lib/include/fwts_log.h:127: error: expected ‘;’, ‘,’ or ‘)’
> before ‘*’ token
> make[4]: *** [libfwts_la-fwts_ac_adapter.lo] Error 1
> make[4]: Leaving directory `/home/debmc/fwts/src/lib/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/debmc/fwts/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/debmc/fwts/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/debmc/fwts'
> make: *** [all] Error 2
>
>
>
>
>
> ================================
> Deb McLemore
> IBM OpenPower - IBM Systems
> (512) 286 9980
> debmc at us.ibm.com
> ipowermc at icloud.com
> ================================
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20160205/67e17b9e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20160205/67e17b9e/attachment-0001.gif>
More information about the fwts-devel
mailing list