forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Linker Warnig
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Fri Jun 23, 2006 1:57 am    Post subject: Linker Warnig Reply with quote


When building a little project I get the following linker warning :

Compilation completed with no errors
Linking...
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef

What does this mean ?

Klaus
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Fri Jun 23, 2006 2:57 am    Post subject: Linker Warnig Reply with quote

Klaus

If you are using a project in either Plato or Visual Studio then you may have an invalid expression in your Project Properties ->Linker Options ->Linker Options ->Extra linker options.

Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Fri Jun 23, 2006 3:07 am    Post subject: Linker Warnig Reply with quote

Paul

I have no linker options specified.
All linker options are blank

Klaus
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Fri Jun 23, 2006 5:29 am    Post subject: Linker Warnig Reply with quote

Klaus

Try creating another new project without changing any of the Project properties.

Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Fri Jan 12, 2007 12:57 pm    Post subject: Reply with quote

Hi
I am doing now another projekt and again I get this linker warnings.
( Plato V 3.41 + Winteracter )

Compilation completed with no errors.
Linking...
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
WARNING - Don't understand: undefundef
Creating executable: CheckMate\Win32\MeroKK.exe
Linking completed.

The numbers of warnings ( here =6) is identical with the numbers of Source files.
I have no linker options set.

Any idea what the reason could be ?

Klaus
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Fri Jan 12, 2007 7:16 pm    Post subject: Reply with quote

Can you post a listing of your project.ftn95p file?
Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Fri Jan 12, 2007 9:37 pm    Post subject: Reply with quote

OK, here it is:


"General"
{
"ProjectIdGuid" = ""
"CurrentConfig" = "CheckMate|Win32"
}
"Configurations"
{
"CheckMate|.NET"
{
"Windows" = "No"
"SealedClass" = "No"
"ContainingClass" = ""
"Version" = ""
"Stack_NET" = ""
"Map" = ""
"Silent" = "No"
"Base" = ""
"Exportall" = "No"
"Heap" = ""
"MultiThreaded" = "No"
"Extras" = ""
"VirtualCommon" = ""
"InterfaceOnly" = "No"
"NoLink" = "No"
"DebugInfo" = "No"
"Check" = "No"
"Undef" = "No"
"CheckMate" = "Yes"
"FullDebug" = "No"
"BoundsCheck" = "No"
"DebugSource" = "No"
"Overflow" = "No"
"Profile" = "No"
"QuickBounds" = "No"
"Runtrace" = "No"
"SuppressArgCheck" = "No"
"Timing" = "No"
"Underflow" = "No"
"Optimise" = "No"
"P6" = "No"
"UnrollLimit" = ""
"DefintKind" = ""
"DeflogKind" = ""
"DefrealKind" = ""
"Iso" = "No"
"Save" = "No"
"Zeroise" = "No"
"AllowRecursion" = "No"
"Dclvar" = "No"
"Do1" = "No"
"F2k" = "No"
"ImplicitNone" = "No"
"NoScalarToArray" = "No"
"NoWarnWide" = "No"
"NonStandard" = "No"
"OldArrays" = "No"
"Ckc" = "No"
"CvfExternal" = "No"
"ImportLib" = ""
"Include" = ""
"ModPath" = "c:\\wint\\lib.s95"
"SearchIncludeFiles" = "No"
"WideSource" = "No"
"Wrap" = "No"
"Ignore" = ""
"NoComment" = "No"
"CompilerSilent" = "No"
"StandardErrorReports" = "No"
"WarnFatal" = "No"
"Dump" = "No"
"Explist" = "No"
"List" = "No"
"ListInsertFiles" = "No"
"NoOffsets" = "No"
"Xref" = "No"
"CompilerMultiThreaded" = "No"
"SingleThreaded" = "Yes"
"CompilerOptions" = ""
"Sparam" = ""
"Vparam" = ""
"Fpp" = "Yes"
"Statistics" = "No"
"CompilerExtras" = ""
"LaunchArguments" = ""
"OutputFile" = "CheckMate\\NET\\MeroKK.exe"
"FileType" = "EXE"
"AltCompilerOptions" = "/FULL_UNDEF"
"SrcCompilerOptions" = ""
"DebugTarget" = "
Back to top
View user's profile Send private message Visit poster's website
sparge



Joined: 11 Apr 2005
Posts: 371

PostPosted: Sat Jan 13, 2007 2:24 am    Post subject: Reply with quote

Hi Klaus,

I've come across this myself before. Off the top of my head I can't remember the cause, but I'm sure I raised it as a tech support query with Salford. In which case, I'll have a record of it (and so will they, presumably). I'll check on Monday when I'm back at work.

Andy
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Sat Jan 13, 2007 7:40 am    Post subject: Reply with quote

The listing has stopped short of the interesting bit.
Also I need the section for the current configuration which I assume will be a Win32 configuration rather then .NET.
Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Sat Jan 13, 2007 8:29 pm    Post subject: Reply with quote

Here again the listing, all of it


"General"
{
"ProjectIdGuid" = ""
"CurrentConfig" = "CheckMate|Win32"
}
"Configurations"
{
"CheckMate|.NET"
{
"Windows" = "No"
"SealedClass" = "No"
"ContainingClass" = ""
"Version" = ""
"Stack_NET" = ""
"Map" = ""
"Silent" = "No"
"Base" = ""
"Exportall" = "No"
"Heap" = ""
"MultiThreaded" = "No"
"Extras" = ""
"VirtualCommon" = ""
"InterfaceOnly" = "No"
"NoLink" = "No"
"DebugInfo" = "No"
"Check" = "No"
"Undef" = "No"
"CheckMate" = "Yes"
"FullDebug" = "No"
"BoundsCheck" = "No"
"DebugSource" = "No"
"Overflow" = "No"
"Profile" = "No"
"QuickBounds" = "No"
"Runtrace" = "No"
"SuppressArgCheck" = "No"
"Timing" = "No"
"Underflow" = "No"
"Optimise" = "No"
"P6" = "No"
"UnrollLimit" = ""
"DefintKind" = ""
"DeflogKind" = ""
"DefrealKind" = ""
"Iso" = "No"
"Save" = "No"
"Zeroise" = "No"
"AllowRecursion" = "No"
"Dclvar" = "No"
"Do1" = "No"
"F2k" = "No"
"ImplicitNone" = "No"
"NoScalarToArray" = "No"
"NoWarnWide" = "No"
"NonStandard" = "No"
"OldArrays" = "No"
"Ckc" = "No"
"CvfExternal" = "No"
"ImportLib" = ""
"Include" = ""
"ModPath" = "c:\\wint\\lib.s95"
"SearchIncludeFiles" = "No"
"WideSource" = "No"
"Wrap" = "No"
"Ignore" = ""
"NoComment" = "No"
"CompilerSilent" = "No"
"StandardErrorReports" = "No"
"WarnFatal" = "No"
"Dump" = "No"
"Explist" = "No"
"List" = "No"
"ListInsertFiles" = "No"
"NoOffsets" = "No"
"Xref" = "No"
"CompilerMultiThreaded" = "No"
"SingleThreaded" = "Yes"
"CompilerOptions" = ""
"Sparam" = ""
"Vparam" = ""
"Fpp" = "Yes"
"Statistics" = "No"
"CompilerExtras" = ""
"LaunchArguments" = ""
"OutputFile" = "CheckMate\\NET\\MeroKK.exe"
"FileType" = "EXE"
"AltCompilerOptions" = "/FULL_UNDEF"
"SrcCompilerOptions" = ""
"DebugTarg
Back to top
View user's profile Send private message Visit poster's website
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Sat Jan 13, 2007 8:32 pm    Post subject: Reply with quote

Sorry, for some reason it does not show all lines after I sumit the posting.
Maybe the number of lines per posting is limited.
Paul:
Can I send the file to you my email ?

Klaus
Back to top
View user's profile Send private message Visit poster's website
sparge



Joined: 11 Apr 2005
Posts: 371

PostPosted: Mon Jan 15, 2007 4:42 pm    Post subject: Reply with quote

Klaus,

I've searched my archive of historical tech support incidents and come up with (almost) nothing - but I distinctly recall coming across this issue. Very frustrating.The only tantalising hint I can find is in an email from Paul Laidler at Salford, almost exactly two years ago - 21 Jan 2005 - in relation to incident "[31579] - Plato 3 project explorer problem". Paul said:

"I have used the default project settings for Release and Checkmate. It may be that you have put undef (and undefundef) into the project release mode settings"

It seems I must have mentioned the SLINK undefundef thing at some point in the correspondence (undefundef is not a compiler option!), but I don't seem to have saved the specific email in question. It was a long and complicated correspondence!

I even tried rebuilding the code that I sent to illustrate the problem that was vexing me at the time (when I created a new project and added some existing source code files, Plato falsely interpreted two of them as header files). The new version of Plato didn't make this mistake, but there was still an issue: SLINK complained about a missing symbol with the checkmate and debug builds, but was quite happy with the release build.

All I can suggest is that if Silverfrost could search their archive around this time, it might shed some light?

Good luck.

Andy
Back to top
View user's profile Send private message Send e-mail
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Mon Jan 15, 2007 4:47 pm    Post subject: Reply with quote

Andy
Thanks your your help.
I have mailed the project to Paul
We will see if he can find the reason.

Klaus
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Tue Jan 16, 2007 2:48 pm    Post subject: Reply with quote

I have looked at your project files but I cannot detect anything wrong.

There are missing MODULEs (initially GLOBAL and WINTERACTER) and a missing file (winparam.h) so I cannot get to the critical linking stage.

The project does point to an error in Plato3 because it is adding /REF to the FTN95 command line which should not happen for a Win32 project. This is giving a spurious "missing library" error. I have fixed this for the next release.

I notice that you are selecting /CHECK etc as well as /CHECKMATE. It is just possible that FTN95 is getting confused by the mix of options.
Try using the default options first to see what happens. The default for CHECKMATE mode is /CHECKMATE. All of the following (that you automatically get with /CHECKMATE) can be omitted: /DEBUG, /CHECK, /UNDEF, /BOUNDS_CHECK.

/QUICK_BOUNDS is obsolete and has no effect.

I suggest that you start with a new project, use the default options, and add files one at a time, compiling as you go along. My guess is that it will be OK until you change the options. If you change options one at a time and build each time, then you will probably be able to find the option that is causing the problem.

If this does not solve the problem then I will either need the missing files and libraries or I will need a simpler project that demonstrates the problem but does not need these files.

Regards

Paul
Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Tue Jan 16, 2007 4:15 pm    Post subject: Reply with quote

Paul
thanks you
The problem is solved
You are correct, if I specify no extra debug options
(Project => Properies => Debugging )
then the warning is gone.
If I specify
[x] check for undefined variables
[x] full checking code
then this warnig comes up
So this is the problem.

Thanks again
Klaus
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group