From: "Jean-Xavier.Mazoit@kb.u-psud.fr" jean-xavier.mazoit@kb.u-psud.fr
Subject: [NMusers] gcc and ADVAN5 -7
Date: Thu, 01 Sep 2005 13:59:28 +0200

Dear all,
I am using ADVAN5 or 7 for several studies and I cannot use g77 with these
two routines.
The two procedures work fine with the ABsoft compiler.
I have tried g77 last year and now again.  NMTRAN does not build the FSUBS
output without any message.
Has someone experienced such a problem ?
Thanks.

JX Mazoit
_______________________________________________________

From: Nick Holford n.holford@auckland.ac.nz
Subject: Re: [NMusers] gcc and ADVAN5 -7
Date: Fri, 02 Sep 2005 00:49:27 +1200

JX,

g77 works fine with ADVAN5 whenever I have used it. What version of g77 are you using? This is what I am using.

C:\Users\Nick\> g77 --version
GNU Fortran (GCC 3.1) 3.1 20020514 (release)
Copyright (C) 2002 Free Software Foundation, Inc.

Nick

"Jean-Xavier.Mazoit@kb.u-psud.fr" wrote:
--
Nick Holford, Dept Pharmacology & Clinical Pharmacology
University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand
email:n.holford@auckland.ac.nz tel:+64(9)373-7599x86730 fax:373-7556
http://www.health.auckland.ac.nz/pharmacology/staff/nholford/

_______________________________________________________

From: Sam Liao sliao@pharmaxresearch.com
Subject: Re: [NMusers] gcc and ADVAN5 -7
Date: Thu, 01 Sep 2005 09:34:37 -0400

Hi JX:

Please check if FSUBS.* files were deleted as specified at the end of your nmfe5.bat

I wonder if the problem might be in the step after creation of FSUBS.* files where
it tried to link the fsubs.obj with nonmem.lib.

Sam Liao
Pharmax Research 

_______________________________________________________

From: Nick Holford n.holford@auckland.ac.nz
Subject: Re: [NMusers] gcc and ADVAN5 -7
Date: Fri, 02 Sep 2005 08:54:44 +1200

JXM,

You did not say you were using the LIBRARY option. This is a rarely used and almost never
needed feature of NM-TRAN/NONMEM. Have you tried without using this option? Perhaps you
have not compiled the 'tl' subroutines with g77 which are required for using the
LIBRARY option.

Nick
--
Nick Holford, Dept Pharmacology & Clinical Pharmacology
University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand
email:n.holford@auckland.ac.nz tel:+64(9)373-7599x86730 fax:373-7556
http://www.health.auckland.ac.nz/pharmacology/staff/nholford/
_______________________________________________________

From: "Bachman, William (MYD)" bachmanw@iconus.com
Subject: RE: [NMusers] gcc and ADVAN5 -7
Date: Tue, 6 Sep 2005 10:40:01 -0400

I have noticed that occasionally, g77 fails to compile an individual
subroutine for some unexplained reason (and the compile failure error
message may have escaped your attention during setup).  

Check that all source files (.for extension) have a corresponding object
file (.obj extension).  Particularly in the "nm" and "pr" subdirectories of
your installation.  In your case, look especially for ADVAN5.obj.
ADVAN7.obj, SS5.obj, SS7.obj.

If an object file is missing, it can be compiled individually from the
source file.  If it is a NONMEM object file that is missing (in the "nm"
directory), the NONMEM.lib file will also have to be deleted and recreated.

Bill
_______________________________________________________