Hi all,

Now that my Firefox is working, even with java, I want to put the finishing
touch: Gnash.

When I configure gnash, it tells me that a lot is missing, but it should
still compile - and most of the missing stuff is only used in testing. But
the dependency Speex-1.2rc1 is not found - even though it certainly is
installed. But again, gnash claims that it should still compile, so I just
typed "make" - which ended some 20 min. later in:

  CXX    klash_part.lo
klash_part.cpp: In constructor 'KlashPart::KlashPart(QWidget*, QObject*,
const QStringList&)':
klash_part.cpp:103:10: warning: variable 'show_fullscreen' set but not used
[-Wunused-but-set-variable]
     bool show_fullscreen = false;
          ^
klash_part.cpp: In member function 'void KlashPart::stop()':
klash_part.cpp:222:21: error: '::getpid' has not been declared
      int pid = -1 * ::getpid();
                     ^
make[4]: *** [klash_part.lo] Fejl 1
make[4]: Forlader katalog '/home/niels/xc/gnash-0.8.10/plugin/klash4'
make[3]: *** [all] Fejl 2
make[3]: Forlader katalog '/home/niels/xc/gnash-0.8.10/plugin/klash4'
make[2]: *** [all-recursive] Fejl 1
make[2]: Forlader katalog '/home/niels/xc/gnash-0.8.10/plugin'
make[1]: *** [all-recursive] Fejl 1
make[1]: Forlader katalog '/home/niels/xc/gnash-0.8.10'
make: *** [all] Fejl 2

Sorry for the Danish error messages - I hope it is still understandable.

Niels

--
I may have found a solution to this my self, but it is a bit hard for me to
believe that this is correct:

According to several references on the net, the function getpid() is
declared in the header file unistd.h.

So I edited the two klash_part.cpp files, adding #include <unistd.h> to
their include section. And then everything worked !

Can it realy be possible that these two includes has simply been forgotten,
or have I made a mistake somewhere ?

Niels

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to