static uint32_t uhash32(const char name[]) { ^~~~~~~ gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make/hotspot' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/java.base/libverify.so from 2 file(s) Creating support/modules_libs/java.base/libjava.so from 58 file(s) Creating support/native/java.base/libfdlibm.a from 57 file(s) Creating support/modules_libs/java.base/libzip.so from 5 file(s) Creating support/modules_libs/java.base/libjimage.so from 6 file(s) Creating support/modules_libs/java.base/jli/libjli.so from 8 file(s) Creating support/modules_libs/java.base/libnet.so from 21 file(s) Creating support/modules_libs/java.base/libnio.so from 22 file(s) Creating support/modules_libs/java.base/libjsig.so from 1 file(s) /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/TimeZone_md.c: In function 'findZoneinfoFile': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/TimeZone_md.c:150:5: warning: 'readdir64_r' is deprecated [-Wdeprecated-declarations] while (readdir64_r(dirp, entry, &dp) == 0 && dp != NULL) { ^~~~~ In file included from /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/TimeZone_md.c:36:0: /home/naourr/work/instance-1/output/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/dirent.h:201:12: note: declared here extern int readdir64_r (DIR *__restrict __dirp, ^~~~~~~~~~~ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/UnixFileSystem_md.c: In function 'Java_java_io_UnixFileSystem_list': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/UnixFileSystem_md.c:342:5: warning: 'readdir64_r' is deprecated [-Wdeprecated-declarations] while ((readdir64_r(dir, ptr, &result) == 0) && (result != NULL)) { ^~~~~ In file included from /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/UnixFileSystem_md.c:43:0: /home/naourr/work/instance-1/output/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/dirent.h:201:12: note: declared here extern int readdir64_r (DIR *__restrict __dirp, ^~~~~~~~~~~ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c: In function 'Java_sun_nio_fs_UnixNativeDispatcher_readdir': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c:734:5: warning: 'readdir64_r' is deprecated [-Wdeprecated-declarations] res = readdir64_r(dirp, ptr, &result); ^~~ In file included from /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c:30:0: /home/naourr/work/instance-1/output/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/dirent.h:201:12: note: declared here extern int readdir64_r (DIR *__restrict __dirp, ^~~~~~~~~~~ gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/java.instrument/libinstrument.so from 12 file(s) gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/java.management/libmanagement.so from 9 file(s) Creating support/modules_libs/java.desktop/libmlib_image.so from 50 file(s) Creating support/modules_libs/java.desktop/libawt.so from 73 file(s) Creating support/modules_libs/java.desktop/liblcms.so from 1 file(s) Creating support/modules_libs/java.desktop/libjavajpeg.so from 2 file(s) Creating support/modules_libs/java.desktop/libawt_headless.so from 26 file(s) Creating support/modules_libs/java.desktop/libfontmanager.so from 45 file(s) Creating support/modules_libs/java.desktop/libjawt.so from 1 file(s) Creating support/modules_libs/java.desktop/libjsound.so from 18 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/java.prefs/libprefs.so from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/java.rmi/librmi.so from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/java.rmi/rmid from 1 file(s) Creating support/modules_cmds/java.rmi/rmiregistry from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/java.scripting/jrunscript from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/java.security.jgss/libj2gss.so from 3 file(s) gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/java.smartcardio/libj2pcsc.so from 2 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/jdk.attach/libattach.so from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/jdk.compiler/javac from 1 file(s) Creating support/modules_cmds/jdk.compiler/serialver from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/jdk.crypto.cryptoki/libj2pkcs11.so from 14 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/jdk.crypto.ec/libsunec.so from 28 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_libs/jdk.hotspot.agent/libsaproc.so from 7 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/jdk.hotspot.agent/jhsdb from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/jdk.jartool/jar from 1 file(s) Creating support/modules_cmds/jdk.jartool/jarsigner from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/jdk.javadoc/javadoc from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/jdk.jcmd/jinfo from 1 file(s) Creating support/modules_cmds/jdk.jcmd/jmap from 1 file(s) Creating support/modules_cmds/jdk.jcmd/jps from 1 file(s) Creating support/modules_cmds/jdk.jcmd/jstack from 1 file(s) Creating support/modules_cmds/jdk.jcmd/jstat from 1 file(s) Creating support/modules_cmds/jdk.jcmd/jcmd from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/jdk.jconsole/jconsole from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' Creating support/modules_cmds/jdk.jdeps/javap from 1 file(s) Creating support/modules_cmds/jdk.jdeps/jdeps from 1 file(s) Creating support/modules_cmds/jdk.jdeps/jdeprscan from 1 file(s) gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' In file included from /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:34:0: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:77:22: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? INT32 openMidiDevice(snd_rawmidi_stream_t direction, INT32 deviceIndex, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetNumDevices': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:111:12: warning: implicit declaration of function 'getMidiDeviceCount'; did you mean 'getMidiDeviceVendor'? [-Wimplicit-function-declaration] return getMidiDeviceCount(SND_RAWMIDI_STREAM_INPUT); ^~~~~~~~~~~~~~~~~~ getMidiDeviceVendor /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:111:31: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceCount(SND_RAWMIDI_STREAM_INPUT); ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:111:31: note: each undeclared identifier is reported only once for each function it appears in /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetDeviceName': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:116:15: warning: implicit declaration of function 'getMidiDeviceName'; did you mean 'getMidiDeviceVendor'? [-Wimplicit-function-declaration] int ret = getMidiDeviceName(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~ getMidiDeviceVendor /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:116:33: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? int ret = getMidiDeviceName(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetDeviceDescription': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:129:15: warning: implicit declaration of function 'getMidiDeviceDescription'; did you mean 'getMidiDeviceVersion'? [-Wimplicit-function-declaration] int ret = getMidiDeviceDescription(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ getMidiDeviceVersion /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:129:40: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? int ret = getMidiDeviceDescription(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_OpenDevice': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:145:11: warning: implicit declaration of function 'openMidiDevice'; did you mean 'closeMidiDevice'? [-Wimplicit-function-declaration] ret = openMidiDevice(SND_RAWMIDI_STREAM_INPUT, deviceIndex, handle); ^~~~~~~~~~~~~~ closeMidiDevice /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:145:26: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? ret = openMidiDevice(SND_RAWMIDI_STREAM_INPUT, deviceIndex, handle); ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetMessage': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:179:5: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'? snd_seq_event_t alsa_message; ^~~~~~~~~~~~~~~ snd_ctl_event_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:204:15: warning: implicit declaration of function 'snd_rawmidi_read'; did you mean 'snd_timer_read'? [-Wimplicit-function-declaration] err = snd_rawmidi_read((snd_rawmidi_t*) handle->deviceHandle, buffer, 1); ^~~~~~~~~~~~~~~~ snd_timer_read /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:204:33: error: 'snd_rawmidi_t' undeclared (first use in this function); did you mean 'snd_mixer_t'? err = snd_rawmidi_read((snd_rawmidi_t*) handle->deviceHandle, buffer, 1); ^~~~~~~~~~~~~ snd_mixer_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:204:47: error: expected expression before ')' token err = snd_rawmidi_read((snd_rawmidi_t*) handle->deviceHandle, buffer, 1); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:211:15: warning: implicit declaration of function 'snd_midi_event_encode_byte'; did you mean 'snd_ctl_event_get_type'? [-Wimplicit-function-declaration] err = snd_midi_event_encode_byte((snd_midi_event_t*) handle->platformData, ^~~~~~~~~~~~~~~~~~~~~~~~~~ snd_ctl_event_get_type /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:211:43: error: 'snd_midi_event_t' undeclared (first use in this function); did you mean 'snd_mixer_event_t'? err = snd_midi_event_encode_byte((snd_midi_event_t*) handle->platformData, ^~~~~~~~~~~~~~~~ snd_mixer_event_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:211:60: error: expected expression before ')' token err = snd_midi_event_encode_byte((snd_midi_event_t*) handle->platformData, ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:227:25: error: request for member 'type' in something not a structure or union switch (alsa_message.type) { ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:228:10: error: 'SND_SEQ_EVENT_NOTEON' undeclared (first use in this function); did you mean 'SND_CTL_EVENT_ELEM'? case SND_SEQ_EVENT_NOTEON: ^~~~~~~~~~~~~~~~~~~~ SND_CTL_EVENT_ELEM /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:229:10: error: 'SND_SEQ_EVENT_NOTEOFF' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_NOTEOFF: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:230:10: error: 'SND_SEQ_EVENT_KEYPRESS' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_KEYPRESS: ^~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:231:31: error: request for member 'type' in something not a structure or union status = (alsa_message.type == SND_SEQ_EVENT_KEYPRESS) ? 0xA0 : ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:232:26: error: request for member 'type' in something not a structure or union (alsa_message.type == SND_SEQ_EVENT_NOTEON) ? 0x90 : 0x80; ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:233:31: error: request for member 'data' in something not a structure or union status |= alsa_message.data.note.channel; ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:235:37: error: request for member 'data' in something not a structure or union alsa_message.data.note.note, ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:236:37: error: request for member 'data' in something not a structure or union alsa_message.data.note.velocity); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:239:10: error: 'SND_SEQ_EVENT_CONTROLLER' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEOFF'? case SND_SEQ_EVENT_CONTROLLER: ^~~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEOFF /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:240:37: error: request for member 'data' in something not a structure or union status = 0xB0 | alsa_message.data.control.channel; ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:242:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.param, ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:243:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:246:10: error: 'SND_SEQ_EVENT_PGMCHANGE' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_PGMCHANGE: ^~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:247:10: error: 'SND_SEQ_EVENT_CHANPRESS' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_KEYPRESS'? case SND_SEQ_EVENT_CHANPRESS: ^~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_KEYPRESS /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:248:31: error: request for member 'type' in something not a structure or union status = (alsa_message.type == SND_SEQ_EVENT_PGMCHANGE) ? 0xC0 : 0xD0; ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:249:31: error: request for member 'data' in something not a structure or union status |= alsa_message.data.control.channel; ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:251:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value, 0); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:254:10: error: 'SND_SEQ_EVENT_PITCHBEND' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_PGMCHANGE'? case SND_SEQ_EVENT_PITCHBEND: ^~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_PGMCHANGE /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:255:37: error: request for member 'data' in something not a structure or union status = 0xE0 | alsa_message.data.control.channel; ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:262:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:267:10: error: 'SND_SEQ_EVENT_SYSEX' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_SYSEX: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:269:48: error: request for member 'data' in something not a structure or union jdk_message->data.l.size = alsa_message.data.ext.len; ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:270:55: error: request for member 'data' in something not a structure or union jdk_message->data.l.data = malloc(alsa_message.data.ext.len); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:276:58: error: request for member 'data' in something not a structure or union memcpy(jdk_message->data.l.data, alsa_message.data.ext.ptr, alsa_message.data.ext.len); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:276:85: error: request for member 'data' in something not a structure or union memcpy(jdk_message->data.l.data, alsa_message.data.ext.ptr, alsa_message.data.ext.len); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:282:10: error: 'SND_SEQ_EVENT_QFRAME' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_QFRAME: ^~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:284:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value & 0x7F, 0); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:287:10: error: 'SND_SEQ_EVENT_SONGPOS' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_SONGPOS: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:289:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:292:10: error: 'SND_SEQ_EVENT_SONGSEL' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SONGPOS'? case SND_SEQ_EVENT_SONGSEL: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SONGPOS /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:294:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value & 0x7F, 0); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:297:10: error: 'SND_SEQ_EVENT_TUNE_REQUEST' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_CHANPRESS'? case SND_SEQ_EVENT_TUNE_REQUEST: ^~~~~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_CHANPRESS /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:303:10: error: 'SND_SEQ_EVENT_CLOCK' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_CLOCK: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:307:10: error: 'SND_SEQ_EVENT_START' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_START: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:311:10: error: 'SND_SEQ_EVENT_CONTINUE' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_CONTINUE'? case SND_SEQ_EVENT_CONTINUE: ^~~~~~~~~~~~~~~~~~~~~~ SND_TIMER_EVENT_CONTINUE /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:315:10: error: 'SND_SEQ_EVENT_STOP' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_START'? case SND_SEQ_EVENT_STOP: ^~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_START /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:319:10: error: 'SND_SEQ_EVENT_SENSING' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_CONTINUE'? case SND_SEQ_EVENT_SENSING: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_CONTINUE /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:323:10: error: 'SND_SEQ_EVENT_RESET' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_RESET: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetNumDevices': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:112:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gmake[4]: *** [Lib-java.desktop.gmk:64: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/build/linux-sparcv9-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... In file included from /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:33:0: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:77:22: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? INT32 openMidiDevice(snd_rawmidi_stream_t direction, INT32 deviceIndex, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetNumDevices': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:70:12: warning: implicit declaration of function 'getMidiDeviceCount'; did you mean 'getMidiDeviceVendor'? [-Wimplicit-function-declaration] return getMidiDeviceCount(SND_RAWMIDI_STREAM_OUTPUT); ^~~~~~~~~~~~~~~~~~ getMidiDeviceVendor /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:70:31: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceCount(SND_RAWMIDI_STREAM_OUTPUT); ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:70:31: note: each undeclared identifier is reported only once for each function it appears in /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceName': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:76:12: warning: implicit declaration of function 'getMidiDeviceName'; did you mean 'getMidiDeviceVendor'? [-Wimplicit-function-declaration] return getMidiDeviceName(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~ getMidiDeviceVendor /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:76:30: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceName(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceDescription': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:89:12: warning: implicit declaration of function 'getMidiDeviceDescription'; did you mean 'getMidiDeviceVersion'? [-Wimplicit-function-declaration] return getMidiDeviceDescription(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ getMidiDeviceVersion /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:89:37: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceDescription(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_OpenDevice': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:104:12: warning: implicit declaration of function 'openMidiDevice'; did you mean 'closeMidiDevice'? [-Wimplicit-function-declaration] return openMidiDevice(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, handle); ^~~~~~~~~~~~~~ closeMidiDevice /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:104:27: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return openMidiDevice(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, handle); ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_SendShortMessage': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:141:11: warning: implicit declaration of function 'snd_rawmidi_write'; did you mean 'snd_pcm_writen'? [-Wimplicit-function-declaration] err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, buffer, getShortMessageLength(status)); ^~~~~~~~~~~~~~~~~ snd_pcm_writen /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:141:30: error: 'snd_rawmidi_t' undeclared (first use in this function); did you mean 'snd_mixer_t'? err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, buffer, getShortMessageLength(status)); ^~~~~~~~~~~~~ snd_mixer_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:141:44: error: expected expression before ')' token err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, buffer, getShortMessageLength(status)); ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_SendLongMessage': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:168:30: error: 'snd_rawmidi_t' undeclared (first use in this function); did you mean 'snd_mixer_t'? err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, ^~~~~~~~~~~~~ snd_mixer_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:168:44: error: expected expression before ')' token err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetNumDevices': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:71:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceName': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:78:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceDescription': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:91:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_OpenDevice': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: *** [Lib-java.desktop.gmk:64: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/build/linux-sparcv9-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.o] Error 1 gmake[3]: *** [make/Main.gmk:215: java.desktop-libs] Error 2 gmake[3]: *** Waiting for unfinished jobs.... /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/hotspot/os/posix/os_posix.cpp: In static member function 'static int os::create_file_for_heap(const char*)': /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/hotspot/os/posix/os_posix.cpp:172:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound depends on the length of the source argument [-Wstringop-overflow=] (void)strncpy(fullname, dir, strlen(dir)+1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/hotspot/os/posix/os_posix.cpp:172:38: note: length computed here (void)strncpy(fullname, dir, strlen(dir)+1); ~~~~~~^~~~~ /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/hotspot/os/posix/os_posix.cpp:173:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound depends on the length of the source argument [-Wstringop-overflow=] (void)strncat(fullname, name_template, strlen(name_template)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: cannot find -lstdc++ collect2: error: ld returned 1 exit status gmake[5]: *** [lib/CompileJvm.gmk:151: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/build/linux-sparcv9-normal-server-release/buildjdk/support/modules_libs/java.base/server/libjvm.so] Error 1 gmake[5]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make/hotspot' gmake[4]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make' gmake[4]: *** [Main.gmk:257: hotspot-server-libs] Error 2 gmake[3]: *** [make/Main.gmk:410: create-buildjdk-interim-image] Error 2 gmake[3]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9' ERROR: Build failed for target 'legacy-jre-image' in configuration 'linux-sparcv9-normal-server-release' (exit code 2) gmake[3]: Entering directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9' === Output from failing command(s) repeated here === * For target buildjdk_hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link: /usr/bin/ld: cannot find -lstdc++ collect2: error: ld returned 1 exit status * For target support_native_java.desktop_libjsound_PLATFORM_API_LinuxOS_ALSA_MidiIn.o: In file included from /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:34:0: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ /usr/bin/grep: write error: Broken pipe ... (rest of output omitted) * For target support_native_java.desktop_libjsound_PLATFORM_API_LinuxOS_ALSA_MidiOut.o: In file included from /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:33:0: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ ... (rest of output omitted) * All command lines available in /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/build/linux-sparcv9-normal-server-release/make-support/failure-logs. === End of repeated output === No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. gmake[3]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9' make[2]: *** [/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make/Init.gmk:305: main] Error 2 make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9' make[1]: *** [/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/make/Init.gmk:186: legacy-jre-image] Error 2 make[1]: Leaving directory '/home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9' make: *** [package/pkg-generic.mk:241: /home/naourr/work/instance-1/output/build/openjdk-jdk-11.0.2+9/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-1/buildroot'