[GiDlist] Can't make gidpost.lib file

Moderator: GiD Team

Post Reply
Tong-yue Wu

[GiDlist] Can't make gidpost.lib file

Post by Tong-yue Wu »

Dear members,

I'm a new user of Gid. Recently I would like to make gidpost.lib per the
GiD instruction.
Unfortunately it could not successfully generated.
My computer OS: WinXP with Visual Studio 2010.
I'd run vcvars32.bat prior namake execution. But it still can't work.

The following is the output message:
---------------------------------------------------------------------------------------------------------------------------------------------------------
No configuration specified. Defaulting to Release.
cl.exe /nologo /ML /W3 /GX /O2 /I "..\source" /I ".." /D "WIN32" /D
"VIS
UAL_CPLUSPLUS" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp".\Release\gidpost.pch"
/YX /
Fo".\Release\\" /Fd".\Release\\" /FD /c ..\source\zlibint2.c
'cl.exe' 不是內部或外部命令、
可執行的程式或批次檔。 (cl.exe is not internal or external command, executable program
or batch file)
NMAKE : fatal error U1077: 'cl.exe' : return code '0x1'
Stop.
----------------------------------------------------------------------------------------------------------------------------------------------------------
I will be deeply appreciated, if anyone can help.

Thanks in advance.


=========================
TY WU
=========================
institute of nuclear energy research
tywu at iner.gov.tw
tywuda at gmail.com
=========================
I
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120526/7178256e/attachment.htm
Tong-yue Wu

[GiDlist] GiDlist Digest, Vol 22, Issue 8

Post by Tong-yue Wu »

Dear all members,

I've solved the problem of not being able to make gidpost.lib.
However, I encountered another problem --
the gidpost.lib can't successfully compiled with the example file,
testpostfor.f
The following message was dumped by Compaq fortran:
--------------------Configuration: test - Win32 Debug--------------------
Linking...
dfor.lib(for_init.obj) : warning LNK4078: multiple ".CRT" sections found
with different attributes (C0300040)
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other
libs; use /NODEFAULTLIB:library
gidpost.lib(gidpost.obj) : error LNK2001: unresolved external symbol
___security_cookie
gidpost.lib(gidpostInt.obj) : error LNK2001: unresolved external symbol
___security_cookie
gidpost.lib(zlibint1.obj) : error LNK2001: unresolved external symbol
___security_cookie
gidpost.lib(gidpost.obj) : error LNK2001: unresolved external symbol
___CxxFrameHandler3
gidpost.lib(gidpost.obj) : error LNK2001: unresolved external symbol
@__security_check_cookie at 4
gidpost.lib(gidpostInt.obj) : error LNK2001: unresolved external symbol
@__security_check_cookie at 4
gidpost.lib(zlibint1.obj) : error LNK2001: unresolved external symbol
@__security_check_cookie at 4
Debug/test.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
test.exe - 8 error(s), 2 warning(s)

Any comments will be appreciated. Thanks.

Tung-Yueh Wu

2012/5/26 gidlist-request at listas.cimne.upc.edu

Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. Can't make gidpost.lib file (Tong-yue Wu)


----------------------------------------------------------------------

Message: 1
Date: Sat, 26 May 2012 14:38:04 +0800
From: Tong-yue Wu tywuda at gmail.com
Subject: [GiDlist] Can't make gidpost.lib file
To: gidlist at listas.cimne.upc.edu
Message-ID:
CAPN3_V9mze=ZJsYr5+0bzJzDonvoq38ThaaD4tw=bYs2CiX3Eg at mail.gmail.com

Content-Type: text/plain; charset="big5"

Dear members,

I'm a new user of Gid. Recently I would like to make gidpost.lib per the
GiD instruction.
Unfortunately it could not successfully generated.
My computer OS: WinXP with Visual Studio 2010.
I'd run vcvars32.bat prior namake execution. But it still can't work.

The following is the output message:

---------------------------------------------------------------------------------------------------------------------------------------------------------
No configuration specified. Defaulting to Release.
cl.exe /nologo /ML /W3 /GX /O2 /I "..\source" /I ".." /D "WIN32" /D
"VIS
UAL_CPLUSPLUS" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp".\Release\gidpost.pch"
/YX /
Fo".\Release\\" /Fd".\Release\\" /FD /c ..\source\zlibint2.c
'cl.exe' ??????????
??????????? (cl.exe is not internal or external command, executable program
or batch file)
NMAKE : fatal error U1077: 'cl.exe' : return code '0x1'
Stop.

----------------------------------------------------------------------------------------------------------------------------------------------------------
I will be deeply appreciated, if anyone can help.

Thanks in advance.


=========================
TY WU
=========================
institute of nuclear energy research
tywu at iner.gov.tw
tywuda at gmail.com
=========================
I
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120526/7178256e/attachment-0001.htm

------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 22, Issue 8
**************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120528/88770878/attachment.htm
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] GiDlist Digest, Vol 22, Issue 8

Post by escolano »

If do you have compiled the gidpost.lib library with the flag /GS ("buffer security check") try to recompile the library without this flag.
I recommend you also to compile the multithread non-dll version of the library, to avoid dependencies of MSVCxx runtime dlls
e.g. use /MT instead /MD (C++ - Code Generation - Runtime Library)

and in the fortran project use Fortran - Libraries - runtime library - Multithreaded (maybe these options doesn'i exists in your Compaq compiler, I've tried the Intel Fortran compiler 10.1)

Enrique Escolano

----- Original Message -----
From: Tong-yue Wu
To: gidlist at listas.cimne.upc.edu
Sent: Monday, May 28, 2012 9:14 AM
Subject: Re: [GiDlist] GiDlist Digest, Vol 22, Issue 8


Dear all members,


I've solved the problem of not being able to make gidpost.lib.
However, I encountered another problem --
the gidpost.lib can't successfully compiled with the example file, testpostfor.f
The following message was dumped by Compaq fortran:
--------------------Configuration: test - Win32 Debug--------------------
Linking...
dfor.lib(for_init.obj) : warning LNK4078: multiple ".CRT" sections found with different attributes (C0300040)
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
gidpost.lib(gidpost.obj) : error LNK2001: unresolved external symbol ___security_cookie
gidpost.lib(gidpostInt.obj) : error LNK2001: unresolved external symbol ___security_cookie
gidpost.lib(zlibint1.obj) : error LNK2001: unresolved external symbol ___security_cookie
gidpost.lib(gidpost.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler3
gidpost.lib(gidpost.obj) : error LNK2001: unresolved external symbol @__security_check_cookie at 4
gidpost.lib(gidpostInt.obj) : error LNK2001: unresolved external symbol @__security_check_cookie at 4
gidpost.lib(zlibint1.obj) : error LNK2001: unresolved external symbol @__security_check_cookie at 4
Debug/test.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
test.exe - 8 error(s), 2 warning(s)


Any comments will be appreciated. Thanks.


Tung-Yueh Wu


2012/5/26 gidlist-request at listas.cimne.upc.edu

Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. Can't make gidpost.lib file (Tong-yue Wu)


----------------------------------------------------------------------

Message: 1
Date: Sat, 26 May 2012 14:38:04 +0800
From: Tong-yue Wu tywuda at gmail.com
Subject: [GiDlist] Can't make gidpost.lib file
To: gidlist at listas.cimne.upc.edu
Message-ID:
CAPN3_V9mze=ZJsYr5+0bzJzDonvoq38ThaaD4tw=bYs2CiX3Eg at mail.gmail.com
Content-Type: text/plain; charset="big5"

Dear members,

I'm a new user of Gid. Recently I would like to make gidpost.lib per the
GiD instruction.
Unfortunately it could not successfully generated.
My computer OS: WinXP with Visual Studio 2010.
I'd run vcvars32.bat prior namake execution. But it still can't work.

The following is the output message:
---------------------------------------------------------------------------------------------------------------------------------------------------------
No configuration specified. Defaulting to Release.
cl.exe /nologo /ML /W3 /GX /O2 /I "..\source" /I ".." /D "WIN32" /D
"VIS
UAL_CPLUSPLUS" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp".\Release\gidpost.pch"
/YX /
Fo".\Release\\" /Fd".\Release\\" /FD /c ..\source\zlibint2.c
'cl.exe' ??????????
??????????? (cl.exe is not internal or external command, executable program
or batch file)
NMAKE : fatal error U1077: 'cl.exe' : return code '0x1'
Stop.
----------------------------------------------------------------------------------------------------------------------------------------------------------
I will be deeply appreciated, if anyone can help.

Thanks in advance.


=========================
TY WU
=========================
institute of nuclear energy research
tywu at iner.gov.tw
tywuda at gmail.com
=========================
I
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120526/7178256e/attachment-0001.htm

------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 22, Issue 8
**************************************





------------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120529/a9ae27bd/attachment.htm
Post Reply