Skip to content

Build for iPod1G failed #255

@andycode2009

Description

@andycode2009

git checkout ipod_touch_1g

device MBP 16inch
macOS Sequoia 15.6
AppleSilicon M3 Pro

[1652/2313] Compiling C object libcommon.fa.p/audio_jackaudio.c.o
FAILED: [code=1] libcommon.fa.p/audio_jackaudio.c.o
cc -Ilibcommon.fa.p -I../dtc/libfdt -I/opt/homebrew/Cellar/pixman/0.46.4/include/pixman-1 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/opt/jpeg-turbo/include -I/opt/homebrew/Cellar/gnutls/3.8.10/include -I/opt/homebrew/Cellar/nettle/3.10.2/include -I/opt/homebrew/Cellar/libtasn1/4.20.0/include -I/opt/homebrew/Cellar/libidn2/2.3.8/include -I/opt/homebrew/Cellar/p11-kit/0.25.5/include/p11-kit-1 -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/opt/homebrew/Cellar/glib/2.84.3/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/opt/homebrew/Cellar/glib/2.84.3/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.84.3/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.45/include -I/opt/homebrew/Cellar/glib/2.84.3/include/gio-unix-2.0 -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/jack/1.9.22_1/include -I/opt/homebrew/Cellar/libusb/1.0.29/include/libusb-1.0 -I/usr/local/opt/openssl@3/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -g -iquote . -iquote /Users/liuzexuan/VmMachine/iPod/qemu -iquote /Users/liuzexuan/VmMachine/iPod/qemu/include -iquote /Users/liuzexuan/VmMachine/iPod/qemu/disas/libvixl -iquote /Users/liuzexuan/VmMachine/iPod/qemu/tcg/aarch64 -DOS_OBJECT_USE_OBJC=0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -Wno-psabi -fstack-protector-strong -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR=1 -D_THREAD_SAFE -Wno-undef -DSTRUCT_IOVEC_DEFINED -MD -MQ libcommon.fa.p/audio_jackaudio.c.o -MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o -c ../audio/jackaudio.c
../audio/jackaudio.c:634:33: error: too many arguments to function call, expected 1, have 2
634 | pthread_setname_np(thread, "jack-client");
| ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:535:5: note: 'pthread_setname_np' declared here
535 | int pthread_setname_np(const char
);
| ^ ~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
make: *** [run-ninja] Error 1

I also try to use this command
../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp --extra-cflags=-I/opt/homebrew/opt/openssl@3/include --extra-ldflags='-L/opt/homebrew/opt/openssl@3/lib -lcrypto'

the error still appear

[1869/2530] Compiling C object libcommon.fa.p/audio_jackaudio.c.o
FAILED: [code=1] libcommon.fa.p/audio_jackaudio.c.o
cc -Ilibcommon.fa.p -I../dtc/libfdt -I/opt/homebrew/Cellar/pixman/0.46.4/include/pixman-1 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/opt/jpeg-turbo/include -I/opt/homebrew/Cellar/gnutls/3.8.10/include -I/opt/homebrew/Cellar/nettle/3.10.2/include -I/opt/homebrew/Cellar/libtasn1/4.20.0/include -I/opt/homebrew/Cellar/libidn2/2.3.8/include -I/opt/homebrew/Cellar/p11-kit/0.25.5/include/p11-kit-1 -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/opt/homebrew/Cellar/glib/2.84.3/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/opt/homebrew/Cellar/glib/2.84.3/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.84.3/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.45/include -I/opt/homebrew/Cellar/glib/2.84.3/include/gio-unix-2.0 -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/jack/1.9.22_1/include -I/opt/homebrew/Cellar/libusb/1.0.29/include/libusb-1.0 -I/opt/homebrew/opt/openssl@3/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -g -iquote . -iquote /Users/liuzexuan/VmMachine/iPod/qemu -iquote /Users/liuzexuan/VmMachine/iPod/qemu/include -iquote /Users/liuzexuan/VmMachine/iPod/qemu/disas/libvixl -iquote /Users/liuzexuan/VmMachine/iPod/qemu/tcg/aarch64 -DOS_OBJECT_USE_OBJC=0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -Wno-psabi -fstack-protector-strong -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR=1 -D_THREAD_SAFE -Wno-undef -DSTRUCT_IOVEC_DEFINED -MD -MQ libcommon.fa.p/audio_jackaudio.c.o -MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o -c ../audio/jackaudio.c
../audio/jackaudio.c:634:33: error: too many arguments to function call, expected 1, have 2
634 | pthread_setname_np(thread, "jack-client");
| ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:535:5: note: 'pthread_setname_np' declared here
535 | int pthread_setname_np(const char
);
| ^ ~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
make: *** [run-ninja] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions