Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion E3033 in 1.9 - looks like a bug ?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Hans-Bernhard Bröker  
View profile  
 More options Jul 16 2010, 5:12 pm
Newsgroups: openwatcom.users.fortran, openwatcom.contributors
Followup-To: openwatcom.contributors
From: Hans-Bernhard Bröker <broe...@physik.rwth-aachen.de>
Date: Fri, 16 Jul 2010 23:12:38 +0200
Local: Fri, Jul 16 2010 5:12 pm
Subject: Re: E3033 in 1.9 - looks like a bug ?
[Cross-posted to .contributors, with a follow-up, as this has turned
into an issue for OpenWatcom developers]

Am 16.07.2010 19:42, schrieb user1:
[...]

> Error! E3033: file __wfl__.lnk: line(4): directive error near
> 'librarymylib.lib'
> Error: Linker returned a bad status

You've found an error in WFL386.  It fails whenever a library file is
named on the command line.

The bug happens with one of the "official" fortran sample programs, too:

        cd %watcom%\samples\fortran\win32\dll\
        wmake

ends in:

         wfl386 -q -l=nt dlltest dllsamp.lib
Error! E3033: file __wfl__.lnk: line(5): directive error near
'librarydllsamp.lib'
Error: Linker returned a bad status
Error(E42): Last command making (dlltest.exe) returned a bad status
Error(E02): Make execution terminated

The problem is clearly visible in the error message: WFL386 constructed
a line in its temporary linker script __wfl__.lnk that's supposed to read:

        library dllsamp.lib

but instead it generated

        librarydllsamp.lib

You can inspect the file by specifying the /fd option to WFL386.
Apparently this was broken by change 36036 in March 2010.  I'm preparing
a fix as I'm writing this.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.