[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    duplicate symbol bug in kdeadmin/kpackage/rpmMessage.c
From:       Greg Lee <lee () hawaii ! edu>
Date:       2000-09-01 18:27:29
[Download RAW message or body]


There's a problem with the version of librpm that prevents
kdeadmin/kpackage from compiling on my Slackware 7.0 system.
The source file for rpm is called rpm-3.0.2.tar.gz, so I guess
that's its version.  Three duplicate symbols are defined in
rpmMessages.c, which problem I fixed ad hoc as indicated in
the (reference) patch below.  Now it compiles for me.

Greg Lee <lee@Hawaii.edu>

--- rpmMessages.c.orig	Fri Sep  1 08:01:35 2000
+++ rpmMessages.c	Fri Sep  1 08:04:43 2000
@@ -13,7 +13,9 @@
 static int minLevel = RPMMESS_NORMAL;
 
 #  if RPM_V1 >= 3 && RPM_V2 == 0 && (RPM_V3 == 1 || RPM_V3 ==2)
+#if 0
  char *specedit = NULL;    
+#endif
 #  endif
 
 void rpmIncreaseVerbosity(void) 
@@ -113,6 +115,7 @@
   freeSpec();
 }
 
+#if 0
 int ufdClose(FD_t fd)
 {
     return fdClose(fd);
@@ -129,6 +132,7 @@
     }
     return fd;
 }
+#endif
 #  endif
 
 #endif

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic