I am getting an linker error LNK2001 : unresolved symbol _main while compiling Microsoft c code
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 error
Hello-
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
Similar Messages
-
Hi, I have a working project that has a few classes using the NI5411 APIs and now I want to use CNiFgen classes. After adding Core Components(Advanced Analysis, Common) and NI Device Instrument Drivers(NiFgen) from the Measurement Studio Components Wizard. Even when I try to make an object of CNiFgen(CNiFgen cnf I get the following error:
--------------------Configuration: puzzle - Win32 Debug--------------------
Linking...
NiFgenInterfaceD.lib(NiFgenImpl.obj) : error LNK2001: unresolved external symbol _niFgen_SendSoftwareTrigger@4
Output/puzzle.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
puzzle.exe
- 2 error(s), 0 warning(s)
My APIs version is working fine and so are these CNiFgen classes(I have tried then for a dummy project). But, things start getting nasty when I try to integrate them.
Regards,
Vaibhav.It looks like you have a typical linking error in VC++. Have you made sure that all of the necessary .lib files are properly linked to?
Also, are you passing any data between your custom classes and the niFGEN classes? These will take different data types unless you have already type cast all of them to work properly together. If they don't share variables, you should be okay.
Jack Arnold
Application Engineer
National Instruments -
On a newly installed compiler, Visual Studio 2013, I get some linker error:
Sample program (for test):
#include <stdio.h>
int main ()
printf("Help");
return 0;
I get some linker errors:
Error 2 error LNK2001: unresolved external symbol __imp_printf F:\ug_info\indices\Project1\Project1\Source.obj Project1
Error 1 error LNK2001: unresolved external symbol __security_check_cookie F:\ug_info\indices\Project1\Project1\Source.obj Project1
Error 3 error LNK2001: unresolved external symbol mainCRTStartup F:\ug_info\indices\Project1\Project1\LINK Project1
I thinks there is a configuration issue..
Any suggestions?Hi Camiel.Rys,
Thanks for posting in MSDN forum.
Error 3 error LNK2001: unresolved external symbol mainCRTStartup F:\ug_info\indices\Project1\Project1\LINK Project1
I would guess that you may create a wrong project template. Could you try to create a new Win32 Console project following this document?
Walkthrough: Creating a Win32 Console Program (C++)
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Linking errors (LNK2001) for NIDAQ functions such as _NIDAQErrorHandler@12
I am getting linking errors (LNK2001) when I try to build any of the C++ EXAMPLES that came with my NI PCI6052E (for instance AOonePoint.C). I think I've included all the necessary libs in my project but I can't get past the linker (I'm using MS VC++ 6.0) and the actual errors read something like:
Linking...
AOonePoint.obj : error LNK2001: unresolved external symbol _NIDAQErrorHandler@12
AOonePoint.obj : error LNK2001: unresolved external symbol _AO_VWrite@16
AOonePoint.obj : error LNK2001: unresolved external symbol _NIDAQWaitForKey@8
Debug/AOonePoint.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
thanks for your help!You will need to add two library files to your project. To do this, select 'Project' from VC++ menu bar, then 'Add to Project' >> Files. Then follow this path to the files.
/Program Files/National Instruments/NI-DAQ/Lib
You will have to change 'Files of Type' to 'All Files.'
The two files to add are nidaq32.lib and nidex32.lib.
Brian -
Getting Linker Error in VC for Pro*C Compiled file
Although i've included the orasql8.lib and orasqx8.lib , even
i've tried it out with sqllib18.lib but still getting the same
error.....if anyone here can solve out the problem will be great
for me.....please help ASAP.....
Pro*C is compiling the .pc file to .cpp but error is coming
while liking in vc++...
VC6.0 and Pro*C Ver 8.1.6.0.0
Linking...
Oracle.obj : error LNK2001: unresolved external symbol "void
__cdecl sqlcxt(void * *,unsigned long *,struct sqlexd *,struct
sqlcxp const *)" (?sqlcxt@@YAXPAPAXPAKPAUsqlexd@@PBUsqlcxp@@@Z)
Debug/Access.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Access.exe - 2 error(s), 0 warning(s)I am having the same problem. COuld anybody help?
-
Gettling linker error:LNK2001 while porting InDesign CS6 plugin code to InDesign CC plugin
Hello,
I am working on porting our existing InDesign CS6 plugin code to support InDesign CC plugin (client plugin on Windows platform)
The plugin code gets compiled successfully after makeing neccessory code (API) changes but now gettling following linker error
StackListBoxTVWidgetMgr.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall NodeID::GetNodeType(void)const " (__imp_?GetNodeType@NodeID@@QBEJXZ)
IBClientPluginDialogController.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetEH::AddRef(void)const " (?AddRef@DVHostedWidgetEH@@UBEXXZ)
I have checked every configuration setting, all the paths to include headers and static libraries are pointing to InDesign CC SDK.
Note : Getting these linker errors in all the UI component class objects where following interfaces are inherited :
CTreeViewWidgetMgr
CIDEditBoxEventHandler
etc.
Build Environment : Windows 7 ultimate + Visual Studio 2010 SP1 + InDesign CC Products SDK Build 244Try including DV_WidgetBin.lib.
-
HI
What is the reason for getting this error shown below
library_name(Object file):error LNK2001:unresilved external symbol_library_function_name
Thanks In advanceHi Prabin C A,
>>library_name(Object file):error LNK2001:unresilved external symbol_library_function_name.
There are several possible reasons generating this error message.
For example, the VS project properties settings issue or the symbol is spelled incorrectly or you are using mixed versions of the libraries, some from one version of the product, others from another version or others.
Reference:
https://msdn.microsoft.com/en-us/library/f6xx1b1z.aspx?f=255&MSPPError=-2147217396
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Getting bug error while compiling object binding code in javaFX
I am new to javaFX and exploring it from just last two days.
today i tried a simple binding object example and got weird exception about bug.
i created a simple file with name Calculator.fx having just one line public var result=1;and used object binding in another file Customer.fx with following code
var myStreet=21;
var address= bind Calculator{
result:myStreet;
println({address.result});i got following output error
init:
deps-jar:
Note: An internal error has occurred in the OpenJFX compiler. Please file a bug at the
Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues)
after checking for duplicates. Include in your report:
- the following diagnostics
- file C:\Users\omnidoc\AppData\Local\Temp\javafx_err_59993.txt
- and if possible, the source file which triggered this problem.
Thank you.
C:\cc_storage\Caculator\src\Customer.fx:3: cannot find symbol
symbol : variable VOFF$result
location: class Calculator
def address= bind Calculator{
1 error
ERROR: javafxc execution failed, exit code: 1
C:\cc_storage\Caculator\nbproject\build-impl.xml:143: exec returned: -1
BUILD FAILED (total time: 2 seconds)Am i doing something wrong or is it really a bug.
Also can anyone tell me how to do object binding in javaFX.
thanks
chauhanchauhan2003 wrote:
Am i doing something wrong or is it really a bug.When you get such error, that's both: you made a mistake (and at least you get a generally helpful message about it) but the compiler is bugging out and crashing... -
Hi everybody,
Currently trying to compile/build the existing Plugin code (C++) with InDesign CS4 SDK on my Mac OS X 10.5 machine but getting following strange errors.
/Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:26:27: error: MemoryStatics.h: No such file or directory
/Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:39:30: error: PluginBuildFlags.h: No such file or directory
/Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:40:28: error: AnsiBasedTypes.h: No such file or directory
/Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:41:26: error: ShukHeaders.cp: No such file or directory
Though above mentioned files are present at the following directory
/Volumes/../../../Adobe InDesign CS4 SDK/source/precomp/common/
Note : However initially I did not find “MemoryStatics.h” and “AnsiBasedTypes.h” files in the installed SDK directory. I have downloaded them from the net and copied those into the above mentioned directory.
I am not much familiar with Mac OS environment and compiling/building C++ code with Xcode. Can anyone help me to resolve this issue (might be very trivial and related to Xcode project configuration) ?Thanks for the quick response,
Yes, current build settings include path shortcuts as mentioned below and it also contains “$(CS_SDK_PATH)/source/public/includes” path in HEADER_SEARCH_PATHS settings. But still I am getting the same error: MemoryStatics.h: No such file or directory
CS_SDK_PATH= /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK
CS_SDK_PRJ_PATH=/Volumes/MAC Extended/Inbetween Extended/Visual Studio/InBetweenDev/Projects/InBetweenCS/IBClientPluginCS3/prjCS4/mac
Just for clarification : my Plugin code /project files are not inside the InDesign SDK (build/mac/prj). All the plugin project is outside of the InDesign SDK directory. Thus above mentioned CS_SDK_PATH and CS_SDK_PRJ_PATH are completely different.
Is it expected that the plugin code/project files should be inside the InDesign SDK/build/mac/prj directory only ? or is it okay if we put it in the completely another directory structure and modify the SDK_PRJ_PATH accordingly (as in my case) ?
Please let me know if you want me to elaborate the situation further. -
I just recently did an itunes update on my Windows Vista 64 and have been getting a runtime C++ R0634 error ever since. Per microsoft forum discussions, I have removed everything apple on my computer to get this runtime error to stop. When I tried to remove and reinstall itunes, I get an error message during installation and to try again. Has just become a cycle. Apple, are you working on this?
I have exactly the same problem. Got update notice from Apple for iTunes and getting the C++ runtime error R0634 ever since. I have no clue how to fix it....meantime, I can't even pull up Outlook to check email. HELP!!
ksware -
Hi ,
We are migrating from oracle 10gR2 on AIX 5.3 to oracle 11gR2 on AIX 6.1 (64bit Kernal) . As pat of this , we need to migrate all the pro*c codes and for that we are trying to complie those files on the new server . But while compiling , we are getting error as :
*1586-119 (U) The 32-bit file "/lib/crt0_64.o" is being linked in 64-bit mode, or vice versa.*
We have only one library in $ORACLE_HOME which is lib..Lib32 is not present .
Could you please help me in resolving this error ?
The details , that I feel will be helpful ,is provided below :
COMP_PROC ]>echo $ORACLE_HOME
*/data/oracle/product/11.2.0.2*
*/COMP_PROC ]>echo $LD_LIBRARY_PATH*
*/data/oracle/product/11.2.0.2/lib*
COMP_PROC ]>echo $LIBPATH
*/data/oracle/product/11.2.0.2/lib*
COMP_PROC ]>echo $PATH
*/data/oracle/product/11.2.0.2:/data/oracle/product/11.2.0.2/bin:/applications/tf3/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/bin:.::/dbjobs/utils/adsm:.:/applications/tf3/bin:/applications/tf3/bin/ctm/source:/usr/vac/bin:/applications/tf3/bin:/usr/lib:/tshome/tfapp:/tshome/tfapp/app/genio::/tshome/tfapp/app/genio/odbc:/tshome/tfapp/app/genio/odbc/lib:/data/oracle/product/11.2.0.2/lib:/data/oracle/product/11.2.0.2/bin:/tshome/tf01/:/usr/bin:/etc:/usr/sbin:/usr/ucb:/tshome/tfapp/bin:/usr/bin/X11:/sbin*
Compiler version :
COMP_PROC ]>cc -v
exec: /usr/bin/pg(/usr/bin/pg,/usr/vac/exe/default_msg/vac.help,NULL)
C for AIX Compiler, Version 6
os version :
COMP_PROC ]>uname -a
AIX 1 6 00F6249E4C00
Make file :
# File : makeheader.h #
# Description : #
# The target 'build' puts together an executable $(EXE) from the .o files
# in $(OBJS) and the libraries in $(PROLDLIBS). It is used to build the
# c sample programs. The rules to make .o files from .c and .pc files are
# later in this file.
# ($(PROLDLIBS) includes the client shared library, and $(STATICPROLDLIBS) does
# not.)
# Here are some rules for converting .pc -> .c -> .o and for .typ -> .h.
# If proc needs to find .h files, it should find the same .h files that the
# c compiler finds. We use a macro named INCLUDE to hadle that. The general
# format of the INCLUDE macro is
# INCLUDE= $(I_SYM)dir1 $(I_SYM)dir2 ...
# Normally, I_SYM=-I, for the c compiler. However, we have a special target,
# pc1, which calls $(PROC) with various arguments, include $(INCLUDE). It
# is used like this:
# $(MAKE) -f $(MAKEFILE) <more args to make> I_SYM=include= pc1
# This is used for some of $(SAMPLES) and for $(OBJECT_SAMPLE).
USERID=xxxxx/yyyyy@zzzzzzz
SHELL=/bin/ksh
MQMLIBS=/usr/lpp/mqm/lib/libmqm.a
MQMCLIENTLIBS=/usr/lpp/mqm/lib/libmqic.a
#MQMLIBS=/pvcs/compile/proc/libmqm.a
CONVLIBS=/usr/lib/libiconv.a
NETWORKHOME=$(ORACLE_HOME)/network/
PLSQLHOME=$(ORACLE_HOME)/plsql/
#INCLUDE=$(I_SYM). $(I_SYM)$(PRECOMPHOME)public $(I_SYM)$(RDBMSHOME)public $(I_SYM)$(RDBMSHOME)demo $(I_SYM)$(PLSQLHOME)public $(I_SYM)$(NETWORKHOME)public
I_SYM=-I
AS_EXT=s
LIB_EXT=a
OBJ_EXT=o
PLB_EXT=plb
SO_EXT=so
LOCK_EXT=lk
SQL_EXT=sql
SYM_EXT=sym
LIB_PREFIX=lib
LDLIBFLAG=-l
LDPATHFLAG=-L
AS=as
AWK=awk
CAT=cat
CC=/usr/vac/bin/cc
CD=cd
CHMOD=chmod
CP=cp
CPP=cpp
DATE=date
ECHO=echo
ECHON=echo -n
EXEC=exec
FIND=find
FOLLOW=-follow
NOLEAF=-noleaf
GREP=grep
KILL=kill
SLEEP=sleep
LD=ld
LMAKE=make
LN=ln
LNS=ln -s
MKDIR=mkdir
MKDIRP=mkdir -p
MV=mv
NM=nm
PERL=perl
RM=rm
RMF=rm -f
RMRF=rm -rf
SED=sed
SORT=sort
TOUCH=touch
XARGS=xargs
LS=ls
SPFLAGS=
MATHLIB=-lm
LOCALLIBS=
OPTIMIZE=-O5
OTHERLIBS = `cat $(ORACLE_HOME)/lib/sysliblist`
CCFLAGS= -g
SO=a
LLIBTHREAD=-lpthreads
EXOSLIBS=
LIBBSD=
SECLIBS=
M6LIBS=
LIBHOME=$(ORACLE_HOME)/lib
VER =11
BASENAME =n
NETWORKHOME = $(ORACLE_HOME)/network/
NETWORKLIB = $(NETWORKHOME)lib/
RONAME=${BASENAME}ro${VER}
PFLAGS=
PFLAGS= $(INCLUDE) $(SPFLAGS) $(LPFLAGS)
RDBMS_VERSION = 11
LIBSERVERNAME=server$(RDBMS_VERSION)
LIBSERVER=$(LIBHOME)$(LIB_PREFIX)$(LIBSERVERNAME).$(LIB_EXT)
LLIBSERVER=$(LDLIBFLAG)$(LIBSERVERNAME)$(LIB_SUFFIX)
LIBCLIENTNAME=client$(RDBMS_VERSION)
LIBCLIENT=$(LIBHOME)$(LIB_PREFIX)$(LIBCLIENTNAME).$(LIB_EXT)
LLIBCLIENT=$(LDLIBFLAG)$(LIBCLIENTNAME)
LIBGENERICNAME=generic$(RDBMS_VERSION)
LIBGENERIC=$(LIBHOME)$(LIB_PREFIX)$(LIBGENERICNAME).$(LIB_EXT)
LLIBGENERIC=$(LDLIBFLAG)$(LIBGENERICNAME)
LIBDSBTSHNAME=dsbtsh$(RDBMS_VERSION)
LIBDSBTSH=$(RDBMSLIB)$(LIB_PREFIX)$(LIBDSBTSHNAME).$(SO_EXT)
LIBSKGXPNAME=skgxp$(RDBMS_VERSION)
LIBSKGXP=$(LIBHOME)$(LIB_PREFIX)$(LIBSKGXPNAME).$(SKGXP_EXT)
LLIBSKGXP=$(LDLIBFLAG)$(LIBSKGXPNAME)
LIBCOMMONNAME=common$(RDBMS_VERSION)
LIBCOMMON=$(LIBHOME)$(LIB_PREFIX)$(LIBCOMMONNAME).$(LIB_EXT)
LLIBCOMMON=$(LDLIBFLAG)$(LIBCOMMONNAME)
LIBVSNNAME=vsn$(RDBMS_VERSION)
LIBVSN=$(LIBHOME)$(LIB_PREFIX)$(LIBVSNNAME).$(LIB_EXT)
LLIBVSN=$(LDLIBFLAG)$(LIBVSNNAME)
LIBAGENTNAME=agent$(RDBMS_VERSION)
LIBAGENT=$(LIBHOME)$(LIB_PREFIX)$(LIBAGENTNAME).$(LIB_EXT)
LLIBAGENT=$(LDLIBFLAG)$(LIBAGENTNAME)
LIBDBTOOLSNAME=dbtools$(RDBMS_VERSION)
LIBDBTOOLS=$(RDBMSLIB)$(LIB_PREFIX)$(LIBDBTOOLSNAME).$(LIB_EXT)
#DEF_ON= $(RDBMSLIB)kpudfo.$(OBJ_EXT)
#DEF_OFF= $(RDBMSLIB)kpundf.$(OBJ_EXT)
#DEF_OPT= $(RDBMSLIB)defopt.$(OBJ_EXT)
LIBSLAXNAME=slax8
LIBSLAX=$(LIBHOME)$(LIB_PREFIX)$(LIBSLAXNAME).$(LIB_EXT)
LLIBSLAX=$(LDLIBFLAG)$(LIBSLAXNAME)
LIBSQLNAME=sql11
LIBSQL=$(LIBHOME)/$(LIB_PREFIX)$(LIBSQLNAME).$(LIB_EXT)
LLIBSQL=$(LDLIBFLAG)$(LIBSQLNAME)
#SCOREPT = $(LIBHOME)/scorept.$(OBJ_EXT)
#SSCOREED = $(LIBHOME)/sscoreed.$(OBJ_EXT)
LIBORA=$(LIBCLIENT) $(LIBCOMMON) $(LIBGENERIC)
LLIBORA=$(LLIBCLIENT) $(LLIBCOMMON) $(LLIBGENERIC)
LIBSQLNET = $(LDFLAGSLIST) $(ANOLIBD) $(PROTOCOLLIBD) $(NATIVELIBD) $(NATIVESYSLIBD) $(LIBNETWORK) $(LIBNL)
LLIBSQLNET = $(LDFLAGSLIST) $(ANOLIBS) $(PROTOCOLLIBS) $(NATIVELIBS) $(NATIVESYSLIBS) $(LLIBNETWORK) $(LLIBNL)
LIBRPC = $(LIBHOME)$(LIB_PREFIX)$(RONAME).$(LIB_EXT)
LLIBRPC = $(LDLIBFLAG)$(RONAME)
NETLIBS = $(LLIBSQLNET) $(LLIBRPC) $(LLIBSQLNET)
NETLIBD = $(LIBSQLNET) $(LIBRPC)
LDFLAGSFILE=$(NETWORKLIB)ldflags
LDFLAGSLIST=`$(CAT) $(LDFLAGSFILE)`
LDFLAGSLIST=
LIBNLSRTLNAME = nls11
LIBNLSRTL= $(LIBHOME)$(LIB_PREFIX)$(LIBNLSRTLNAME).$(LIB_EXT)
LLIBNLSRTL= $(LDLIBFLAG)$(LIBNLSRTLNAME)$(LIB_SUFFIX)
CORE_LIB_VER = 11
CORE_LIB_NAME = core
LIBCORE = $(LIBHOME)$(LIB_PREFIX)$(CORE_LIB_NAME)$(CORE_LIB_VER).$(LIB_EXT)
LLIBCORE = $(LDLIBFLAG)$(CORE_LIB_NAME)$(CORE_LIB_VER)
RDBMSHOME=$(ORACLE_HOME)/rdbms/
RDBMSLIB=$(RDBMSHOME)lib/
RDBMSADMIN=$(RDBMSHOME)admin/
LIBCLNTSHNAME=clntsh
LIBCLNTSH=$(LIBHOME)$(LIB_PREFIX)$(LIBCLNTSHNAME).$(SO_EXT)
LLIBCLNTSH=$(LDLIBFLAG)$(LIBCLNTSHNAME)
LIBAGTSHNAME=agtsh
LIBAGTSH=$(LIBHOME)$(LIB_PREFIX)$(LIBAGTSHNAME).$(SO_EXT)
LLIBAGTSH=$(LDLIBFLAG)$(LIBAGTSHNAME)
LIBKNLOPTNAME=knlopt
LIBKNLOPT=$(RDBMSLIB)$(LIB_PREFIX)$(LIBKNLOPTNAME).$(LIB_EXT)
LLIBKNLOPT=$(LDLIBFLAG)$(LIBKNLOPTNAME)
#LIBTRACENAME=trace9
#LIBTRACE=$(LIBHOME)$(LIB_PREFIX)$(LIBTRACENAME).$(LIB_EXT)
#LLIBTRACE=$(LDLIBFLAG)$(LIBTRACENAME)$(LIB_SUFFIX)
#LIBEPC=$(LIBHOME)$(LIB_PREFIX)$(LIBTRACENAME).$(LIB_EXT)
#LLIBEPC=$(LDLIBFLAG)$(LIBTRACENAME)$(LIB_SUFFIX)
CORELIBS = $(LLIBNLSRTL) $(LLIBCV6) $(LLIBCORE) $(LLIBNLSRTL) $(LLIBCORE) \
$(LLIBNLSRTL)
OTHERLIBS=`cat $(ORACLE_HOME)/lib/sysliblist`
DEVTTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
$(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) `cat $(ORACLE_HOME)/lib/sysliblist` $(MATHLIB)
CC=/usr/vac/bin/cc
PCC=proc
PROC=proc CODE=ANSI_C define=_64BIT_ define=_IBM_C define=_LONG_LONG sqlcheck=full userid=$(USERID) oraca=yes mode=oracle unsafe_null=yes dbms=v8
PCCINCLUDE=include=$(ORACLE_HOME)/precomp/lib
PCCFLAGS=$(PCCINCLUDE) sqlcheck=full ltype=none parse=full userid=$(USERID) lines=yes unsafe_null=yes dbms=v8
CFLAGS= $(GFLAG) -qmaxmem=8192 $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS) -L$(LIBHOME)
ECHO=
STATICPROLDLIBS=$(LLIBCLIENT) $(LIBSQL) $(SCOREPT) $(SSCOREED) $(DEF_ON) $(DEVTTLIBS) $(LLIBTHREAD)
PROLDLIBS=$(LLIBCLNTSH) $(STATICPROLDLIBS)
Tail of make.log :
[applications/tf3/bin/COMP_PROC ]>echo $ORACLE_HOME
/data/oracle/product/11.2.0.2
[applications/tf3/bin/COMP_PROC ]>cd $ORACLE_HOME
[data/oracle/product/11.2.0.2 ]>cd install
[data/oracle/product/11.2.0.2/install ]>tail -15 make.log
mv: cannot rename /data/oracle/product/11.2.0.2/bin/nmo to /data/oracle/product/11.2.0.2/bin/nmo0:
No such file or directory
mv /data/oracle/product/11.2.0.2/sysman/lib/nmo /data/oracle/product/11.2.0.2/bin/
make: The error code from the last command is 1.
make: Ignored error code 1 from last command.
/bin/make -f /data/oracle/product/11.2.0.2/sysman/lib/ins_emagent.mk relink_exe EXENAME=nmhs
ld -b64 -o /data/oracle/product/11.2.0.2/sysman/lib/nmhs -L/data/oracle/product/11.2.0.2/lib/ -L/data/oracle/product/11.2.0.2/sysman/lib/ -lld -lm `cat /data/oracle/product/11.2.0.2/lib/sysliblist` -lm /data/oracle/product/11.2.0.2/sysman/lib/s0nmhs.o -lnmhs -lcore11 -lld -lm `cat /data/oracle/product/11.2.0.2/lib/sysliblist` -lm
rm -f /data/oracle/product/11.2.0.2/bin/nmhs.0
cp /data/oracle/product/11.2.0.2/sysman/lib/nmhs /data/oracle/product/11.2.0.2/bin/nmhs.0
mv -f /data/oracle/product/11.2.0.2/bin/nmhs /data/oracle/product/11.2.0.2/bin/nmhs0
mv: cannot rename /data/oracle/product/11.2.0.2/bin/nmhs to /data/oracle/product/11.2.0.2/bin/nmhs0:
No such file or directory
make: The error code from the last command is 1.
make: Ignored error code 1 from last command.
mv /data/oracle/product/11.2.0.2/sysman/lib/nmhs /data/oracle/product/11.2.0.2/bin/
Edited by: Minu on Dec 3, 2011 12:36 AMApparently you are trying to mix 32-bit code and 64-bit code. You must ensure that the 32-bit or 64-bit option is used consistently on every command, compiling and linking. The form of the option can depend on the version of the C compiler you are using, and whether you are on an x86 or sparc system. Consult the Pro*C and C compiler documentation.
-
Getting a link error only in Firefox, not Chrome and not IE
I'm not the best at coding and I can't figure out why this link works in Chrome, and works in IE, but not Firefox, when you click on the coupon it gets an error. Any idea why??
[http://www.myvalleydining.com/index.php?page=descriptions&id=70 http://www.myvalleydining.com/index.php?page=descriptions&id=70]You forgot a closing ">" in that DIV:
<pre><nowiki><div class='restIcon'
<a href='public/coupon-template.php?id=70&code=' onclick='OpenPopup(this.href); return false'>
<img src='../images/coupon.gif' width='50' height='50' border='0'/>
<label>Coupon</label>
</a>
</div>
</nowiki></pre>
Firefox seems to make this of it if I inspect that element via the right-click context menu.
<pre><nowiki><div onclick="OpenPopup(this.href); return false" href="public/coupon-template.php?id=70&code=" <a="" class="restIcon"><img width="50" height="50" border="0" src="../images/coupon.gif"/><label>Coupon</label>
</div>
</nowiki></pre> -
They get 'Missing Links' error messages ... Why?
I created a piece of Artwork (probably best done in Indesign, but Illy is my preferred), and sent it to the publisher.
I placed images in the document. I 'Saved As' and choose PDF, and made sure I had the Embedded images option ticked.
They are using CS4 and I'm using CS so its not that I'm going backwards (then I'd use export).
So, my question is, why are they getting this error message (I realise it is because they are missing the links, and don't have the images)? Other than sending them all the images/logos is there another solution?
My specs: Windows XP Pro, Illy CS.
ThanksThanks tman69 & Wade,
I've managed to speak to the printing company and sorted it all out. It was a combination of her trying to view the letter outlines on the raster images as the file has both raster images and vector images in it. So, she could see the outline of the vector ones but not the others.
Wade, now that I've read your post I think I mis understood you. I had created another version when saving it. I have no issues with disk size so didn't even take that into account (I should read more closely). I have sent them both the original file, and the new saved as file.
Fortunately this is now fixed.
Thanks -
Solaris link error - cout undefined symbol
I am using the Forte 6 C++ compiler, but instead of using the built-in roguewave STL library I am using STLPort 4.5.1 for performance reasons. If I compile my application using the roguewave STL it links ok, but when I use the STLPort I received an undefined symbol for cout.
Ideas how I can get around this?
Thanks,
SeanAre you sure you posted the entire output of the linker? It doesn't look like you have.
The error you posted is:
Undefined first referenced
symbol in file
ISymbolTable::__
It then goes on to state that the file that needs this symbol (the file that first references this missing symbol) is /lib/cxx//libMyBusinessObjects.so.
Now, what I don't get is the symbol itself. what is ISymbolTable::__ ? That's just plain whacky.
Is libMyBusinessObjects.so your library?
Anyhow, to fix these types of errors, it is typically an issue of adding another lib or .o to you link list in the Makefile. But, first, you have to make sense of the symbol that is "missing".
If you provide more data, it might help in resolving this...
-- jrj -
Why Did I Get A Activation Error On My New Ipad While Setting Up
On my new iOS 7.1.2 iPad While Setting Up It Said:
Activation Error
This device is not registered as part of the iPad Developer Program. If you are
a member of the iPad Developer Program, please register your device in the iPad
Developer Program Portal at http://developer.apple.com/ios
So then i checked the link and it said to join i have to pay 99$/per year
I don't have that money so i can't join or use my iPad now.
is there anything I can do???
PLEEEEEEEEEEEEEEASSSSSEEEEEEEEEEEEEEWhere did you get this iPad from? Sounds like it's running a beta version of iOS (presently iOS 8). Connect it to iTunes on a computer and restore it: http://support.apple.com/kb/HT1414.
Maybe you are looking for
-
Strange error message when I tried to use the "collaborate" function under "File"
Has anyone else met this before? : I am trying to share my project with my team members. Tried File -> Collaborate and then try three options under it. Non e of them works. It asks for your Adobe ID in order to sign in and upload. However, every time
-
So does Photoshop elements 13 require Win 7 or will it work with XP64 bit
So does Photoshop Elements 13 require Win 7 or will it work with XP64 bit
-
I added music to a set of clips but want to stop the music there and have no music in the rest of the movie. How do I do that?
-
GRC V10: BRFplus rule transport
Hi experts, how is it possible to transport a brfplus rule. we generate a function module via SE37 and afterwards the rule. Are the decision table and all brfplus rule settings in the transport of the function module? Or should I transport the rule a
-
Bootcamp or Virtual software for Windows 7 ?
Hello all, For a number of years I have used either Parallels, and the last few years --- Sun Virtual Machine to run W2K Professional and XP Professional on my Mac Core2Duo with 3 GB memory -- all has worked great. Now -- I want to get some experienc