Re: GNOME 1.4 beta 2 is staged



On 28 Feb 2001 10:09:54 -0600, Ade Lovett wrote:
>   2. xalf refuses to build in lib/, complaining at length about
>      overloading _init().

I have send a patch in this list on Feb 13 for compiling xalf with
latest gcc and I couldn't test
it on previous version of gcc (ie older than 2.96). Someone should check
that and either :
-include original patch 
-modify patch to change _init depending on gcc version

-- 
Frédéric Crozat
MandrakeSoft
--- xalf-0.7/lib/xalflaunch.c.orig	Mon Feb 12 20:10:19 2001
+++ xalf-0.7/lib/xalflaunch.c	Tue Feb 13 10:19:03 2001
@@ -38,8 +38,8 @@
 static void restore_env();
 static long int launch_pid = 0;
 
-void
-_init () {
+void initialize (void) __attribute__ ((constructor));
+void initialize (void) {
     char *pid_string;
     void *dlh = NULL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]