Xref: utzoo comp.sys.att:2273 comp.unix.questions:5303 Path: utzoo!mnetor!uunet!husc6!cmcl2!phri!cooper!c.ng From: c.ng@cooper.cooper.EDU (Cho Ng ) Newsgroups: comp.sys.att,comp.unix.questions Subject: Re: Problem with a.out's Message-ID: <1182@cooper.cooper.EDU> Date: 21 Jan 88 22:27:45 GMT References: <1181@cooper.cooper.EDU> Organization: The Cooper Union (NY, NY) Lines: 45 in article <1181@cooper.cooper.EDU>, c.ng@cooper.cooper.EDU (Cho Ng ) says: > > > So here is my problem: When I try to execute a.out, I get the message > 'a.out: Cannot execute'. I used the -V flag to check compilation, > assembly, and linkage and they are completed without error (or so it > seems to me). The file attributes for a.out indicates that a.out > can be executed (-rwxr-xr-x) but the system tells me it can't be. > However, bin files can be executed when they are -rwxr-xr-x-. > I can't find anything in the manuals so far to tell me why I'm > having problems. Is it because some software or hardware was > improperly installed or replaced? I have some new info. Some of you have sent me some suggestions but none solved my problem. I have used 'echo $PATH' to check my PATH environment variable and there is a ':' at the beginning of the path. So that isn't it. Also, I entered './a.out' to make sure I'm running the right a.out file and I get a upgrade of the old error message: './a.out: Cannot execute' I have also transfered the a.out file to another 3b2 via floppy disk and it executed fine on that machine so I know programs compile properly on my 3b2 and therefore, the magic numbers, etc. exist and are correct in the a.out files. Could there be a transparent security code in the propriety chips that is causing the problem? I wasn't around when the ATT service personnel fixed the 3b2 after its hard disk crash but someone told me that he didn't change any of the boards - he just changed some chips on the boards. Could that be the problem? If anyone has anymore suggestions, please mail them to me as soon as possible because I would like to get this 'unsurmountable' problem resolved. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ** ** ** Fr:Cho Ng ** ** At:The Cooper Union for ihnp4!philabs!phri!cooper!c.ng ** ** the Advancement of || ** ** Science and Art "phri!cooper!c.ng"@nyu.arpa ** ** ** <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>