A problem when building pistachio

View: New views
4 Messages — Rating Filter:   Alert me  

A problem when building pistachio

by watchmanxu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Recently I'm building Pistachio kernel according to the specifications on the official web page of Pistachio,but now I've encountered some strange problems.When making the kernel the compiler hint the error message that" 'class intctrl_t' has no member named 'is_pending'".I've checked some relative files and find nothing wrong.And now I'm highly suspicious that there is some relationship with my comiler version.I'm using gcc 4.3.2-7 in Fedora 10.Anyone could tell me the reason?
Best Regards
finyun

RE: A problem when building pistachio

by Philipp Kupferschmied :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> Recently I'm building Pistachio kernel according to the specifications
> on the official web page of Pistachio,but now I've encountered some
> strange problems.When making the kernel the compiler hint the error
> message that" 'class intctrl_t' has no member named 'is_pending'".I've
> checked some relative files and find nothing wrong.And now I'm highly
> suspicious that there is some relationship with my comiler version.I'm
> using gcc 4.3.2-7 in Fedora 10.Anyone could tell me the reason?

I experienced various problems using gcc 4.3.2, both at compile time and
at runtime. However, I didn't come across the problem you mention here
until now.
Are you using the most recent version of Pistachio (i.e., the one from
the Mercurial repository, not the tarball)? What does your kernel config
look like?

Cheers,
Philipp

RE: A problem when building pistachio

by Jan Stoess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Finyun

Out of the blue: have you enabled SMP without enabling APIC support in the configuration menu? Try either running UP or enabling APIC support and see if that works.

(We need to fix that dependency in cml2, by the way, lots of people stumble over that)

Best,
-Jan

--
Jan Stoess
System Architecture Group
University of Karlsruhe
Phone: +49 (721) 608-4056
Fax: +49 (721) 608-7664
eMail: stoess@...

Parent Message unknown RE: A problem when building pistachio

by Philipp Kupferschmied :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Yes,I just use the newest version of Pistachio checked with mercurial
> repository.As to the kernel config,I reserved the default settings
> because it just fit my situation.BTW,I'm building the kernel in Vmware.

I'm afraid I can't reproduce your problem with the latest version of
Pistachio and gcc 4.3.2. It compiles without errors using the default
settings.
However, as I use Ubuntu and not Fedora, it might still be a compiler-
related problem.
Could you please attach a copy of the config.out and/or config.h file?
(you can find it in the "config" subdirectory of your build dir).

Do you have an older version of gcc at hand you could use for testing?
gcc-4.1 should work in any case, I think.

Cheers,
Philipp