Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation Error

Compilation Error 6 years 9 months ago #28708

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Are you are right the message is a little different.

compileTELEMAC::createLibFiles:
+> failed: ar cru C:\Telemac\v7p2r0\builds\win7gfors\lib\mascaret\homere_mascaret.lib .o
... The following command failed for the reason above (or below)
ar cru C:\Telemac\v7p2r0\builds\win7gfors\lib\mascaret\homere_mascaret.lib .o:


It also says that the file .../sources/mascaret/Deriv/adstack.c not exist.

I could write it in a .txt again since I'm stuck at this point and do not really know how to continue.
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28709

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
You probably made a mistake in the modification of compiletelemac.py
The default version is
   cmd = cfg['MODULES'][path.basename(lname)]['xlib']
   if lprog == 'HOMERE_MASCARET':
      cmd = cmd.replace('<objs>','*.o')
   else:
      cmd = cmd.replace('<objs>',ObjFiles)
   cmd = cmd.replace('<libname>',LibFile)
The initial version without my modification was something like:
   cmd = cfg['MODULES'][path.basename(lname)]['xlib']
   cmd = cmd.replace('<objs>',ObjFiles)
   cmd = cmd.replace('<libname>',LibFile)
and you should do similar change in the exe part which is 90 lines under

About the adstack problem, this is also partly hardcoded in compiletelemac.py in the compileMascaretDependencies part.
But if your root varaible is well definie in your config file, the program should find it...

Hope this helps
Christophe
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28715

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hello,

I changed the file and like you said it shows all the files *.o.

Could you please explain the other workaround you suggested?
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28716

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Is the error message always the same?
Maybe you could redirect the new output to a file and joint it again to let us see the errors

Regards
Christophe
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28718

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
I'm not totally sure if it is always the same failure.
I will run it another time and safe this as well in an output_file.
Attached you find the one from the last run.

Regards
Attachments:
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28719

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
The failure is the same and it says
"The command line is to long"
Mustermann wrote:
I'm not totally sure if it is always the same failure.
I will run it another time and safe this as well in an output_file.
Attached you find the one from the last run.

Regards
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28720

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
We see that we still have a problem in the Mascaret library generation...
Maybe you could manually try to generate the library with a command line

Could you try to run the command: ar cru homere_mascaret.lib XXX.o
With few .o file to test in the XXX list

Regards
Christophe
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28721

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Of course.

I tried a few and it worked without any failure. You can check the screenshot attached.
Attachments:
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28722

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
and if you enter *.o
Christophe
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28723

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Then I get the failure
Invalid argument
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.