December 14, 2005
Hi

I just installed DM on my pc in order to use the Outportb and inport to make a driver for the serial port. I wanted to just compile and execute the "hello.c" program. When I try to compile that I am getting the error as "Fatal error: error writing output file 'hello.obj'". ---- errorlevel 1

Could you help me?

thanks
kuldip


the code for hello.c is:

#include <stdio.h>

int main()
{
printf("hello");
return 0;
}

kuldip
December 14, 2005
kuldip wrote:
> Hi
> 
> I just installed DM on my pc in order to use the Outportb and inport to make a driver for the serial port. I wanted to just compile and execute the "hello.c" program. When I try to compile that I am getting the error as "Fatal error: error writing output file 'hello.obj'". ---- errorlevel 1

This usually indicates that you can't write to the directory in which you're storing the .obj file.