You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying build ioctl on a ancient buildroot (BR2_GCC_VERSION="4.4.1" / BR2_UCLIBC_VERSION_STRING="0.9.32.1") but it fails with the following error:
arm-buildroot-linux-uclibcgnueabi-gcc -Wall -c -MMD -c -o ioctl.o ioctl.c
ioctl.c: In function ‘sighandler’:
ioctl.c:48: warning: implicit declaration of function ‘psiginfo’
arm-buildroot-linux-uclibcgnueabi-gcc ioctl.o ioctls_list_empty.o -o ioctl
ioctl.o: In function `sighandler':
ioctl.c:(.text+0x60): undefined reference to `psiginfo'
collect2: ld returned 1 exit status
make[1]: *** [ioctl] Error 1
To work around the issue I commented out: psiginfo(pinfo, "ioctl returned with signal");
and added: fprintf(stderr, "ioctl returned with signal %d", signum);
which is not ideal...
Any ideas on how I can make psiginfo work?
The text was updated successfully, but these errors were encountered:
I'm trying build ioctl on a ancient buildroot (
BR2_GCC_VERSION="4.4.1"
/BR2_UCLIBC_VERSION_STRING="0.9.32.1"
) but it fails with the following error:To work around the issue I commented out:
psiginfo(pinfo, "ioctl returned with signal");
and added:
fprintf(stderr, "ioctl returned with signal %d", signum);
which is not ideal...
Any ideas on how I can make
psiginfo
work?The text was updated successfully, but these errors were encountered: