Ttclasses60.lib link error
Hi
I'm trying to link ttClasses60.lib on Visual C++ 6.0 but i've got link error LNK2001 such as:
error LNK2001: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class TTStatus c
onst &)" (__imp_??6@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV01@ABVTTStatus@@@Z)
Could you guys find out what's the problem?
This error is usually encountered when you are using a later version of MSFT compiler than VC 6.0. Perhaps you are using VC .NET or VC .NET 2003? One way to tell is to run
cl.exe /?
Since ttclasses is distributed in source form, you can easily rebuild them using your compiler. Just cd into the $install_dir\ttclasses directory and do "nmake /f Makefile.vsdotnet clean all", then do the same in the demo\ttclasses directory.
Similar Messages
-
Linking error cvistart.lib
Hi,
I'm trying to build a DLL and i get the following errors:
4 Project link errors
Undefined symbol '___UFRNameTable' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
Undefined symbol '___CompiledDebuggingLevel' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
Undefined symbol '___PtrInfoFixupTable' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
Undefined symbol '___CVI_Sections' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
I tryed it on two machines and i also tryed to create an exetuable (after adding main function to the project).
I also tryed to create a new project
Thanks for helpI am having the exact same problem, but only when do a release build. The debug build works fine.
Errors generated when performing a 'release' build'
clear_history_ecu_data.prj(Release) - 4 link errors
Undefined symbol '___CompiledDebuggingLevel' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib".
Undefined symbol '___PtrInfoFixupTable' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib".
Undefined symbol '___CVI_Sections' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib".
Undefined symbol '___UFRNameTable' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib".
I am using CVI 2009.
I have deleted the build folder and marked all for recompile.
Any suggestions?
Thanx,
thefalk -
Link error in Workshop 6u2 with lib built by Studio 9
I have a shared library built with Sun Studio 9.
I'm trying to use it in an application that I build using Sun
Workshop 6 update 2.
This gives me a link error:
Undefined symbol first referenced in file
__rwstd::__null_string_ref_rep<char,std::char_traits<char>,
std::allocator<char>,__rwstd::__string_ref_rep<std::allocator<char>
>>::__null_string_ref_rep()
/home/me/lib/libFoo.so
std::basic_string<char,std::char_traits<char>,std::allocator<char>>::~basic_string()
/home/me/lib/libFoo.so
The lib is built using:
JAVA_INCLUDE = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris
JAVA_LIBS = -L${JAVA_HOME}/jre/lib/sparc -L${JAVA_HOME}/jre/lib/sparc/client
CXX = g++
CXXFLAGS = -g -w -fPIC -I./include ${JAVA_INCLUDE}
LDFLAGS = -shared ${JAVA_LIBS} -ljava -ljvm
$(CXX) ${LDFLAGS} ${LIBS} -o ../$@ ${OBJS}
Any ideas what could be wrong?
Thanks in advance,
/MikaelYou can use a binary created by an older compiler in a program built with a newer compiler. We take care not to invalidiate old binary interfaces in new compilers.
You cannot use a binary created by a newer compiler in a program built with an older compiler. The newer compiler will in general use features from headers or system libraries that are unknown to the older compiler.
If you have a set of binaries created by different compiler versions, you must build the final program using a compiler at least as new as the newest compiler that was used.
Similar rules apply to verions of Solaris where the binaries are built. If you build a binary on an older Solaris version, you can use it on a newer Solaris version -- but not the reverse. -
Linker error: can't open "ini.lib"
Hi,
I've just installed the Evaluation copy of the Measurement Studio Tools for Visual C++ and whenever I try to run an example or a program that I create I get a linker error referencing ini.lib? I can find ini.lib in 2 folders both descending from VXIpnp, but I've also called the hotline and I was told I need the INI driver. Doesn't that come with the evaluation CD or do I need to manually download it from your website and then install it myself?
AlexYou need to add the path of the ini.lib to the VC++ environment. The installer should have done this for you, but it must not have. Go to Tools->Options and under the directories tab, add a Library files entry that points to the ini.lib directory.
Best Regards,
Chris Matthews
Measurement Studio Support Manager -
Linker error using extern with 2 libs
Hi,
I have written two libraries, both libraries need to share access to a variable, GblVal. So in one lib, when GblVal is changed, the other lib should also see this change.
I have tried to achieve this through extern in the following setup:
lib1:
lib1.c:
int GblSum;
void Do(){
GblSum=1;
lib1.h:
extern int GblSum;
lib2.c:
#include "lib1.h"
void check(){
printf("%d",GblSum);
finally I have a main process that has both compiled libs
main.c:
Do();
check();
obviously my code doesn't actually do the above, but this is just the gist of what I'm trying to do. I'm fairly certain that I am setting my extern variable up right, however I can't compile lib2 due to:
Undefined symbol "_GblNum" referenced in lib2.c
what am I doing wrong? I have suspicions that this is a linker error but I'm not really sure how to fix it.
thanksStatic libraries (usual file extension .lib) are simply collections of compiled object files. To use functions and data contained in a static library in an application, the library must be specified as one of the input files to the application. At link time, the linker searches the library to resolve unsatisfied function and data references and extracts the object modules required to satisfy them.
Dynamic Link Libraries (usual file extension .dll) are compiled and linked code modules (that is, they contain their own run-time support) that expose the addresses of particular functions (and, less often, data items) contained within the module. If an application uses functions from a dynamic link library, the DLL is also loaded when the application is run and the function/data addresses made known to the application. DLLs are most often used to share common code between applications, but because they are self-contained they are also a common way of building applications using different technologies (e.g. a CVI application can use a DLL built using Delphi or VC++).
Normally, a DLL is associated with an import library which is linked in with the calling application. This import library resolves references to functions and data in the DLL used by the calling application by 'telling' the application which DLL the functions are in and how to find them in that DLL. Applications can also explicitly load DLLs at run-time if required.
Martin
Certified CVI Developer -
I am writng a simple application in C language for communicating with GPIB. when I compile the c file I am getting a linker error
LIBC.lib(ctr0.obj): LNK2001 error: unresolved sysmbol _main
I compile the application in the dos window using the command
cl gpibApplication.c gpib-32.obj.
Could anyone tell me how to remove this errorHello-
It sounds like the main function is missing from the gpibApplication.c file. Be sure that the following function is somewhere in the code:
int main (int argc, char *argv[])
Also, note that this function is case sensitive, so be sure main is not capitalized.
Randy Solomonson
Application Engineer
National Instruments -
Re: Link error during fcompile
Hi Jeanne:
I have already gone trough the procedure you have described but the
result is same.
When I invoke link command on all the *.obj files with some libraries
from forte and
MSVC/Lib I get the same Error. The command I am invoking is
C:\> link *.obj *.lib
Assuming that I am in the dir where all .obj files are and I have copied
all required .lib files in this dir. Other thing that I have also tried
this with different link flags and/or with exact flags from Forte log
file.
Thanks for your respons.
Any othe suggestions please?
--Shahzad
Jeanne Hesler wrote:
Shahzad,
Have you tried manually invoking the link command itself from the
command
line? I was able to do this successfully when having problems with
the
Borland compiler under 16-bit windows. It is not a long-term
solution,
because you obviously want fcompile to handle the entire task, but it
might
help you determine if it is a problem with the fcompile or the linker
itself.
I executed the fcompile from a DOS window in the ...codegen\myapp
directory. When the error occurred, I found the log file that is
created
from the fcompile, and determined the last command that was executed.
I
can't tell you the exact specifics here, because I have not had
problems
with fcompile using the MSVC compiler. But I am assuming that Forte
is
consistent about writing the compiler output to a log file. I could
then
copy the command line from the log file to the command line in the dos
window and execute it manually.
You have to be careful copying the command line, because there are a
lot of
flags, and they ARE case-sensitive. If you get the same error when
invoking the command manually, then you can assume that the problem is
with
the compiler itself, or as it was in my case, with the compiler
setup. If
the command is successful when you execute it manually, then you can
pursue
it as a problem with the fcompile.
One other thought -- you might make sure that you have plenty of extra
disk
space. Compilers like to write temporary files during the compile
process.
On a very large compile, you might need a lot of working space for
these
temporary files. I believe the MSVC compiler writes these files to
the
directory indicated by the environment variable TMP (not TEMP).
Hope this helps,
At 11:22 AM 10/17/97 -0400, you wrote:
Hi,
I am getting this error during fcompile of a large (12MB) pgffile
link: fatal error LNK1141: failure during build of exportes file
error during compilation, aborting
This is under Windows NT and MSVC compiler. MSVC Documetation saysthat
this could be due
to insufficient memory. But we have 0.5Geg ram and I don't even seeall
memory being utilized during compile.
Any clues?
--Shahzad
--Jeanne
============================================================
Jeanne Hesler [email protected]
============================================================The way to handle this is to break down the fcompile. Here is the
process:
1. fcompile -nocompile -fm "(x:40000)"
this will produce the CPP and H files
2. fcompile -nogen -fm "(x:40000)"
this will link the files and produce the exe.
If there is an error then you will know exactly where its happening.
Hope this helps.
Kamran Amin
Technical Leader, Software Engineering
Oxford Health Plan
http://www.oxhp.com/
From: Chaudary M. Shahzad[SMTP:[email protected]]
Sent: Friday, October 17, 1997 7:05 PM
To: [email protected]
Subject: Re: Link error during fcompile
Bruce:
I have tried that I have even tried
fcompile -fm '(x:400000)'
It seems like its the Microsoft Compiler and/or Linker problem. There
have to be some flags for compiler or linker I can
set with fcomile so it allocate more memory for the MSVC linker.
Any more clues or help ????
--Shahzad
Bruce Lipson wrote:
Chaudary,
There are flags for setting the usage of memory by the fcompile
command.
fcompile -fm '(x:250000)'
where x:250000 sets the maximum amount of memory fcompile will use to
250k.
the default is 64k.
Get it a try.
Bruce Lipson
[email protected]
-----Original Message-----
From: Chaudary Shahzad [SMTP:[email protected]]
Sent: Friday, October 17, 1997 11:22 AM
To: [email protected]
Subject: Link error during fcompile
Hi,
I am getting this error during fcompile of a large (12MB) pgf
file
link: fatal error LNK1141: failure during build of exportes file
error during compilation, aborting
This is under Windows NT and MSVC compiler. MSVC Documetation says
that
this could be due
to insufficient memory. But we have 0.5Geg ram and I don't even see
all
memory being utilized during compile.
Any clues?
--Shahzad -
Linking error installing 10.2g x86_64 on OpenSuSE 10.3 x86_64
On a fresh OpenSuSE 10.3 x86_64 I try to install 10.2g x86_64.
The OpenSuSE 10.3 is installed according to http://en.opensuse.org/Oracle_on_openSUSE with the C/C++ Development and 32-bit Runtime Environment patterns. I've deselected the Multimedia, Office Software, Desktop Effects, Graphics and Games patterns as they have nothing to do on a server...
I've installed libaio and orarun.
The other change I made from the default is that I use /srv/oracle instead of /opt/oracle. This change to corrected in /etc/profile.d/oracle.sh and /etc/sysconfig/oracle
65% into the linking a get the error below.
Afterwards I've tried to install gcc41, libstdc++ and their 32bit packages but it doesn't change a thing.
What am I missing?
The errorlogs first from installActionsXXX.log and then from make.log
/srv/oracle/oraInventory/logs/installActions2007-12-15_08-07-59PM.log:
INFO: ----------------------------------
INFO: Calling Action unixActions10.2.0.1.0 make
registerOnly = false
installMakePath = /usr/bin/make
installMakeFileName = /srv/oracle/product/10.2/db_1/sysman/lib/ins_emdb.mk
installTarget = collector
undoMakeFileName =
installArguments = ORACLE_HOME=/srv/oracle/product/10.2/db_1,
logFile = /srv/oracle/product/10.2/db_1/install/make.log
undoTarget =
progMsg = Relinking SGA fetchlet and nmccollector binary
INFO: The output of this make operation is also available at: '/srv/oracle/product/10.2/db_1/install/make.log'
INFO:
INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:
INFO: make -f /srv/oracle/product/10.2/db_1/sysman/lib/ins_emdb.mk relink_exe EXENAME=nmccollector
INFO: make[1]: Entering directory `/srv/oracle/product/10.2/db_1/sysman/lib'
gcc -o /srv/oracle/product/10.2/db_1/sysman/lib/nmccollector -L/srv/oracle/product/10.2/db_1/lib/ -L/srv/oracle/product/10.2/db_1/sysman/lib/ `cat /srv/oracle/product/10.2/db_1/li
b/sysliblist` -Wl,-rpath,/srv/oracle/product/10.2/db_1/lib -lm `cat /srv/oracle/product/10.2/db_1/lib/sysliblist` -ldl -lm -L/srv/oracle/product/10.2/db_1/lib -Wl,-export-dynamic
/srv/oracle/product/10.2/db_1/sysman/lib/snmccolm.o /srv/oracle/product/10
INFO: .2/db_1/sysman/lib/libnmccol.a /srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a /srv/oracle/product/10.2/db_1/sysman/lib//libnmadbg.a /srv/oracle/product/10.2/db_1/rdbms/lib
/libdsga10.a /srv/oracle/product/10.2/db_1/lib/libserver10.a /srv/oracle/product/10.2/db_1/lib/libclntsh.so `cat /srv/oracle/product/10.2/db_1/lib/sysliblist` -ldl -lm
INFO: /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/snmccolm.o' is incompatibl
e with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmccol.a(nmccole.o)' is incom
patible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture
INFO: of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbuft.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbufw.o)' is incom
patible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbufu.o)' i
INFO: s incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(snmcbufm.o)' is inco
mpatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbuff.o)' is incom
patible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../
INFO: ../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib//libnmadbg.a(nmadbg.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib//libnmadbg.a(snmadbg.o)' is inco
mpatible with i386:x86-64 output
collect2: ld returned 1 exit status
INFO: make[1]: Leaving directory `/srv/oracle/product/10.2/db_1/sysman/lib'
INFO: make[1]: *** [srv/oracle/product/10.2/db_1/sysman/lib/nmccollector] Error 1
INFO: make: *** [nmccollector] Error 2
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'collector' of makefile '/srv/oracle/product/10.2/db_1/sysman/lib/ins_emdb.mk'. See '/srv/oracle/oraInventory/logs/installActions2007-12-15_08-07-59PM.log' for details.
Exception Severity: 1
/srv/oracle/product/10.2/db_1/install/make.log:
- Linking liborasdk
/srv/oracle/product/10.2/db_1/bin/genorasdksh
$Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $
Generating FULL ORASDK library...
Creating /srv/oracle/product/10.2/db_1/lib/liborasdk.so.10.2
-rwxrwx--- 1 oracle oinstall 16477661 2007-12-15 20:16 liborasdk.so.10.2
lrwxrwxrwx 1 oracle oinstall 17 2007-12-15 20:16 liborasdk.so -> liborasdk.so.10.2
/usr/bin/make -f ins_rdbms.mk ipc_udp/rm -f /srv/oracle/product/10.2/db_1/lib/libskgxp10.so
cp /srv/oracle/product/10.2/db_1/lib//libskgxpu.so /srv/oracle/product/10.2/db_1/lib/libskgxp10.so
/usr/bin/make -f ins_emdb.mk collector ORACLE_HOME=/srv/oracle/product/10.2/db_1/make -f /srv/oracle/product/10.2/db_1/sysman/lib/ins_emdb.mk relink_exe EXENAME=nmccollector
make[1]: Entering directory `/srv/oracle/product/10.2/db_1/sysman/lib'
gcc -o /srv/oracle/product/10.2/db_1/sysman/lib/nmccollector -L/srv/oracle/product/10.2/db_1/lib/ -L/srv/oracle/product/10.2/db_1/sysman/lib/ `cat /srv/oracle/product/10.2/db_1/lib/sysliblist` -Wl,-rpath,/srv/oracle/product/10.2/db_1/lib -lm `cat /srv/oracle/product/10.2/db_1/lib/sysliblist` -ldl -lm -L/srv/oracle/product/10.2/db_1/lib -Wl,-export-dynamic /srv/oracle/product/10.2/db_1/sysman/lib/snmccolm.o /srv/oracle/product/10.2/db_1/sysman/lib/libnmccol.a /srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a /srv/oracle/product/10.2/db_1/sysman/lib//libnmadbg.a /srv/oracle/product/10.2/db_1/rdbms/lib/libdsga10.a /srv/oracle/product/10.2/db_1/lib/libserver10.a /srv/oracle/product/10.2/db_1/lib/libclntsh.so `cat /srv/oracle/product/10.2/db_1/lib/sysliblist` -ldl -lm
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmccol.a(nmccole.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbuft.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbufw.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbufu.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(snmcbufm.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib/libnmcbuf.a(nmcbuff.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib//libnmadbg.a(nmadbg.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/srv/oracle/product/10.2/db_1/sysman/lib//libnmadbg.a(snmadbg.o)' is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
make[1]: Leaving directory `/srv/oracle/product/10.2/db_1/sysman/lib'
make[1]: *** [srv/oracle/product/10.2/db_1/sysman/lib/nmccollector] Error 1
make: *** [nmccollector] Error 2I found a reference to "Pre-Install checks for 10gR2 RDBMS (10.2.x) - Linux x86 Platforms
Doc ID: Note:334531.1" on another thread.
Running this gives the result below.
Does that give any answer to my install problems?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Health Check/Validation (V 01.07.00)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Validation Rule Engine" will be run in following environment:
HOSTNAME : rap
USERNAME : oracle
ORACLE_SID : stdby
ORACLE_HOME : /srv/oracle/product/10.2/db_1
If this is not correct environment
Please set correct env parameters and rerun the program
Would you like to continue [Y]es/[N]o (Hit return for [Y]es) : Y
Executing Rules
~~~~~~~~~~~~~~~
Executing Rule: OS certified? - completed successfully.
Executing Rule: User in /etc/passwd? - completed successfully.
Executing Rule: Group in /etc/group? - completed successfully.
Executing Rule: Input ORACLE_HOME - user INPUT Required.
Enter value for < Planned ORACLE_HOME location or if set >
(Hit return for [$ORACLE_HOME]) :
- completed successfully.
Executing Rule: ORACLE_HOME valid? - completed successfully.
Executing Rule: O_H perms OK? - completed successfully.
Executing Rule: Umask set to 022? - completed successfully.
Executing Rule: LDLIBRARYPATH unset? - completed successfully.
Executing Rule: Other O_Hs in PATH? - completed successfully.
Executing Rule: oraInventory perms - completed successfully.
Executing Rule: /tmp adequate? - completed successfully.
Executing Rule: Swap (in Mb) - completed successfully.
Executing Rule: RAM (in Mb) - completed successfully.
Executing Rule: Swap OK? - completed successfully.
Executing Rule: Disk Space OK? - completed successfully.
Executing Rule: Kernel params OK? - completed successfully.
Executing Rule: Got ld,nm,ar,make? - completed successfully.
Executing Rule: ulimits OK? - completed successfully.
Executing Rule: RHEL3 rpms ok? - completed successfully.
Executing Rule: RHEL4 rpms ok? - completed successfully.
Executing Rule: SuSE SLES9 rpms ok? - completed successfully.
Executing Rule: 3006854 installed? - completed successfully.
Executing Rule: ip_local_port_range - completed successfully.
Executing Rule: Tainted Kernel? - completed successfully.
Executing Rule: other OUI up? - completed successfully.
Test "10gr2_rdbms_linux_x86_hcve_031106" executed at Sat Dec 15 21:02:35 2007
Test Results
~~~~~~~~~~~~
ID NAME RESULT C VALUE
===== ==================== ====== = ========================================
10 OS certified? FAILED = sh: line 91: [: too many arguments Su..>
20 User in /etc/passwd? PASSED = userOK
30 Group in /etc/group? PASSED = GroupOK
40 Input ORACLE_HOME RECORD $ORACLE_HOME
50 ORACLE_HOME valid? PASSED = OHexists
60 O_H perms OK? PASSED = CorrectPerms
70 Umask set to 022? PASSED = UmaskOK
80 LDLIBRARYPATH unset? FAILED = IsSet
100 Other O_Hs in PATH? PASSED = NoneFound
110 oraInventory perms PASSED = oraInventoryOK
120 /tmp adequate? PASSED = TempSpaceOK
130 Swap (in Mb) RECORD 8197
140 RAM (in Mb) PASSED > 4909
150 Swap OK? PASSED = SwapToRAMOK
160 Disk Space OK? PASSED = DiskSpaceOK
170 Kernel params OK? PASSED = KernelOK
180 Got ld,nm,ar,make? PASSED = ld_nm_ar_make_found
190 ulimits OK? FAILED = StackTooSmall MaxLockMemTooSmall
204 RHEL3 rpms ok? PASSED = NotRedHat
205 RHEL4 rpms ok? PASSED = NotRedHat
206 SuSE SLES9 rpms ok? PASSED = sh: line 20: [: =: unary operator exp..>
207 3006854 installed? PASSED = NotRHEL3
209 ip_local_port_range FAILED = HighTooLow
210 Tainted Kernel? PASSED = NotVerifiable
220 other OUI up? PASSED = NoOtherOUI -
Linker Error while building files refering to NI-DAQ API
Software: MATLAB 5.3
O/S : Windows 98
C Compiler : Microsoft VC++ 6.0
We are trying to make an executable of an Application involving both of MatLab and C Files
The file SCANsingleBufSync2.c is C program calling National Instruments NI-DAQ API's. This C program is called by displayCnt3.m,a MatLab Program. Both of the files are individually compiled using
mcc -x SCANsingleBufSync2.c, ...
That works fine.
When trying to make a build , using
mcc -B sgl displayCnt3 SCANsingleBufSync2.c
it is throwing the following error.(pl. refer section at end)
Basically it is not able to do Link. The MatLab path has been set to look into the NI-DAQ .dlls
C:\Program Files\National Instruments\Ni-daq\Includes and
C:\Program Files\National Instruments\Ni-daq\Lib
Also the Windows path has been set to the above two directories through the autoexec.bat.
Suggestions Please,
Thanks in advace,
MOHANDAS
� mcc -B sgl displayCnt3 SCANsingleBufSync2.c
SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _DAQ_VScale@40
SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _SCAN_Demux@16
SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _SCAN_Op@40
SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _NIDAQErrorHandler@12
SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _Timeout_Config@8
displayCnt3.obj : error LNK2001: unresolved external symbol _MdisplayCnt3_SCANsingleBufSync2
displayCnt3.exe : fatal error LNK1120: 6 unresolved externals
MBUILD.BAT: Link of 'displayCnt3.exe' failed.
mcc -B sgl displayCnt counter.c
counter.obj : error LNK2001: unresolved external symbol _Select_Signal@16
counter.obj : error LNK2001: unresolved external symbol _GPCTR_Change_Parameter@16
counter.obj : error LNK2001: unresolved external symbol _GPCTR_Set_Application@12
counter.obj : error LNK2001: unresolved external symbol _NIDAQErrorHandler@12
counter.obj : error LNK2001: unresolved external symbol _GPCTR_Control@12
counter.obj : error LNK2001: unresolved external symbol _GPCTR_Config_Buffer@20
counter.obj : error LNK2001: unresolved external symbol _Set_DAQ_Device_Info@12
counter.obj : error LNK2001: unresolved external symbol _NIDAQYield@4
counter.obj : error LNK2001: unresolved external symbol _GPCTR_Read_Buffer@36
displayCnt.exe : fatal error LNK1120: 9 unresolved externals
MBUILD.BAT: Link of 'displayCnt.exe' failed.I'm not very familiar with MATLAB, but you are getting link errors most likely because you aren't linking in the .LIB files for NI-DAQ properly. They are nidaq32.lib and nidex32.lib in the NI-DAQ\lib directory. They need to be linked in with the code to resolve these symbols.
Best Regards,
Chris Matthews
National Instruments -
Link error on 10.1.0.3.0 OS X 10.3.4
while trying to install 10g on an G5 OS X 10.2.4 box, everything runs fine until 87% of linking:
linking dm_on, error message is
ld: /usr/lib/crt1.o relocation overflow for relocation entry 6 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/crt1.o relocation overflow for relocation entry 16 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/crt1.o relocation overflow for relocation entry 31 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 0 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 5 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 14 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 15 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 16 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 17 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 18 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 19 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 20 in section (__TEXT,__text) (displacement too large)
ld: /usr/lib/gcc/darwin/3.3/crt2.o relocation overflow for relocation entry 21 in section (__TEXT,__text) (displacement too large)
make: *** [Volumes/u01/app/oracle/OraHome_1/rdbms/lib/oracle] Error 1
I do not use OS X Server, but my gcc Version is the same (ok, build number is smaler) and my machine meets all required hardware criteria.
Any hint is very appreciated. Do I REALLY need OS X Server?
Thanks, WolfgangCheck and double-check that you have XCode 1.2 installed. (You can also run gcc -v and make sure you have build 1635 or 1640 just to be safe).
-SteveA -
Getting linker error in Visual studio while trying to use class ActiveSelectionObserver
I am trying to implement a selection observer. I am using public specifier to derive from class ActiveSelectionObserver and have included the header file SelectionObserver.h.
But I am getting the below error from linker while trying to do that.
Below is the my code:
class CSDTSelectionObserverImpl : public ActiveSelectionObserver
/* some code here**/
Below is the linker error:
CSDTSelectionObserverImpl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl ActiveSelectionObserver::ActiveSelectionObserver(class IPMUnknown *,class IDType<struct PMIID_tag>)" (__imp_??0ActiveSelectionObserver@@QEAA@PEAVIPMUnknown@@V?$IDType@UPMIID_tag@@@@@Z) referenced in function "public: __cdecl CSDTSelectionObserverImpl::CSDTSelectionObserverImpl(class IPMUnknown *)" (??0CSDTSelectionObserverImpl@@QEAA@PEAVIPMUnknown@@@Z)Thanks Markus, this resolved the issue.
I Included below in properties> linker>input>Additional dependencies
$(ID_SDK_DIR)\build\win\objdx64\WidgetBin.lib
But is there some documentation to get this information? as what all .lib are needed for a particular class etc? -
Linking error while installing Oracle10g on Solaris 10 64bit sparc
Hi,
I am getting following error while installing the Oracle 10g R2 on Solaris 10 64 bit sparc.
/usr/ccs/bin/make -f ins_precomp.mk relink ORACLE_HOME=/data/Oracle/product/10.2.0 EXENAME=proc/Linking /data/Oracle/product/10.2.0/precomp/lib/proc
ld: fatal: file /data/Oracle/product/10.2.0/lib32/libclntsh.so: unknown file type
ld: fatal: File processing errors. No output written to /data/Oracle/product/10.2.0/precomp/lib/proc
*** Error code 1
The following command caused the error:
echo "Linking /data/Oracle/product/10.2.0/precomp/lib/proc"; \
rm -f /data/Oracle/product/10.2.0/precomp/lib/proc; \
/usr/ccs/bin/ld -o /data/Oracle/product/10.2.0/precomp/lib/proc -L/data/Oracle/product/10.2.0/precomp/lib/ -L/data/Oracle/product/10.2.0/lib/ -dy /data/Oracle/product/10.2.0/lib/prod/lib/v9/crti.o /data/Oracle/product/10.2.0/lib/prod/lib/v9/crt1.o /data/Oracle/product/10.2.0/lib/s0main.o /data/Oracle/product/10.2.0/precomp/lib/pdc.o /data/Oracle/product/10.2.0/precomp/lib/pds.o /data/Oracle/product/10.2.0/precomp/lib/libproc2.a /data/Oracle/product/10.2.0/lib/libslax10.a /data/Oracle/product/10.2.0/precomp/lib/libpgp.a -lpls10 -lplp10 /data/Oracle/product/10.2.0/lib/libplc10.a -lsnls10 -lunls10 -lnls10 /data/Oracle/product/10.2.0/rdbms/lib/kpudfo.o -lclntsh `cat /data/Oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /data/Oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /data/Oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /data/Oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lpls10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /data/Oracle/product/10.2.0/lib/sysliblist` -R /opt/SUNWcluster/lib/sparcv9:/data/Oracle/product/10.2.0/lib:/opt/ORCLcluster/l ib/ -Y P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs/lib/sparcv9:/usr /lib/sparcv9 -Qy -lc -laio -lposix4 -lm /data/Oracle/product/10.2.0/lib/prod/lib/v9/crtn.o; \
/bin/chmod 755 /data/Oracle/product/10.2.0/precomp/lib/proc
make: Fatal error: Command failed for target `/data/Oracle/product/10.2.0/precomp/lib/proc'
from make.log
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'relink' of makefile '/data/Oracle/product/10.2.0/precomp/lib/ins_precomp.mk'. See '/data/Oracle/oraInventory/logs/installActions2007-07-01_12-14-33AM.log' for details.
Exception Severity: 1
any help would be appreciated!
Thanks,
-Prakashits working now...I replaced ld on my system
previous ld version was
GNU ld version 2.13.1
Supported emulations:
elf32_sparc
elf64_sparc
now ld version is
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.477 -
3>LIBCMT.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@QAE@ABV01@@Z) already defined in Public.lib(Public.dll)
3>LIBCMT.lib(stdexcpt.obj) : error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ) already defined in Public.lib(Public.dll)
3>msvcrtd.lib(MSVCR80D.dll) : error LNK2005: _wcslen already defined in LIBCMT.lib(wcslen.obj)
In Release model build ok,no error,but in debug model link error! Why?i had resolve this problem. set "code generation"-"mDd",just ok.
-
Link error with installing 11.2.0.3 x64 on Ubuntu 11.10 x64
Hi,
I'm upgrading from 11.2.0.2 to 11.2.0.3 on an Ubuntu 11.10 x64 platform. During the link process of the installation, I kept on encountering a link error which looked
like the following. This error firstly appeared in 'all_no_orcl'. If I clicked continue, this error would pop up when linking for other binaries. They all pointed to libocrb11.so. I could successfully installed 11.2.0.3 on another SUSE platform, but I'm wondering how I can make it work on Ubuntu. Not sure what packages I missed.
Thanks in advance.
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoOpenFile'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreateCtxExt'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoIO'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoFnameMax'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCommit2P'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCheckHdl'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoRenameFile'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoDeleteFile'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCloseFile'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoErrorMessage'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoGetSize'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreateFile'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoOpenDirty'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCheckMount'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoDestroyCtx'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoControl'
/hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreate2P'the problem because of gcc version in 11.10 ubuntu is 4.6, oracle relink need gcc 4.4
if you upgrade from previous version of ubuntu, checked in /usr/bin
ls -ltr gcc*
-rwxr-xr-x 1 root root 349120 2011-09-16 07:31 gcc-4.6
-rwxr-xr-x 1 root root 275952 2011-09-17 03:10 gcc-4.5
-rwxr-xr-x 1 root root 259232 2011-10-05 14:56 gcc-4.4
lrwxrwxrwx 1 root root 7 2011-11-12 07:13 gcc -> gcc-4.6
rm gcc
# ln -s gcc-4.4 gcc
# ls -ltr gcc*
-rwxr-xr-x 1 root root 349120 2011-09-16 07:31 gcc-4.6
-rwxr-xr-x 1 root root 275952 2011-09-17 03:10 gcc-4.5
-rwxr-xr-x 1 root root 259232 2011-10-05 14:56 gcc-4.4
lrwxrwxrwx 1 root root 7 2012-02-01 11:25 gcc -> gcc-4.4
you should be able to relink oracle. -
Unsatisfied Link Error when using Oracle OCI (Type II) driver
Using Oracle OCI (Type II) driver on HPUX with Oracle 9.2.0.4.
If when creating a connection pool via the console, using the Oracle OCI (Type
II) driver, you get the error "Unsatisfied link error with library libocijdbc9.sl
or format error" then check that the library included in the SHLIB_PATH is pointing
at the $ORACLE_HOME/lib32 directory and not just the $ORACL_HOME/libWe do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
do offer a type 4 driver for Linux.
In version 5.1, I suggest trying the platform independent type 4 JDBC driver
available for free from Oracle. It is supported (as is any JDBC driver)
with WebLogic Server. To download it:
Go to http://www.oracle.com and select the "Download" option.
From the resulting page, use the "Select Utility or Driver" dropdown to
select Oracle JDBC drivers
From the resulting page, scroll down a little (since SQLJ stuff appears at
the top).
Or, to go directly there:
http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Michael W. Warren, Sr." <[email protected]> wrote in message
news:[email protected]..
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected]
Maybe you are looking for
-
I have some questions on the PowerON Reuse and Recycling system
My iPhone 5 is in very good codition, and I went through the questions on Apple's website, resulting in a $355.00 evaluation, which I think is quite fair. However, the payment comes in the form of an Apple Gift Card. I'd really like to put that money
-
Creating a new file while standing in finder
Is it possible to tell finder to create an empty file (and assign the right program with it) while NOT opening the program itself? eg. Like `echo "" > filename` or like in windows explorer (rightmouse, create new file). I notice sometimes i'm already
-
Invoice posting with planned delivery cost
Hi all, I want to post an invoice informing the delivery note at MIRO. My PO has a planned cost, although, determining it's information through the option '2 - delivery note', the planned costs are not brought to the line. I can't find a way how to b
-
Dear experts Can we get seperate vendor blocked list. where can we get all the reports relating to purchasing in mm. Thanks & Regards. Erfan. Note : Please search forum before posting,Do not post basic questions,follow forum rules. Edited by
-
How does skype to go work?
hi, i am just wondering how this really works.. i just got this funtion on my skype last night, and i am still trying to understand how this really works... when i use skype to go, the system gave me a number which was supposed to replace the mozambi