could not open source file "sys/elf_386.h"


 
Thread Tools Search this Thread
Top Forums Programming could not open source file "sys/elf_386.h"
# 1  
Old 07-31-2010
could not open source file "sys/elf_386.h"

Hello All,

i am porting my application from SunSolaris to Linux (RHEL4).
When i compile my c/c++ code i am getting the following errors.

1. catastrophic error: could not open source file "sys/elf_386.h"
#include <sys/elf_386.h>

2. catastrophic error: could not open source file "sys/elf_386.h"
#include <sys/link.h>

3, catastrophic error: could not open source file "demangle.h"
#include <demangle.h>

Please help me to solve these errors?

Thanks in Advance.

~Saravana
# 2  
Old 07-31-2010
could not open source file "sys/elf_386.h"

Please check if this helps!!

Catastrophic error: could not open source file "name_of_file.h" Error 4 (code 4) | Opal RT
This User Gave Thanks to nareshprasannar For This Post:
# 3  
Old 07-31-2010
These headers are not commonly available OOTB on GNU/Linux systems. Easiest way forward maybe to copy the headers from OpenSolaris sources and modify as necessary. Alternatively you can locate GPL licensed versions of these headers (which also may need modification to suit your code) at Koders.com and elsewhere.
This User Gave Thanks to fpmurphy For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question