List Info

Thread: Building the kernel




Building the kernel
user name
2006-06-21 11:52:25
Hello,

  Very quiet recently, is everybody hard at work on a wi-fi
driver ?.

  I'm trying to build the kernel with the sources from
jedi's website
  (http://l
umumba.uhasselt.be/~jedi/x50v-linux/), and the
instructions
  from the Wiki (http
://www.handhelds.org/moin/moin.cgi/x50vHowTo).
  However this doesn't seem to work, as the kernel compile
fails on
  aximx30_ts.c as it cannot find a include file
<asm/arch/pxa2xx_spi.h>

  I then patched in the pxa2xx-spi.patch also from Jedi's
site, which
  creates the header file. But the compile is now failing
with:

arch/arm/mach-pxa/aximx30/aximx30_ts.c:32: error: parse
error before ',' token
arch/arm/mach-pxa/aximx30/aximx30_ts.c:36: error: field name
not in
record or union initializer
arch/arm/mach-pxa/aximx30/aximx30_ts.c:36: error: (near
initialization
for `master_info')
arch/arm/mach-pxa/aximx30/aximx30_ts.c:36: error: parse
error before ',' token
arch/arm/mach-pxa/aximx30/aximx30_ts.c:42: error: field name
not in
record or union initializer
arch/arm/mach-pxa/aximx30/aximx30_ts.c:42: error: (near
initialization
for `master_info')
arch/arm/mach-pxa/aximx30/aximx30_ts.c:42: error: parse
error before ',' token
arch/arm/mach-pxa/aximx30/aximx30_ts.c:51: error: unknown
field
`tx_treshold' specified in initializer
arch/arm/mach-pxa/aximx30/aximx30_ts.c:52: error: unknown
field
`rx_treshold' specified in initializer
arch/arm/mach-pxa/aximx30/aximx30_ts.c:59: error:
`dma_burst_size'
undeclared here (not in a function)
arch/arm/mach-pxa/aximx30/aximx30_ts.c:59: error:
initializer element
is not constant
arch/arm/mach-pxa/aximx30/aximx30_ts.c:59: error: (near
initialization
for `chip_info.dma_burst_size')
arch/arm/mach-pxa/aximx30/aximx30_ts.c:66: error:
`timeout_microsecs'
undeclared here (not in a function)
arch/arm/mach-pxa/aximx30/aximx30_ts.c:66: error: parse
error before ',' token
arch/arm/mach-pxa/aximx30/aximx30_ts.c:72: error:
`enable_loopback'
undeclared here (not in a function)
arch/arm/mach-pxa/aximx30/aximx30_ts.c:72: error: parse
error before ',' token
arch/arm/mach-pxa/aximx30/aximx30_ts.c:78: error:
`cs_control'
undeclared here (not in a function)
arch/arm/mach-pxa/aximx30/aximx30_ts.c:78: error:
initializer element
is not constant
arch/arm/mach-pxa/aximx30/aximx30_ts.c:78: error: (near
initialization
for `chip_info.timeout_microsecs')
arch/arm/mach-pxa/aximx30/aximx30_ts.c:81: error: parse
error before "static"
arch/arm/mach-pxa/aximx30/aximx30_ts.c: In function
`x50_ts_init':
arch/arm/mach-pxa/aximx30/aximx30_ts.c:101: error:
`x50_board_info'
undeclared (first use in this function)
arch/arm/mach-pxa/aximx30/aximx30_ts.c:101: error: (Each
undeclared
identifier is reported only once
arch/arm/mach-pxa/aximx30/aximx30_ts.c:101: error: for each
function
it appears in.)
arch/arm/mach-pxa/aximx30/aximx30_ts.c: At top level:
arch/arm/mach-pxa/aximx30/aximx30_ts.c:11: warning:
'platform_info'
defined but not used
arch/arm/mach-pxa/aximx30/aximx30_ts.c:24: warning:
'master_info'
defined but not used
arch/arm/mach-pxa/aximx30/aximx30_ts.c:45: warning:
'chip_info'
defined but not used
make[2]: *** [arch/arm/mach-pxa/aximx30/aximx30_ts.o] Error
1
make[1]: *** [arch/arm/mach-pxa/aximx30] Error 2
make: *** [arch/arm/mach-pxa] Error 2

Any ideas ?.

I'm possibly compiling the wrong touchscreen driver anyway
because there is
now a aximx50_ts.c file from Jedi's page; does this replace
the aximx30_ts.c
driver?. If so what else needs updating in the kernel to
build it?.

regards,

Richard
-- 
_______________________________________________
Aximx50-port mailing list
Aximx50-porthandhelds.org
https://www.handhelds.org/mailman/listinfo/aximx50-port
Building the kernel
user name
2006-06-25 08:02:44
yes, you have to avoid aximx30_ts.c, I mean, compile another
touchscreen driver.

On 6/21/06, Richard Palmer <richard.palmergmail.com> wrote:
> Hello,
>
>  Very quiet recently, is everybody hard at work on a
wi-fi driver ?.
>
>  I'm trying to build the kernel with the sources from
jedi's website
>  (http://l
umumba.uhasselt.be/~jedi/x50v-linux/), and the
instructions
>  from the Wiki (http
://www.handhelds.org/moin/moin.cgi/x50vHowTo).
>  However this doesn't seem to work, as the kernel
compile fails on
>  aximx30_ts.c as it cannot find a include file
<asm/arch/pxa2xx_spi.h>
>
>  I then patched in the pxa2xx-spi.patch also from
Jedi's site, which
>  creates the header file. But the compile is now
failing with:
>
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:32: error: parse
error before ',' token
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:36: error: field
name not in
> record or union initializer
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:36: error: (near
initialization
> for `master_info')
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:36: error: parse
error before ',' token
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:42: error: field
name not in
> record or union initializer
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:42: error: (near
initialization
> for `master_info')
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:42: error: parse
error before ',' token
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:51: error:
unknown field
> `tx_treshold' specified in initializer
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:52: error:
unknown field
> `rx_treshold' specified in initializer
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:59: error:
`dma_burst_size'
> undeclared here (not in a function)
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:59: error:
initializer element
> is not constant
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:59: error: (near
initialization
> for `chip_info.dma_burst_size')
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:66: error:
`timeout_microsecs'
> undeclared here (not in a function)
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:66: error: parse
error before ',' token
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:72: error:
`enable_loopback'
> undeclared here (not in a function)
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:72: error: parse
error before ',' token
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:78: error:
`cs_control'
> undeclared here (not in a function)
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:78: error:
initializer element
> is not constant
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:78: error: (near
initialization
> for `chip_info.timeout_microsecs')
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:81: error: parse
error before "static"
> arch/arm/mach-pxa/aximx30/aximx30_ts.c: In function
`x50_ts_init':
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:101: error:
`x50_board_info'
> undeclared (first use in this function)
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:101: error:
(Each undeclared
> identifier is reported only once
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:101: error: for
each function
> it appears in.)
> arch/arm/mach-pxa/aximx30/aximx30_ts.c: At top level:
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:11: warning:
'platform_info'
> defined but not used
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:24: warning:
'master_info'
> defined but not used
> arch/arm/mach-pxa/aximx30/aximx30_ts.c:45: warning:
'chip_info'
> defined but not used
> make[2]: *** [arch/arm/mach-pxa/aximx30/aximx30_ts.o]
Error 1
> make[1]: *** [arch/arm/mach-pxa/aximx30] Error 2
> make: *** [arch/arm/mach-pxa] Error 2
>
> Any ideas ?.
>
> I'm possibly compiling the wrong touchscreen driver
anyway because there is
> now a aximx50_ts.c file from Jedi's page; does this
replace the aximx30_ts.c
> driver?. If so what else needs updating in the kernel
to build it?.
>
> regards,
>
> Richard
> --
> _______________________________________________
> Aximx50-port mailing list
> Aximx50-porthandhelds.org
> https://www.handhelds.org/mailman/listinfo/aximx50-port
>


-- 
Fisherss
fisherssgmail.com
-- 
_______________________________________________
Aximx50-port mailing list
Aximx50-porthandhelds.org
https://www.handhelds.org/mailman/listinfo/aximx50-port
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )