This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error creating .obj file from command input file

Hi,
I have a strange problem. I am converting an automatic build script in Perl from using direct calls to the Windows OS to invoking a51 with an '@commandfile' format because the invocation line has exceeded 500 characters. What is really weird is that with code that assembles and links with no errors with direct invocation, I am getting a fatal error "CANNOT CREATE FILE" (768) when the assembler tries to generate the object file with the commandfile method. Again, there are no errors with direct invocation.

My assembler:

A51 MACRO ASSEMBLER V6.02 - SN: K1F4U-60444U
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2000

I am running cmd.exe under Windows XP service pack 1.

Thanks,
Bob C.

Parents
  • Thanks for the responses,
    Reinhard, I would if I could, have to use what the company provides
    Hans,
    Yesterday I implemented your point 1), which fixes the immediate problem. The path names are getting very large, so this is probably the right fix. What I really wanted was confirmation that I was up against a brick wall (e.g. that version of the assembler is using non-blocking I/O and/or missing callbacks) so that I didn't waste time trying to solve the insolvable. As to point 2), yes, as part of my test I removed the entire directory tree to make sure. Again thanks for the responses.

Reply
  • Thanks for the responses,
    Reinhard, I would if I could, have to use what the company provides
    Hans,
    Yesterday I implemented your point 1), which fixes the immediate problem. The path names are getting very large, so this is probably the right fix. What I really wanted was confirmation that I was up against a brick wall (e.g. that version of the assembler is using non-blocking I/O and/or missing callbacks) so that I didn't waste time trying to solve the insolvable. As to point 2), yes, as part of my test I removed the entire directory tree to make sure. Again thanks for the responses.

Children
No data