|
From: WAROQUIERS P. <phi...@eu...> - 2011-11-11 15:17:02
|
># . valgrind --leak-check=yes ./system/bin/testapp >/system/bin/valgrind: 1: Syntax error: word unexpected (expecting ")") Why do you put a . in front of valgrind ? To my knowledge, this indicates that the shell has to "interpret" this "script". But valgrind is an executable. So, I guess the shell obeys and tries to interpret object code as a script, and reports a syntax error. Does it work to just type: valgrind --leak-check=yes ./system/bin/testapp ? Philippe ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. |