C'est la première fois que je viens sur un forum et je ne pensais quand rentrant de manger j'aurai des réponses!
J'avais déjà lancé
gcc -g -Wall -lm syntheseW.c -o syntheseW
il compile mais j'ai toujours des erreurs de segmentation fault quand je lance mon script....
J'avais également essayé la commande gdb puis lancé run, mais voici la page:
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /mnt/porto/sde1/vanessa/codes_walid/syntheseW
./syntheseW [date_deb][nb_jours][maille][long_min][long_max][lat_min][lat_max][dossier entre][dossier sortie][appendfile]
Segmentation fault
Je sais pas si c'est une bonne idée ce "run" j'ai trouvé ca sur un site mais toujours est il que ca ne marche pas!
[^] # Re: Compilation
Posté par vanessa15 . En réponse au message erreur de compilation. Évalué à 2.
C'est la première fois que je viens sur un forum et je ne pensais quand rentrant de manger j'aurai des réponses!
J'avais déjà lancé
gcc -g -Wall -lm syntheseW.c -o syntheseW
il compile mais j'ai toujours des erreurs de segmentation fault quand je lance mon script....
J'avais également essayé la commande gdb puis lancé run, mais voici la page:
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /mnt/porto/sde1/vanessa/codes_walid/syntheseW
./syntheseW [date_deb][nb_jours][maille][long_min][long_max][lat_min][lat_max][dossier entre][dossier sortie][appendfile]
Segmentation fault
Je sais pas si c'est une bonne idée ce "run" j'ai trouvé ca sur un site mais toujours est il que ca ne marche pas!
voila.....