Build errors on project linking

Discussion to talk about software related topics only.
Post Reply
geolab
Posts: 3
Joined: Mon Jul 07, 2014 4:14 am

Build errors on project linking

Post by geolab »

Hello everyone,

I am working on the integration of an existing C++ code into the Netburner environment. Some projects are compiled as libraries while one is compiled as an elf executable.

But, a lot of errors of this type appear on linking process of the executable:

C:\nburn\lib\NetBurner.a(ucosmcfa.o): In function `OSSetupVBR':
(.text+0xc4): undefined reference to `vector_base'

I've attached two images of the compiler directories settings and the linker libraries. Moreover, there is a file with the log from a console.

Do I have any error on the linker libaries configuration? Where do you think these errors may come from?

I would appreciate so much any kind of help with this issue.
Attachments
build_log.txt.txt
(10.98 KiB) Downloaded 202 times
ps_libs.png
ps_libs.png (218.34 KiB) Viewed 2092 times
ps_directories.png
ps_directories.png (212.89 KiB) Viewed 2092 times
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Build errors on project linking

Post by dciliske »

You didn't modify the "Command Line Pattern" for the Linker options, did you? Your link command is missing all references to the linker scripts that are needed to build the executable file.

-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
Post Reply