Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 385047 - [Net] gnomeproxy cannot be built with latest versions of glib
Summary: [Net] gnomeproxy cannot be built with latest versions of glib
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 4.2   Edit
Hardware: All Linux
: P3 major (vote)
Target Milestone: 4.3 M4   Edit
Assignee: Krzysztof Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 385030
  Show dependency tree
 
Reported: 2012-07-13 08:52 EDT by Krzysztof Daniel CLA
Modified: 2012-11-07 07:00 EST (History)
2 users (show)

See Also:
malgorzata.tomczyk: review+


Attachments
Patch proposition (867 bytes, patch)
2012-07-13 08:53 EDT, Krzysztof Daniel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Daniel CLA 2012-07-13 08:52:41 EDT
Building file: gnomeproxy.o
    Invoking: GCC C Compiler
    gcc `pkg-config --cflags gconf-2.0` -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -O0 -fPIC -g3 -Wall -c -fmessage-length=0 -m64 -o gnomeproxy.o ../../gnomeproxy.c
    In file included from ../../gnomeproxy.c:16:0:
    /usr/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h> can be included directly."
    make: *** [compile] Error 1


glib doesn't allow for any other inclusions than glib.h. This was announced a long time ago, and finally introduced in recent versions of glib. glib already includes gslist.
Comment 2 Malgorzata Janczarska CLA 2012-11-06 09:22:45 EST
Pushed in http://git.eclipse.org/c/platform/eclipse.platform.team.git/commit/?id=6263a8ed7885edda20394a265fae59fd6192af5b
Krzysztof, please verify.
Comment 3 Krzysztof Daniel CLA 2012-11-07 07:00:33 EST
I was able to successfully build the native library on f17 using the commit 325126585d2b6de9bdaa09ac3885092b32c99628.