[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling two backends
From: |
Pablo Di Noto |
Subject: |
Compiling two backends |
Date: |
Wed, 19 Oct 2005 20:37:53 -0300 |
User-agent: |
Debian Thunderbird 1.0.7 (X11/20051010) |
Hi list,
I have read somewhere that it is possible to have several x11 backends
with different graphic engines (say x11 and art) and the switch between
them changing a default.
I tried building gnustep-back-0.10.1 release, first with
./configure --enable-graphics=art --with-name=backart
without problem.
After install I get
/usr/GNUstep/System/Library/Bundles/libgnustep-backart-010.bundle/
as expected.
Then I make clean and go with
./configure --enable-graphics=x11 --with-name=back
and build fails at linking time with lots of:
----8<---------------------------------------------------
...
Compiling file XIMInputServer.m ...
Compiling file XWindowBuffer.m ...
Compiling file XGGLFormat.m ...
Compiling file XGGLContext.m ...
Linking subproject x11 ...
make[2]: Leaving directory
`/root/Development/GNUstep/gnustep-back-0.10.1/Source/x11'
make[2]: Entering directory
`/root/Development/GNUstep/gnustep-back-0.10.1/Source/x11'
Making all for subproject x11...
make[3]: Nothing to be done for `internal-subproject-all'.
make[2]: Leaving directory
`/root/Development/GNUstep/gnustep-back-0.10.1/Source/x11'
Making all for bundle libgnustep-back-010...
Creating libgnustep-back-010.bundle/....
Compiling file GSBackend.m ...
GSBackend.m: In function '+[GSBackend initializeBackend]':
GSBackend.m:56: warning: 'XGServer' may not respond to '+initializeBackend'
GSBackend.m:56: warning: (Messages without a matching method signature
GSBackend.m:56: warning: will be assumed to return 'id' and accept
GSBackend.m:56: warning: '...' as arguments.)
Linking bundle libgnustep-back-010 ...
./x11/shared_obj/subproject.o: In function `xgps_cursor_image':
: multiple definition of `xgps_cursor_image'
./x11/shared_obj/subproject.o:: first defined here
./x11/shared_obj/subproject.o:(.rodata+0xe0): multiple definition of
`__objc_category_name_NSTextView_InputMethod'
./x11/shared_obj/subproject.o:(.rodata+0xe0): first defined here
./x11/shared_obj/subproject.o: In function `RPutXImage':
: multiple definition of `RPutXImage'
./x11/shared_obj/subproject.o:: first defined here
./x11/shared_obj/subproject.o: In function `XGErrorHandler':
: multiple definition of `XGErrorHandler'
./x11/shared_obj/subproject.o:: first defined here
./x11/shared_obj/subproject.o:(.rodata+0x100): multiple definition of
`__objc_category_name_XGServer_X11Ops'
./x11/shared_obj/subproject.o:(.rodata+0x100): first defined here
./x11/shared_obj/subproject.o:(.rodata+0x950): multiple definition of
`__objc_category_name_NSEvent_WindowHack'
./x11/shared_obj/subproject.o:(.rodata+0x950): first defined here
./x11/shared_obj/subproject.o:(.rodata+0x104): multiple definition of
`__objc_category_name_XGServer_XSync'
./x11/shared_obj/subproject.o:(.rodata+0x104): first defined here
...
----8<---------------------------------------------------
and so on... until it gives up with:
----8<---------------------------------------------------
...: multiple definition of `RCreateXImage'
./x11/shared_obj/subproject.o:: first defined here
collect2: ld returned 1 exit status
make[2]: *** [libgnustep-back-010.bundle/./libgnustep-back-010] Error 1
make[1]: *** [libgnustep-back-010.all.bundle.variables] Error 2
make[1]: Leaving directory
`/root/Development/GNUstep/gnustep-back-0.10.1/Source'
make: *** [internal-all] Error 2
----8<---------------------------------------------------
Also tried with a fresh untarring instead of simply make clean.
Using the latests release versions gnustep-back-0.10.1,
gnustep-base-1.11.1, gnustep-gui-0.10.1, gnustep-make-1.11.1 on Debian
unstable, with these packages:
||/ Name Version
+++-==============================-=====================
ii gcc-4.0 4.0.2-2
ii gcc-4.0-base 4.0.2-2
ii gobjc-4.0 4.0.2-2
ii kernel-image-2.6-amd64-k8 103
ii libart-2.0-2 2.3.17-1
ii libart-2.0-dev 2.3.17-1
ii libaudiofile-dev 0.2.6-6
ii libaudiofile0 0.2.6-6
ii libc6 2.3.5-7
ii libc6-dev 2.3.5-7
ii libffcall1 1.10-2
ii libffcall1-dev 1.10-2
ii libfreetype6 2.1.10-1
ii libfreetype6-dev 2.1.10-1
ii libgcc1 4.0.2-2
ii libglib2.0-0 2.8.3-1
ii libglib2.0-data 2.8.3-1
ii libjpeg62 6b-10
ii libjpeg62-dev 6b-10
ii libpng10-0 1.0.18-1
ii libpng12-0 1.2.8rel-5
ii libpng12-dev 1.2.8rel-5
ii libpng2 1.0.18-1
ii libpng3 1.2.8rel-5
ii libpng3-dev 1.2.8rel-1
ii libssl-dev 0.9.8a-2
ii libssl0.9.8 0.9.8a-2
ii libtiff-opengl 3.7.4-1
ii libtiff-tools 3.7.4-1
ii libtiff4 3.7.4-1
ii libtiff4-dev 3.7.4-1
ii libtiffxx0c2 3.7.4-1
ii libungif4g 4.1.3-3
ii libx11-6 6.8.2.dfsg.1-9
ii libx11-dev 6.8.2.dfsg.1-9
ii libxslt1-dev 1.1.15-1
ii libxslt1.1 1.1.15-1
ii zlib1g 1.2.3-6
ii zlib1g-dev 1.2.3-6
Thanks in advance!
///Pablo
- Compiling two backends,
Pablo Di Noto <=