plz help to come out of error

Login to reply to this topic.
Fri, 2004-12-03 15:12
Joined: 2004-12-03
Forum posts: 28
i've just started with the "UIQ SDK for Symbian OS v7.0" and was reading through a few of the tutorials. while testing the helloworld example,    
i ran into a few errors(i m running "UIQ SDK for Symbian OS v7.0" & "active perl Build 518" )
   i did the "bldmake bldfiles" command without problems (tried it in verbose mode and no errors came up, so I'm assuming it worked fine), after that the "abld build wins udeb", this gave the following output:

E:\Symbian\UIQ_21\UIQExamples\HelloWorld\group>abld build wins udeb
  make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\EXPORT.make" EXPORT VERBOSE=-s
Nothing to do
  make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD WINS
'LINK.EXE' is not recognized as an internal or external command,
operable program or batch file.
ERROR: failed to find version information for LINK.EXE
make: *** [MAKEFILEHELLOWORLD] Error 2
  make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" LIBRARY VERBOSE=-s
nmake -nologo -x - -s  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" LIBRARY
process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS LIBRARY, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [LIBRARYHELLOWORLD] Error 2
  make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" RESOURCE CFG=UDEB VERBOSE=-s
nmake -nologo -x - -s  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" RESOURCEUDEB
process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS RESOURCEUDEB, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [RESOURCEHELLOWORLD] Error 2
  make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" TARGET CFG=UDEB VERBOSE=-s
nmake -nologo -x - -s  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" UDEB
process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS UDEB, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [TARGETHELLOWORLD] Error 2
  make -r  -f "\Symbian\UIQ_21\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\HELLOWORLD\GROUP\WINS.make" FINAL CFG=UDEB VERBOSE=-s


   so, what i'm doing wrong?. please help me to comeout of this problem.

PLZ HElP ME.....


Fri, 2004-12-03 15:34
Joined: 2004-07-28
Forum posts: 1379
plz help to come out of error
First of, are you sure you have the WINS version of the SDK?? Not WINSCW for CodeWarrior?

If you have the CodeWarrior version, the command should be abld build winscw udeb.

If you do have a WINS build, the most likely problem is the tools are not in your path.  If you are using MSDEV, run VCVARS32.BAT from C:\Program Files\Microsoft Visual Studio\VC98\Bin and try again.

didster

Mon, 2005-01-24 22:31
Jon (not verified)
Forum posts: 2043
ERROR: failed to find version information for LINK.EXE
I had the same problem.  After running VCVARS32.BAT I get

ERROR: failed to find version information for LINK.EXE

I have wins SDK installed and working ok.  i suspect the problem is because I'm using Visual C++ express beta (which you can download from Microsoft) and there is some path that I'm missing.
Tue, 2005-01-25 00:58
Joined: 2004-07-10
Forum posts: 364
Re: ERROR: failed to find version information for LINK.EXE
You need to put LINK.EXE in your path. If you search the site you'll see the same question answered before.
Tue, 2005-01-25 15:39
Joined: 2004-07-28
Forum posts: 1379
plz help to come out of error
Running VCVARS32.bat will put the directory containng link.exe into your path.

The only other cause I know for this error are you have a visual studio SDK, but you don't have VC Service Pack 3+ installed.

What SP have you got installed?

didster

Tue, 2005-01-25 20:34
Anonymous (not verified)
Forum posts: 2043
service packs?
Sorry i'm not sure what you mean.
As i have installed visual C++ express I have the compiler?.
If I type link at the command line the linker is run.

I have not installed any VC service packs, I thought that they are updates for old versions of visual studio.  As I have the latest do I need any of these?
Tue, 2005-01-25 20:54
Joined: 2004-07-10
Forum posts: 364
Re: service packs?
VCVar32.bat is a file you need to run

/program files/microsoft visul studio/vc98/bin
or similar location

Find it and run it and see if it solves your problem
Tue, 2005-01-25 21:40
Joined: 2004-07-28
Forum posts: 1379
plz help to come out of error
Well thats probably your problem...

Type "link.exe" from a command line, what does it say?

Basically, you want Visual Studio 6 with SP3, CodeWarrior or BorlandX - which are the only officaly supported IDEs/Compilers.  Though some vendors add their own support for VS.NET.

didster

Tue, 2005-01-25 22:15
Anonymous (not verified)
Forum posts: 2043
path is ok, it's some other problem
If I type link on the command line I get

C:\stopwatch\group>link
Microsoft (R) Incremental Linker Version 8.00.40607.16
Copyright (C) Microsoft Corporation.  All rights reserved.
....

So i have the path set up ok, so running VCVar32.bat will not help.

I'm not sure that I agree that those are the only supported compiliers.
Because the SDK that I have downloaded from forum Nokia says in the relase note-
"This SDK supports Microsoft Visual Studio .net Professional 2003".

The slight problem is that I have Visual studio 2005 (8.0 beta), because you can download this for free.

I think that this enviroment is almost working, but note quite.

When I build I get -

C:\stopwatch\group>abld build wins udeb
  make -r  -f "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\STOPWATCH\GROUP\EXPORT.make" EXPORT VERBOSE=-s
Nothing to do
  make -r  -f "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\STOPWATCH\GROUP\WINS.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \STOPWATCH\GROUP\STOPWATCH WINS
ERROR: failed to find version information for LINK.EXE
make: *** [MAKEFILESTOPWATCH] Error 76
Tue, 2005-01-25 22:28
Anonymous (not verified)
Forum posts: 2043
further info -
bldmake bldfiles works ok.
I also can build for thumb urel ok
I cannot  make the VC project by doing -
abld makefile
I get the same linker version problem.
maybe there is something else i need to get from Microsoft as I have only downloaded VC++ express.
Tue, 2005-01-25 22:46
Joined: 2004-07-28
Forum posts: 1379
plz help to come out of error
As I said "Some vendors also add support for VS.NET".  Symbian however, don't directly support it.

>bldmake bldfiles works ok.

It would - it doesn't touch the external tool chain (i.e. VC)

>I also can build for thumb urel ok

Yes, because that uses gcc, not the VS toolchain

>maybe there is something else i need to get from Microsoft as I have only downloaded VC++ express

I still say thats your problem - VS.NET != VS Express...

didster

Wed, 2005-01-26 22:34
Anonymous (not verified)
Forum posts: 2043
this error is coming from the epoc32\tools\winutk.pm
i agree that VC6 is not the same as VC express 8.0 but it just a new versio of the same tools.

The problem is caused by the build tool chain checking the version of the linker.
As I'm trying to build using linker 8.0 it fails this test below.
I fixed this perl, and was then able to compile, but not link because of some other problems.



sub Winutl_DoMmp ($$) {
   # takes reference to platform text and semicolon-separated list
   # of compiler-specific include directories
   my @PlatTxt=@{$_[0]};
   my $CompilerIncPaths=$_[1];

   my $Plat=&main::Plat;
   if ($Plat ne "WINSCW") {
#   check that we're using VC6 SP3
      open PIPE, "LINK.EXE |" or die "ERROR: Can't invoke LINK.EXE\n";
      my $DoneCheck=0;
      while (<PIPE>) {
         unless ($DoneCheck) {
            if (/^.+\s+Version\s+(\d)\.(\d{2})\.(\d{4})\s*$/o) {
               if (($1<6) or ($1==6 and $2<0) or ($1==6 and $2==0 and $3<8447)) {
                  warn "WARNING: Should install MSVC6 Service Pack 3\n";
               }
               $DoneCheck=1;
            }
         }
      }
               $DoneCheck=0;
      close PIPE;
      if (!$DoneCheck) {
         # Couldn't find version information? Might not have link.exe at all
         die "ERROR: failed to find version information for LINK.EXE\n";
      }
Thu, 2005-01-27 09:44
Joined: 2004-07-28
Forum posts: 1379
plz help to come out of error
It's only a new version as you say, but even if you could get it to work, unless it's 100% BC with the old version of the linker which the SDK was built with (which it should be, but we all know Microsoft) it wont work anyway.

didster

Thu, 2005-11-17 03:19
Joined: 2005-11-16
Forum posts: 2
LINK.EXE from Perl (Solution!)
Hey people: I've been wrestling with the same problem and I happened to stumble upon the solution: LINK.EXE is being started through Perl and uses the PATH environment variable. The thing is: Perl does not know how to handle
"C:\Program Files\Common Files\Microsoft Shared\VSA\8.0\VsaEnv" -type paths with quotes around them, so the solution is to find out the 'old' DOS 8.3 name using `dir /x` output and then putting those paths (for me: C:\Progra~1\Common~1\Micros~1\VSA\8.0\VsaEnv and C:\Progra~1\MID05A~1\VC\bin) in PATH (Control Panel > System > Advanced > Environment Variables). And voila! We're in business! Tongue

Hope it works for you, feel free to let me know how happy you are Smiley
greetz,
SumthinWicked

PS. anybody get VS2005 to compile WINS targets for you guys yet? I know I got it done in VS2003... Seem to be getting weird wchar_t compile errors in /epoc32/include/libc Sad
PS2. Know ScummVM for SymbianOS yet? http://www.scummvm.org/

Now where did I leave my favourite rubber-chicken-with-a-pulley-in-the-middle? *scratshes head*

Wed, 2006-04-12 13:21
Joined: 2004-12-23
Forum posts: 239
Re: plz help to come out of error
Hi didster,

I am  facing a  problem while compiling an application from command line for "WINSCW".
Giving
make (e=2): The system cannot find the file specified.
Although for same application  there is no issue while compiling from Carbide.C++(IDE) itself,however for some application I am getting "Input line too long".And from forum I came to know that  there is some known issues with carbide related to this,that's why I am compiling from command line.

I searched the forum lot,and had tried whatever suggested,but still I m stucked in the problem.

What could be the reason.
Thanks

---------------
Bhatt Kavita

Thu, 2006-04-13 00:50
Guest (not verified)
Forum posts: 2043
Re: plz help to come out of error
  • Login to reply to this topic.