octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MSVC Linking Error and where is readline source/patch


From: Eric Carlson
Subject: MSVC Linking Error and where is readline source/patch
Date: Tue, 28 Nov 2006 13:47:30 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hello,

I have been trying to post this request for several days, but I have not seen 
it on the message list yet - so apologoies if this is a repeat.

I have set up msys according to instructions in README.MSVC (although I am 
building without readline because I can not find the source or patch), and can 
successfully get octave.dll and cruft.dll built using MSVC. I get a linking 
error on octinterp, however. Any suggestions on how to clear this error would 
be greatly appreciated. I include a few of the warnings, and the actual link 
error message is at the bottom:

cc-msvc -c -I.  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -
DOCTAVE_DLL -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -EHs -MD 
pathsearch.cc -o pathsearch.o
cl -nologo -c -I. -I. -I.. -I../liboctave -I../src -I../libcruft/misc -
DOCTAVE_DLL -DHAVE_CONFIG_H -Zi -EHs -MD -Tppathsearch.cc -Fopathsearch.o
pathsearch.cc
c:\msys\1.0\bin\octave\liboctave\kpse.cc(244) : warning C4005: '_WINSOCKAPI_' : 
macro redefinition
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 
R2\Include\winsock.h(14) : see previous definition of '_WINSOCKAPI_'


oct-time.cc(51) : warning C4273: 'strftime' : inconsistent dll linkage
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\time.h(185) : see 
previous definition of 'strftime'


(I get the following warning for many files)
spkron.cc
c:\msys\1.0\bin\octave\src\ov-builtin.h(85) : warning C4003: not enough actual 
parameters for macro 'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
c:\msys\1.0\bin\octave\src\ov-dld-fcn.h(90) : warning C4003: not enough actual 
parameters for macro 'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
c:\msys\1.0\bin\octave\src\ov-mapper.h(125) : warning C4003: not enough actual 
parameters for macro 'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'


Array-tc.o : error LNK2005: "class octave_value __cdecl resize_fill_value<class 
octave_value>(class octave_value const 
&)" (address@hidden@@@@YA?AVoctave_value@@ABV0@@Z) already 
defined in oct-stream.o
   Creating library octinterp.lib and object octinterp.exp
octinterp.dll : fatal error LNK1169: one or more multiply defined symbols found





reply via email to

[Prev in Thread] Current Thread [Next in Thread]