[Bug 2081800] Re: FTBFS: implicit declaration of function

Shengjing Zhu 2081800 at bugs.launchpad.net
Wed Sep 25 08:47:59 UTC 2024


/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/com32/chain/chain.c:517:44: error: passing argument 3 of 'loadfile' from incompatible pointer type [-Wincompatible-pointer-types]
  517 |         if (loadfile(opt.file, &fdat.data, &fdat.size)) {
      |                                            ^~~~~~~~~~
      |                                            |
      |                                            addr_t * {aka unsigned int *}
In file included from /build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/com32/chain/chain.c:32:
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/com32/include/syslinux/loadfile.h:11:37: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'addr_t *' {aka 'unsigned int *'}
   11 | int loadfile(const char *, void **, size_t *);
      |                                     ^~~~~~~~

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to syslinux in Ubuntu.
https://bugs.launchpad.net/bugs/2081800

Title:
  FTBFS: implicit declaration of function

Status in syslinux package in Ubuntu:
  New

Bug description:
  /<<PKGBUILDDIR>>/com32/lib/syslinux/debug.c:91:5: error: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
     91 |     printf("Dynamic debug unavailable\n");
        |     ^~~~~~

  https://launchpadlibrarian.net/749244561/buildlog_ubuntu-oracular-
  amd64.syslinux_3%3A6.04~git20190206.bf6db5b4+dfsg1-3ubuntu3_BUILDING.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/2081800/+subscriptions




More information about the foundations-bugs mailing list