From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=1.0 required=3.0 tests=BAYES_20,FORGED_GMAIL_RCVD, FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:7245:0:b0:39c:df33:c189 with SMTP id l5-20020ac87245000000b0039cdf33c189mr4280420qtp.498.1673522909356; Thu, 12 Jan 2023 03:28:29 -0800 (PST) X-Received: by 2002:ac8:73ca:0:b0:3a5:4f9b:215a with SMTP id v10-20020ac873ca000000b003a54f9b215amr3797830qtp.394.1673522909157; Thu, 12 Jan 2023 03:28:29 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 12 Jan 2023 03:28:28 -0800 (PST) In-Reply-To: <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 118.208.176.39 References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com> <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com> <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com> Subject: Re: Artificial Intelligence libraries in ADA From: Roger Mc Injection-Date: Thu, 12 Jan 2023 11:28:29 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2711 Xref: reader01.eternal-september.org comp.lang.ada:64812 List-Id: My hello_tf link is failing with: gprbuild -d -eL -P/Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr --config=/Ada_Source/default.cgpr -s Link [link] hello_tf.adb Undefined symbols for architecture x86_64: "_TF_AbortWhile", referenced from: _Ada_TF_AbortWhile in libTensorFlow.a(tensorflow_wrap.o) (maybe you meant: _Ada_TF_AbortWhile) etc. I have modified the hello_tf.gpr linker section to package Linker is for Default_Switches ("ada") use ("-Wl,-rpath,/usr/local/lib", "-L/Users/rogermcmurtrie/miniconda3/envs/tf/lib/python3.9/site-packages/tensorflow", "-ltensorflow_framework", "-L/Ada_Source/cBound/tier-1/tensorflow/library/lib", "-lTensorFlow"); end Linker;