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

Shengjing Zhu 2081800 at bugs.launchpad.net
Wed Sep 25 08:48:26 UTC 2024


/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:188:13: error: passing argument 1 of 'longjmp' from incompatible pointer type [-Wincompatible-pointer-types]
  188 |     longjmp(&load_error_buf, 1);
      |             ^~~~~~~~~~~~~~~
      |             |
      |             struct __jmp_buf (*)[1]
In file included from /build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:9:
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/com32/include/setjmp.h:21:29: note: expected 'struct __jmp_buf *' but argument is of type 'struct __jmp_buf (*)[1]'
   21 | __extern __noreturn longjmp(jmp_buf, int);
      |                             ^~~~~~~
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c: In function 'build_gdt':
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:906:82: warning: taking address of packed member of 'struct dt_desc' may result in an unaligned pointer value [-Waddress-of-packed-member]
  906 |         status = emalloc(gdt.limit, __SIZEOF_POINTER__ , (EFI_PHYSICAL_ADDRESS *)&gdt.base);
      |                                                                                  ^~~~~~~~~
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c: In function 'efi_main':
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:1386:21: error: passing argument 1 of 'setjmp' from incompatible pointer type [-Wincompatible-pointer-types]
 1386 |         if (!setjmp(&load_error_buf))
      |                     ^~~~~~~~~~~~~~~
      |                     |
      |                     struct __jmp_buf (*)[1]
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/com32/include/setjmp.h:20:21: note: expected 'struct __jmp_buf *' but argument is of type 'struct __jmp_buf (*)[1]'
   20 | __extern int setjmp(jmp_buf);
      |                     ^~~~~~~

-- 
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