472,968 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,968 software developers and data experts.

Linker Error Unresolved External Borland Builder 2006

3
I get this Linker Errors while compiling my program:

[Linker Error] Error: Unresolved external 'vminit()' referenced from
C:\TESTE\TESTE.OBJ
[Linker Error] Error: Unresolved external 'vmalloc(void *, int,
unsigned int, unsigned int)' referenced from C:\TESTE\TESTE.OBJ
[Linker Error] Error: Unresolved external 'vmcomplete(void *)'
referenced from C:\TESTE\TESTE.OBJ
[Linker Error] Error: Unresolved external 'LogError(char *, int, char
*, int)' referenced from C:\TESTE\TESTE.OBJ

vminit, vmalloc, and all others are defined in "vmblock.h" which are included upfront in the cpp file so it "shouldn't" give me this error!

This are my,

Include Search Path:
C:\teste;$(BDS)\include;$(BDS)\include\dinkumware; $(BDS)\include\vcl

Library Search Path:
C:\teste;$(BDS)\lib;$(BDS)\lib\obj;$(BDS)\lib\psdk

My work directory is c:\teste and I've uploaded to http://pwp.netcabo.pt/yota/teste.zip

Can anyone help me please? :confused:

Thanks in advanced,
yOtA
Jul 17 '06 #1
4 29188
Banfa
9,065 Expert Mod 8TB
Including "vmblock.h" will not prevent link errors, this prevents compiler errors and warnings.

The link errors have occured because whatever library (.lib, .a or .o file) implements the functions defined in "vmblock.h" has not bee included in the link.
Jul 17 '06 #2
yOtA
3
Including "vmblock.h" will not prevent link errors, this prevents compiler errors and warnings.

The link errors have occured because whatever library (.lib, .a or .o file) implements the functions defined in "vmblock.h" has not bee included in the link.

My problem is that there are no .lib/.a/.o files associated. Only the vmblock.h one. The functions are defined in vmblock.h to be used in the cpp.

By the way, the it's contents are:

#ifndef VMBLOCK_H_INCLUDED
#define VMBLOCK_H_INCLUDED

#define VEKTOR 0
#define VVEKTOR 1
#define MATRIX 2
#define IMATRIX 3
#define MMATRIX 4
#define UMATRIX 5
#define PMATRIX 6

void *vminit
(
void
);

void *vmalloc
(
void *vmblock,
int typ,
size_t zeilen,
size_t spalten
);

bool vmcomplete
(
void *vmblock
);


void vmfree
(
void *vmblock
);

#endif

Can you help?
Thanks
Jul 17 '06 #3
Banfa
9,065 Expert Mod 8TB
The functions are defined in vmblock.h to be used in the cpp.
This is the whole point, they are declared in vmblock.h but they are actually defined elsewhere. That is all the header file states is that they exist.

I quick search on the web sugests that it may not be a library file you are looking for but a source file vmblock.cpp in which case you should include that source into your project.

Either way you are missing some components, where did you get vmblock.h from? Go back and see if they have the bits you are missing or alternitively download a whole new version from the web if you can find it.
Jul 18 '06 #4
yOtA
3
You were right,

Thanks for the help, problem solved.
Jul 18 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: KS | last post by:
I am getting linker error for a code that was tested and running. I opened the project in VS.NET 2003 and now i get these errors - I am sure it is some options issue. Can anyone please help? ...
1
by: Laszlo | last post by:
Hi all, As a novice I installed PostgreSQL 7.2.1 on Win32 and works, Borland C++Builder Enterprise Suite 5.0 (build 12.34) what works too. I decided to combine these two programs and develop a...
1
by: endo55 | last post by:
Hi I've got the following errors when trying to compile a program cvision error LNK2001: unresolved external symbol _IID_IGraphBuilde cvision error LNK2001: unresolved external symbo...
4
by: Joel Whitehouse | last post by:
Hello All, I have a Visual C++ 2003 dll solution in a directory called "Antenna Test Range Control", and when I comile it, I get the error LNK1104: cannot open file "antenna.obj". When I remove...
3
by: Chucker | last post by:
Hi Folks, I got a Wrapper Dll around a native C++ static library. In .NET 1.1 this worked fine. When moving to .NET 2.0 I get a couple of unresolved externals / linker errors: Error 16 error...
1
by: developer | last post by:
Hi All I have made a .NET project. the files included are borland c++ files that i am migrate to VC++ .NET I am using Microsoft Visual C++ .NET 2003. the compilation goes through properly,...
1
by: iiitsunny | last post by:
i have ported one project which was working in VC6 to VC7. Now the project is working fine in VC7 also. I have made some additions in VC7 environment only. But the problem is that the project is not...
12
by: kath.neumann | last post by:
Hi, I just started to get a grip on C++ and and went through the tutorial. However, not even the standard "hello world" exercise works out :( I do get a linker error " Unresolved external...
1
by: Deepath G | last post by:
This is deepath.. I am getting some linker error when i am trying to connect Websphere MQ using Borland C++ Builder 2006 using imqi.hpp on windows. Error Message ----------------------- ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
3
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.