[Ns-bugs] [Bug 955] Install NSC for NS3 in a Itanium Architecture (ia64) with Linux 2.6.16.6

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Aug 3 13:49:27 PDT 2010


http://www.nsnam.org/bugzilla/show_bug.cgi?id=955





--- Comment #8 from Sam Jansen <sam.jansen at gmail.com>  2010-08-03 16:49:27 EDT ---
Sorry for the late reply.

I think the file you have provided is invalid C code, that is why the
globaliser is breaking!

If I try to compile with gcc, I get a bunch of errors, but the one that is
breaking the globaliser is this:

  error: `irq_cpustat_t' undeclared here (not in a function)

This looks like it should be a typedef'd type, but it is never typedef'd.

We can easily verify this:

  $ grep irq_cpustat preprocessed.c
  __attribute__((__section__(".data.percpu"))) __typeof__(irq_cpustat_t)
per_cpu__irq_stat;
  irq_cpustat_t irq_stat[64];

Two lines there using "irq_cpustat_t" as a type, yet it is never defined.

I suspect you need to make sure all your code works without the globaliser
first, then try enabling the globaliser later. If you'd like help with this I'm
fairly sure I can find a small change to the SConstript.

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list