I find out the two problems (you have already pointed) :
1) System should be compiled before Menuserver
2) etoile.make does not handle fine linking libWorkspaceCommKit in Etoile/Build directory. This comes from the value of PROJECT_DIR is not 'WorkspaceCommKit' but 'System'. So etoile.make doesn't find libWorkspaceCommKit and doesn't link it in Etoile/build
This patch works for me.
Fred.
2006/10/20, Frédéric Point <
[EMAIL PROTECTED]>:
This workaround works here.
Thanx Quentin2006/10/20, Quentin Mathé <[EMAIL PROTECTED]>:Le 20 oct. 06 à 14:08, Frédéric Point a écrit :
> Hi,
>
> This morning, I tried to compile Etoilé from the latest SVN and
> compilation failed on MenuServer :
>
> Linking app EtoileMenuServer ...
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/
> bin/ld: ne peut trouver -lWorkspaceCommKit
> collect2: ld a retourné 1 code d'état d'exécution
> make[1]: *** [EtoileMenuServer.app /./EtoileMenuServer] Erreur 1
> make: *** [EtoileMenuServer.all.app.variables] Erreur 2
>
> I think this comes from the compilation's sequence of the subprojects.
Thanks for the report, I will fix it. I probably forgot to include
etoile.make in WorkspaceCommKit or etoile.make doesn't work properly
for WorkspaceCommKit… or MenuServer is currently built before System.
In the meantime, you can compile and install Etoile/Services/Private/
System/WorkspaceCommKit before building the repository to work around
the problem.
Cheers,
Quentin.
--
Quentin Mathé
[EMAIL PROTECTED]
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev
diff -ur Etoile.orig/Services/Private/GNUmakefile Etoile/Services/Private/GNUmakefile
--- Etoile.orig/Services/Private/GNUmakefile 2006-10-26 13:06:44.000000000 +0200
+++ Etoile/Services/Private/GNUmakefile 2006-10-26 13:07:45.000000000 +0200
@@ -37,12 +37,12 @@
SUBPROJECTS += Azalea
endif
-ifeq ($(menuserver),yes)
- SUBPROJECTS += MenuServer
-endif
-
ifeq ($(system),yes)
SUBPROJECTS += System
endif
+ifeq ($(menuserver),yes)
+ SUBPROJECTS += MenuServer
+endif
+
include $(GNUSTEP_MAKEFILES)/aggregate.make
diff -ur Etoile.orig/Services/Private/System/WorkspaceCommKit/GNUmakefile.preamble Etoile/Services/Private/System/WorkspaceCommKit/GNUmakefile.preamble
--- Etoile.orig/Services/Private/System/WorkspaceCommKit/GNUmakefile.preamble 2006-10-26 13:06:43.000000000 +0200
+++ Etoile/Services/Private/System/WorkspaceCommKit/GNUmakefile.preamble 2006-10-26 13:08:45.000000000 +0200
@@ -1,2 +1,3 @@
+PROJECT_DIR = $(CURDIR)
ADDITIONAL_OBJCFLAGS += -W -Wall -Wno-unused -Wno-import
_______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
