Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xpi_gamecon: does not compile on devel branch #2040

Open
ToKe79 opened this issue Mar 1, 2025 · 1 comment
Open

xpi_gamecon: does not compile on devel branch #2040

ToKe79 opened this issue Mar 1, 2025 · 1 comment

Comments

@ToKe79
Copy link
Collaborator

ToKe79 commented Mar 1, 2025

We need updated source of this module used by RPi4-PiBoyDmg, as it does not build with 6.12.y:

make[1]: Entering directory '/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/linux-031a3826707c5a9c5761bb9c354756b6730051cf'
  CC [M]  /mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.o
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c:123:6: warning: no previous prototype for 'gpio_func' [-Wmissing-prototypes]
  123 | void gpio_func(int pin, int state)
      |      ^~~~~~~~~
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c:131:10: warning: no previous prototype for 'check_crc16' [-Wmissing-prototypes]
  131 | uint16_t check_crc16(uint8_t data[])
      |          ^~~~~~~~~~~
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c:150:6: warning: no previous prototype for 'calc_crc16' [-Wmissing-prototypes]
  150 | void calc_crc16(uint8_t *data, uint8_t len)
      |      ^~~~~~~~~~
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c: In function 'gc_bcm_peri_base_probe':
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c:394:19: error: implicit declaration of function 'of_find_node_by_path' [-Wimplicit-function-declaration]
  394 |         dt_node = of_find_node_by_path(path);
      |                   ^~~~~~~~~~~~~~~~~~~~
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c:394:17: error: assignment to 'struct device_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  394 |         dt_node = of_find_node_by_path(path);
      |                 ^
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c:400:13: error: implicit declaration of function 'of_property_read_u32_index' [-Wimplicit-function-declaration]
  400 |         if (of_property_read_u32_index(dt_node, "ranges", 1, &base_address)) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c: At top level:
/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.c:415:6: warning: no previous prototype for 'osd' [-Wmissing-prototypes]
  415 | void osd(void)
      |      ^~~
make[3]: *** [scripts/Makefile.build:244: /mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid/xpi_gamecon.o] Error 1
make[2]: *** [/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/linux-031a3826707c5a9c5761bb9c354756b6730051cf/Makefile:1937: /mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/xpi_gamecon-0.0invalid] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/mnt/hugo/BUILD/lakkabuildbot/Lakka-devel/build.Lakka-RPi4-PiBoyDmg.aarch64/build/linux-031a3826707c5a9c5761bb9c354756b6730051cf'
@dmrlawson
Copy link
Collaborator

Experimental Pi (the authors/makers of the PiBoy) seem to have disappeared so I'm not sure we'll get an updated source unless someone is willing to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants