You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/05/17 22:11:19 UTC

[GitHub] [trafficserver] bryancall commented on pull request #7786: Enables cross-compiling

bryancall commented on pull request #7786:
URL: https://github.com/apache/trafficserver/pull/7786#issuecomment-842675553


   I am getting this error when running configure:
   ```
   configure:7756: checking whether the C compiler works
   configure:7778: clang -target arm64-apple-macos -target arm64-apple-macos -I/opt/arm64/include -target arm64-apple-macos -L/opt/arm64/lib conftest.c  >&5
   ld: warning: directory not found for option '-L/opt/arm64/lib'
   ld: warning: ignoring file /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a, missing required architecture arm64 in file /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a (3 slices)
   ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture arm64 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
   ld: dynamic main executables must link with libSystem.dylib for architecture arm64
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
   configure:7782: $? = 1
   configure:7822: result: no
   configure: failed program was:
   | /* confdefs.h */
   | #define PACKAGE_NAME "Apache Traffic Server"
   | #define PACKAGE_TARNAME "trafficserver"
   | #define PACKAGE_VERSION "10.0.0"
   | #define PACKAGE_STRING "Apache Traffic Server 10.0.0"
   | #define PACKAGE_BUGREPORT "dev@trafficserver.apache.org"
   | #define PACKAGE_URL "https://trafficserver.apache.org"
   | #define PACKAGE "trafficserver"
   | #define VERSION "10.0.0"
   | #define HAS_CURL 1
   | /* end confdefs.h.  */
   |
   | int
   | main (void)
   | {
   |
   |   ;
   |   return 0;
   | }
   configure:7827: error: in `/Users/bcall/dev/apache/trafficserver/build-Darwin':
   configure:7829: error: C compiler cannot create executables
   See `config.log' for more details
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org