public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Frysk for ppc broken?
@ 2008-03-27  1:10 Carlos Eduardo Seo
  2008-03-27 10:24 ` Mark Wielaard
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos Eduardo Seo @ 2008-03-27  1:10 UTC (permalink / raw)
  To: Frysk Mailing List


Hello all!

I was trying to build frysk in my new Fedora 8 box and got this:

g++ -m64 -mminimal-toc -g -I. -c -o frysk2760/barriertest.o 
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx:64: error: 
‘frysk2760’ has not been declared
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx: In 
function ‘jint doFork()’:
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx:66: error: 
‘pid’ was not declared in this scope
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx: At global 
scope:
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx:82: error: 
‘frysk2760’ has not been declared
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx: In 
function ‘void timerThread()’:
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx:85: error: 
‘pid’ was not declared in this scope
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx: At global 
scope:
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx:99: error: 
‘frysk2760’ has not been declared
../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx:105: error: 
‘frysk2760’ has not been declared
make[4]: *** [frysk2760/barriertest] Error 1

Any clues?

Thanks and regards,

-- 
Carlos Eduardo Seo
Software Engineer
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Frysk for ppc broken?
  2008-03-27  1:10 Frysk for ppc broken? Carlos Eduardo Seo
@ 2008-03-27 10:24 ` Mark Wielaard
  2008-03-27 12:21   ` Petr Machata
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Wielaard @ 2008-03-27 10:24 UTC (permalink / raw)
  To: Carlos Eduardo Seo; +Cc: Frysk Mailing List

Hi Carlos,

On Wed, 2008-03-26 at 22:09 -0300, Carlos Eduardo Seo wrote:
> Hello all!
> 
> I was trying to build frysk in my new Fedora 8 box and got this:
> 
> g++ -m64 -mminimal-toc -g -I. -c -o frysk2760/barriertest.o 
> .../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx
> .../../../frysk/frysk-imports/tests/frysk2760/TestBarrier.cxx:64: error: 
> ‘frysk2760’ has not been declared
> [...]
> Any clues?

Looks like TestBarrier.h wasn't generated correctly.
It should be in your build dir
frysk-obj/frysk-imports/tests/frysk2760/TestBarrier.h
It should declare the namespace:

extern "Java"
{
  namespace frysk2760
  {
      class TestBarrier;
      class TestBarrier$BarrierThread;
      class TestBarrier$ForkThread;
      class TestBarrier$GCThread;
  }
}

If it doesn't then you would get the error you are seeing. I don't know
why that would happen though.

Cheers,

Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Frysk for ppc broken?
  2008-03-27 10:24 ` Mark Wielaard
@ 2008-03-27 12:21   ` Petr Machata
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Machata @ 2008-03-27 12:21 UTC (permalink / raw)
  To: Mark Wielaard; +Cc: Carlos Eduardo Seo, Frysk Mailing List

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

On Thu, Mar 27, 2008 at 11:23:54AM +0100, Mark Wielaard wrote:
> If it doesn't then you would get the error you are seeing. I don't know
> why that would happen though.

Error similar to this one used to happen for me routinely when I did a
rebuild after rebase without first wiping the build directory.  Could
that be the case?

PM

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-27 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-27  1:10 Frysk for ppc broken? Carlos Eduardo Seo
2008-03-27 10:24 ` Mark Wielaard
2008-03-27 12:21   ` Petr Machata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).