comp.lang.ada
 help / color / mirror / Atom feed
From: Rod Kay <rodakay5@gmail.com>
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 12 Jan 2023 23:18:54 +1100	[thread overview]
Message-ID: <tpotqv$190p5$1@dont-email.me> (raw)
In-Reply-To: <77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com>

On 12/1/23 22:28, Roger Mc wrote:
> 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.
> 

Hmm, by 'etc' do you mean there are many more undefined symbols ? If so, 
could you pastebin the entire output of the gprbuild command


> 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;


Maybe try adding "-ltensorflow" to the Linker 'Default_Switches', just 
after the "-ltensorflow_framework" switch.

  reply	other threads:[~2023-01-12 12:18 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10  7:25 Artificial Intelligence libraries in ADA Daniel
2019-07-10  7:39 ` J-P. Rosen
2019-07-10  8:57   ` Daniel
2019-07-10 10:52 ` Dmitry A. Kazakov
2019-07-10 11:30   ` Daniel
2019-07-10 14:44     ` Philip Munts
2019-07-10 15:08     ` Dmitry A. Kazakov
2019-07-10 16:13 ` Jeffrey R. Carter
2019-07-11  7:42   ` Björn Lundin
2019-07-11 16:49     ` Jeffrey R. Carter
2022-11-10 17:58       ` Marius Amado-Alves
2022-11-10 19:10         ` Jeffrey R.Carter
2022-11-10 19:18           ` Luke A. Guest
2022-11-11 10:20             ` Rod Kay
2023-01-08 16:32               ` Dana B
2023-01-09 11:12                 ` Rod Kay
2023-01-11  6:35                 ` Rod Kay
2023-01-12  2:46                   ` Roger Mc
2023-01-12  5:01                     ` Rod Kay
2023-01-12  5:13                       ` Roger Mc
2023-01-12  5:30                         ` Roger Mc
2023-01-12  5:38                           ` Roger Mc
2023-01-12  5:43                             ` Roger Mc
2023-01-12  7:31                               ` Rod Kay
2023-01-12  8:02                               ` Rod Kay
2023-01-12  9:12                                 ` Roger Mc
2023-01-12 10:32                                   ` Rod Kay
2023-01-12 10:51                                     ` Roger Mc
2023-01-12 11:28                                       ` Roger Mc
2023-01-12 12:18                                         ` Rod Kay [this message]
2023-01-12 21:57                                           ` Roger Mc
2023-01-12 22:09                                           ` Roger Mc
2023-01-13  0:12                                             ` Roger Mc
2023-01-13  0:40                                               ` Roger Mc
2023-01-13  7:24                                                 ` Rod Kay
2023-01-13 22:13                                                   ` Roger Mc
2023-01-13 11:18                                                 ` Marius Amado-Alves
2023-01-13 14:55                                                   ` Roger Mc
2023-01-13  7:19                                               ` Rod Kay
2023-01-13 22:08                                                 ` Roger Mc
2023-01-14  9:35                                                   ` Rod Kay
2023-01-14 11:53                                                     ` Roger Mc
2023-01-09  1:56 ` Roger Mc
2023-01-09 10:49   ` J-P. Rosen
2023-01-09 11:21     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox