[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Notes: compiling TCLCL under IRIX 6.5



Folks:
	Hi, I've just tried building ns-allinone-2.1b5 on IRIX 6.5.
There are two issues need to be note:
	(1) When building TK, it will prompt "expecting N32 object
format for X11 libraries". 
	Solution: Use native X libraries in: /usr/lib32
	(2) When building TCLCL:
		There is error in line#41 of "tclcl-config.h"

typedef longlong_t int64_t;

	Solution: Patch above line in "tclcl-config.h" by the
following line:

typedef __int64_t int64_t;

	(longlong_t is for SUN, and __int64_t is for IRIX)
	
	(3) When building OTCL:
		There were lots WARNINGs when "linking" objects
together. (many libraries included not contributing any symbols
to the target). But seems OK.

	(4) When building ns-2.1b5:
		The same error as (2), so apply the same solution
as (2)

	Hope others with similar experience can verify above
information.


Thanks,


Kaichuan He