LouisBrunner / valgrind-macos

A valgrind mirror with latest macOS support
GNU General Public License v2.0
1.14k stars 58 forks source link

Build failure: undeclared identifier 'HOST_IO_MASTER_PORT' #73

Closed pramsey closed 1 year ago

pramsey commented 1 year ago

Context

Building from git, master branch, pulled this morning.

What went wrong?

./autogen.sh && ./configure && make
....
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include -I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1  -I../coregrind -DVG_LIBDIR="\"/opt/valgrind/libexec/valgrind"\" -DVG_PLATFORM="\"amd64-darwin\""    -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare  -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -mmacosx-version-min=10.6   -MT m_syswrap/libcoregrind_amd64_darwin_a-syswrap-darwin.o -MD -MP -MF m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-darwin.Tpo -c -o m_syswrap/libcoregrind_amd64_darwin_a-syswrap-darwin.o `test -f 'm_syswrap/syswrap-darwin.c' || echo './'`m_syswrap/syswrap-darwin.c

m_syswrap/syswrap-darwin.c:5258:14: error: use of undeclared identifier 'HOST_IO_MASTER_PORT'
        case HOST_IO_MASTER_PORT:

Information

paulfloyd commented 1 year ago

On 27-02-23 21:41, Paul Ramsey wrote:

  Context

Building from git, master branch, pulled this morning.

Try "main" branch.

pramsey commented 1 year ago

OMG, good eye. I just pulled on an old repo that predated the branch name change.