I have an executable in Ada compiled with gprbuild.the executable use some simple function (like sin e cos).This executable is operating in a App binded to a POS (Partition Operating System) designed with vxwork. Once recompiled the whole process it appears a bunch of multiple function declaration errors between the POS_API.o and the ada executable (hello.o) . These functions (sin, cos, ...) are all in the same library. Unfortunately the most easy solution to de-reference all this function in POS is not permitted (bound of design).Any suggestions on how to compile or proceed? Is this any possibility to compile without a specific library or some function in order to avoid the multiple reference error?
Related Questions in ADA
- How to properly handle byte buffers from C to Ada?
- ADA problem with value by reference or post conditions
- Order of evaluation in assignment statements
- Why Ada attribute 'value in this snippet doesn't raise Data_Error but Constraint_Error instead?
- How to write Recursive GCD program in Ada?
- Ada Calendar Arithmetic Difference 0 day between March 27 and March 28 2011
- Access constant as subtype of general access type
- How to conveniently parse a very specific chunk of a plaintext file in Ada?
- STORAGE_ERROR on assignment to array element
- Howto Re-Index an String in Ada?
- How to add < and > check in case ... when?
- How can I have more information in a Predicate_Failure?
- Tasking support in CortexM4-based board
- Receiving a `r' Fatal Error when trying to build basic Ada code
- MSYS2 - mingw64 Installing a package
Related Questions in VXWORKS
- VXWorks version.h file errors
- select() always returns 0 Serial Port (UART) vxWorks
- Executable searching for the linked library in different path than the one set using LD_LIBRARY_PATH
- How to Specify a Location for Creating a VMware Resource Pool with PyVmomi?
- VxWorks 5.5 to VxWorks 7.0 migration
- How do I allocate RAM?
- vxworks 7 SDK start container by script
- Get current timestamp in microseconds in vxWorks
- converting DLL file of crio 9074 with vxworks os to .out
- vxWorks-6.9 Wind River 3.3.6 error message make.exe subdirs_all Error 2
- Linking external DKM (.o file) with the DKM project in WindRiver workbench 4.1
- Should sendto block when eth linkndown? Vxworks 6.9
- referencing "include" file in vxworks *.wpj file
- VxWorks Simulator Error: failed for simnet0
- boost::interprocess::message_queue priority scheme
Related Questions in GPRBUILD
- Ada: (gpr)install package with multiple shared libraries
- GPRbuild: relocation truncated to fit R_X86_64
- Ada Gnat project which includes differently-named files for different build configurations
- GPRBUILD and multiple file suffix (.cc, .cpp)
- Why does gprbuild behave differently when building a library on Linux and Windows?
- Is it possible to have a file wildcard in gprbuild project files?
- Link object file to project with gprbuild
- How to use nvcc with gprbuild?
- Link math.h with gprbuild
- Can gprbuild be configured to output gnatprep preprocessed sources?
- Building a DLL for Windows with a specific base address
- External configuration of Project_Version in gpr file
- How do you specify the name of the executable in your gprfile? Can it be above the gprfile's directory?
- How to install gprbuild on Linux - Centos7
- How to add Ada to riscv-toolchain
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I'm afraid this isn't really an answer: largely because it's more than ten years since I worked with VxWorks and Ada, and things have got a bit hazy. Also, it's a bit long for a comment on your question
As I used it, VxWorks comes with a whole suite of software that you configure to hold just the components you need into your kernel: in this case, that would presumably include the maths package, functions like
sin(), as well as the OS functions liketaskSpawn().The Ada/VxWorks build process that we used generates a partially-linked object file, with references to
sin(),taskSpawn()unresolved (I can't remember how this is achieved; if using GNUld, maybe the-ror--relocatableswitch?). When VxWorks loads this object file over the configured kernel, the unresolved references get resolved, and away we go.Now, I don't know what sort of thing your POS_API does. Is it a skin over a configured VxWorks kernel? Does it load yoour Ada program itself? If it is itself a VxWorks program, how come it's exporting
sin()?I suspect that the problem is to do with the way you've linked your executable. Maybe you could show us your GPR file? Otherwise, I'm just whistling in the dark.