facebook / facebook/watchman

Freebsd ld linker failure

Open
#644 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

tests/childproc.t causes linker issue :
/usr/bin/ld: error: undefined symbol: w_dir_open(char const*, bool)
>>> referenced by FileDescriptor.cpp:187
>>> tests_childproc_t-FileDescriptor.o:(watchman::getFileInformation(char const*, watchman::CaseSensitivity))
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Removing that tests/childproc.t from Makefile.am corrected the issue
Also SOL_LOCAL in stream_unix.cpp isn't defined, changed it from SOL_LOCAL to SOL_SOCKET to fix it
https://gist.github.com/01317c143a7cd77428ce8538936fed47 is the fix for tests/childproc.t

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.