Try sticking in an
  #include <gdk/gdk.h>
at the top at let us know if that fixes it.

On Sun, Apr 5, 2009 at 6:26 AM, hal <[email protected]> wrote:
>
> Hello,
> I tried to compile chromium on ubuntu 8.10 and I got these errors :
>
>      /home/leohal/chromium/src/base/clipboard_linux.cc:23: error:
> expected ',' or '...' before '&' token
>      /home/leohal/chromium/src/base/clipboard_linux.cc:23: error: ISO
> C++ forbids declaration of 'GdkAtom' with no type
>      /home/leohal/chromium/src/base/clipboard_linux.cc: In function
> 'std::string<unnamed>::GdkAtomToString(int)':
>      /home/leohal/chromium/src/base/clipboard_linux.cc:24: error:
> 'gchar' was not declared in this scope
>      /home/leohal/chromium/src/base/clipboard_linux.cc:24: error:
> 'name' was not declared in this scope
>      /home/leohal/chromium/src/base/clipboard_linux.cc:24: error:
> 'atom' was not declared in this scope
>      /home/leohal/chromium/src/base/clipboard_linux.cc:24: error:
> 'gdk_atom_name' was not declared in this scope
>      /home/leohal/chromium/src/base/clipboard_linux.cc:26: error:
> 'g_free' was not declared in this scope
>      /home/leohal/chromium/src/base/clipboard_linux.cc: At global
> scope:
>      /home/leohal/chromium/src/base/clipboard_linux.cc:30: error:
> 'GdkAtom' does not name a type
>
> I supose there is a problem with finding gtk but I installed libgtk2.0-
> dev.
> Since I new to Linux I believe this problem has an easy solution ...
>
> Thanks for your help,
> Leo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to