Welcome, Guest
Username: Password: Remember me

TOPIC: Erreur à l'édition de lien

Erreur à l'édition de lien 12 years 9 months ago #3818

  • bstraubhaar
  • bstraubhaar's Avatar
Hello,

I have a Windows XP 64bits version and a g95 fortran compiler.
I compile Telemac2d with makeall90. It's working.
But when I start Telemac (telemac2d myfile.cas), I get a linking error.

c:/documents and settings/benjamin/my documents/g95/bin/../lib/gcc-lib/i686-pc-m
ingw32/4.1.2//libf95.a(main.o):(.text+0x32): undefined reference to `MAIN_'
ERREUR A L'EDITION DE LIEN

Thank you for your help.

Benjamin
The administrator has disabled public write access.

Re: Erreur à l'édition de lien 12 years 9 months ago #3821

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
maybe you should read the faq and or the different topic of the forum.
If you use telemac with your own fortran file and g95, you should include homere_telemac2d.f in your fortran file.

Another particular point, maybe not problematic in this case. You should avoid to use "documents and settings" directory. Space in the name could create a lot of problem with DOS command.

Regards
Christophe
The administrator has disabled public write access.
Moderators: pham

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