473,387 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Symbol undefined? Linker error!

I am a total novice. And granted this probably is a very simple
question, it still stops me from finishing my thesis. Thanks in
advance for any postings.

I am using a library routine and apparently I have all the necessarı
files to compile properly. But my compiler comes up with the following
message

link samain,,,user32+kernel32/noi;
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved

samain.obj(samain)
Error 42: Symbol Undefined ?free_vector@@YAXPAMJJ@Z (void cdecl
free_vector(flo
at *,long ,long ))
samain.obj(samain)
Error 42: Symbol Undefined ?amotsa@@YAMPAPAMPAM1H11P6AM1@ZH1M@Z
(float cdecl am
otsa(float **,float *,float *,int ,float *,float *,float cdecl
(*)(float *),int
,float *,float ))
samain.obj(samain)
Error 42: Symbol Undefined ?ran1@@YAMPAJ@Z (float cdecl ran1(long *))
samain.obj(samain)
Error 42: Symbol Undefined ?idum@@3JA (long idum)
samain.obj(samain)
Error 42: Symbol Undefined ?vector@@YAPAMJJ@Z (float *cdecl
vector(long ,long )
)

--- errorlevel 5

Does anyone know what this means!?
Nov 14 '05 #1
2 5235
begin followup to el prinCipante:
samain.obj(samain)
Error 42: Symbol Undefined ?free_vector@@YAXPAMJJ@Z (void cdecl
free_vector(float *,long ,long ))
This looks like a mangled name in C++ style.
Does anyone know what this means!?


You are off-topic.

--
Für Google, Tux und GPL!
Nov 14 '05 #2
On 26 Jan 2004 04:17:30 -0800, in comp.lang.c ,
to*********@hotmail.com (el prinCipante) wrote:
I am a total novice. And granted this probably is a very simple
question, it still stops me from finishing my thesis.

I am using a library routine and apparently I have all the necessarı
files to compile properly.
Apparently not. Or if you do have them, you're not using them
properly.
But my compiler comes up with the following
message


which means "I can't find which file this function is in".

Either
a) the file is in a library you don't have or
b) you compiled samain wrong (eg as C++ instead of c), and the names
are all mangled.

Either way, this is offtopic here. You should ask in a group
specialising in your compiler.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Scott Allen | last post by:
Hello, I'm new to C++ development and I'm trying out figure out the cause of an 'unresolved external symbol' error that I'm receiving when compiling. Here is some history on what I'm doing: I...
3
by: ch424 | last post by:
Hi there, I'm using Python 2.4.1 on Ubuntu Linux, and I'm having problems extending python in C: The C code is below: #include <Python.h> #include "ni488.h"
10
by: eugene | last post by:
I'm trying to compile and run some c++ code to be called from Matlab (mex file) and I'm getting "Invalid MEX-file ... undefined symbol" error. Anybody knows where to look for solution? >>mex...
1
by: Travis Stewart | last post by:
Hi, I've been working on some software to control an older GPIB card for the past couple of weeks. I have function prototypes in a header file pc-mate2.h and the functions are defined in...
8
by: pavan734 | last post by:
Hello, Please excuse me as Iam not posting this to correct group. I have a parser code obtained from flex command. I have many other files. When I compile them Iam getting a message like:...
3
by: Ed Dana | last post by:
Greetings, all. :) I'm familiar with other object oriented programming tools, such as Java & REBOL. In an effort to become more familiar with C++, I decided to write an object oriented BlackJack...
0
by: Ehsan68 | last post by:
Hello my problem is "Linker Error: Undefined symbol _cga_driver_far in module maze.c " then Go to Options =>Linker =>Libraries This will display a box showing Container Class Turbo...
1
by: vsen123 | last post by:
Hi, I wanted to use multiple source files for one program.I created a file "key.h" as follows: #ifndef KEY_H #define KEY_H class Inputk { int hkey; char Kuser; protected: int Key;
2
by: kumarsatish | last post by:
The following C program in Turbo C is given the following error " Linker error:-Undefined Symbol _insert_point" #include<stdio.h> #include<conio.h> #define NULL 0 struct list_node
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.