Hi all,
Trust me to have tried all that I could - to sort this problem out. This
mail shall be slightly long so as to impart some knowledge as well as to
be able to seek answer.
I am porting an application code for which is working fine on HP-UX 11.0 +
gcc combination. Or so I am told :-). The total package size is more than
2 GB and the first thing I did was to build the makefile hierarchy. After
that is done, all I now have to do is make the individual modules in the
tree - and when that is done, to write the part for make and make install
from the top of the tree.
The first error I got during "make" was :
--
In file included from generic_load_string.c:75:
/home/rohit/porting/base/refmt_base/import/headers/stdif.h:819: parse
error before `SystemTime'
--
The line 819 in stdif.h is :
--
typedef time_t SystemTime;
--
Which, for me, meant that time_t was not defined yet. Surprisingly, the
file time.h was not included in the source file "generic..." or in the
header file stdif.h : So I included the same in the source .c file before
including stdif.h file - so that the definition is clearer.
Then this happens :
generic_load_string.c:1492: warning: no previous prototype for \
generic_unload_dtt_s4'
cc: Internal compiler error: program as got fatal signal 11
make: *** [get_field_length.o] Error 1
rohit@Force:~/porting/base/refmt_base/logic >
Two noteworthy things :
1. The last warning is generated from generic_load_string.c but the
assembling of get_field_length.o is what fails :-)
2. sig11 is usually for a hardware error, when it is not due to
detectable segmentation violation, caused by the code itself : But
that is usually at the run-time. This is compile time !
All optimizations are turned off.
Has anyone encountered this error in ASSEMBLY phase? Any tips? Any noted
anomalies with respect to program "as"?
Rohit
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help