mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 kobs-ng.compile
@ 2014-02-07 10:01 bilal.tas
  0 siblings, 0 replies; 4+ messages in thread
From: bilal.tas @ 2014-02-07 10:01 UTC (permalink / raw)
  To: ptxdist

Hello,

while compiling the BSP-Phytec-phyFLEX-i.MX6-PD13.1.0
ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1  I get the following
error:

mtd.c:905:43: error: 'MTD_MODE_RAW' undeclared (first use in this
function) r = ioctl(mp->fd, MTDFILEMODE, (void *)MTD_MODE_RAW);
                                           ^
main.c: In function 'extract_main':
main.c:169:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j, r;
         ^
main.c: In function 'update_main':
main.c:444:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j, r;
         ^
main.c: In function 'init_main':
main.c:560:13: warning: variable 'image' set but not used
[-Wunused-but-set-variable] int flags, image;
             ^
main.c:558:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j, r;
         ^
main.c: In function 'imgverify_main':
main.c:705:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j;
         ^
make[2]: *** [mtd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/main.Tpo .deps/main.Po
make[2]: Leaving directory
`/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01/src'
make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
`/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01'
make: ***
[/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/state/kobs-ng.compile]
Error 2

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 kobs-ng.compile
  2014-02-10  8:40 ` Juergen Beisert
@ 2014-02-10  8:59   ` Juergen Beisert
  0 siblings, 0 replies; 4+ messages in thread
From: Juergen Beisert @ 2014-02-10  8:59 UTC (permalink / raw)
  To: ptxdist; +Cc: bilal.tas

Hi Bilal,

On Monday 10 February 2014 09:40:07 Juergen Beisert wrote:
> On Friday 07 February 2014 12:17:06 bilal.tas@dcl.com.tr wrote:
> > [...]
> >
> > `/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-targ
> >et/kobs-ng-12.02.01/src' make[1]: *** [all-recursive] Error 1 make[1]:
> > Leaving directory
> > `/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-targ
> >et/kobs-ng-12.02.01' make: ***
> > [/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/state/kobs
> >-ng.compile] Error 2
>
> Like your Qt build issue: Sounds like a host compiler/library issue. Ask
> your BSP vendor about the host requirements to be able to build their
> PTXdist based project.

Ups, sorry. Forget this answer. (I need more caffeine first...)

"kobs-ng" isn't a package from PTXdist. Its seems it comes from your BSP. Ask 
your BSP vendor about an update for this specific package to be able to build 
it with a more recent toolchain.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 kobs-ng.compile
  2014-02-07 11:17 bilal.tas
@ 2014-02-10  8:40 ` Juergen Beisert
  2014-02-10  8:59   ` Juergen Beisert
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Beisert @ 2014-02-10  8:40 UTC (permalink / raw)
  To: ptxdist; +Cc: bilal.tas

Hi Bilal,

On Friday 07 February 2014 12:17:06 bilal.tas@dcl.com.tr wrote:
> [...]
>
> `/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01/src'
> make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01'
> make: *** [/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/state/kobs-ng.compile] Error 2

Like your Qt build issue: Sounds like a host compiler/library issue. Ask your
BSP vendor about the host requirements to be able to build their PTXdist based
project.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 kobs-ng.compile
@ 2014-02-07 11:17 bilal.tas
  2014-02-10  8:40 ` Juergen Beisert
  0 siblings, 1 reply; 4+ messages in thread
From: bilal.tas @ 2014-02-07 11:17 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1408 bytes --]

 

Hello,

while compiling the
BSP-Phytec-phyFLEX-i.MX6-PD13.1.0
ptxdist-2014.01.0 with
OSELAS.Toolchain-2013.12.1 I get the following
error:

mtd.c:905:43:
error: 'MTD_MODE_RAW' undeclared (first use in this
function) r =
ioctl(mp->fd, MTDFILEMODE, (void *)MTD_MODE_RAW);
 ^
main.c: In function
'extract_main':
main.c:169:9: warning: variable 'j' set but not
used
[-Wunused-but-set-variable] int i, j, r;
 ^
main.c: In function
'update_main':
main.c:444:9: warning: variable 'j' set but not
used
[-Wunused-but-set-variable] int i, j, r;
 ^
main.c: In function
'init_main':
main.c:560:13: warning: variable 'image' set but not
used
[-Wunused-but-set-variable] int flags, image;
 ^
main.c:558:9:
warning: variable 'j' set but not used
[-Wunused-but-set-variable] int
i, j, r;
 ^
main.c: In function 'imgverify_main':
main.c:705:9: warning:
variable 'j' set but not used
[-Wunused-but-set-variable] int i, j;

^
make[2]: *** [mtd.o] Error 1
make[2]: *** Waiting for unfinished
jobs....
mv -f .deps/main.Tpo .deps/main.Po
make[2]: Leaving
directory
`/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01/src'
make[1]:
*** [all-recursive] Error 1 make[1]: Leaving
directory
`/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01'
make:
***
[/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/state/kobs-ng.compile]
Error
2

 

[-- Attachment #1.2: Type: text/html, Size: 2247 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-10  8:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 10:01 [ptxdist] ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 kobs-ng.compile bilal.tas
2014-02-07 11:17 bilal.tas
2014-02-10  8:40 ` Juergen Beisert
2014-02-10  8:59   ` Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox