[Xfce4-commits] <xfce4-sensors-plugin:master> and more leftovers from the git-suck

Amir Aupov fads93 at gmail.com
Sat Mar 26 14:05:51 CET 2011


On Sat, 26 Mar 2011 15:31:44 +0300
Amir Aupov <fads93 at gmail.com> wrote:

> Latest git snapshot still not compiling due to 
> next troubles.
> while compiling:
> 
> sensors-interface.c:108:17: error: too many arguments to function 'notify_notification_new'
> hddtemp.c:115:5: error: too many arguments to function 'notify_notification_new'
> hddtemp.c:460:27: error: 'HDDTEMP_PORT' undeclared (first use in this function)
> 
> while linking:
> 
> libtool: link:  gcc -shared  -fPIC -DPIC  .libs/libxfce4sensors_la-middlelayer.o .libs/libxfce4sensors_la-configuration.o .libs/libxfce4sensors_la-sensors-interface-common.o .libs/libxfce4sensors_la-sensors-interface.o .libs/libxfce4sensors_la-cpu.o .libs/libxfce4sensors_la-lmsensors.o .libs/libxfce4sensors_la-hddtemp.o .libs/libxfce4sensors_la-acpi.o .libs/libxfce4sensors_la-nvidia.o   -L/usr/lib64 -lxfcegui4 -lxfce4panel-1.0 /usr/lib64/libgtk-x11-2.0.so -lxfce4util /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so -lEGL /usr/lib64/libXrender.so -lX11 /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -lGL /usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lsensors -lnotify /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libpng14.so -lz -lm /usr/lib64/libgobject-2.
 0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libglib-2.0.so  -pthread -pthread -pthread -pthread -O2 -pthread -pthread -Wl,--export-dynamic -pthread @NVIDIA_LIBS@ -pthread   -pthread -Wl,-soname -Wl,libxfce4sensors.so.1 -Wl,-version-script -Wl,.libs/libxfce4sensors.ver -o .libs/libxfce4sensors.so.1.0.0
> gcc: @NVIDIA_LIBS@: No such file or directory
> 
> the last one is my fault, NVIDIA_LIBS must be set in -lX11 -lXext -lXNVCtrl, but i didn't know how to set it when i sent the patch.
> (sorry for my english)
> -- 
> Amir Aupov <fads93 at gmail.com>

fix to missing @NVIDIA_LIBS@: 
diff --git a/configure.in.in b/configure.in.in
index 0ca80c0..781624f 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -243,6 +243,7 @@ if test x"$enable_xnvctrl" = x"yes"; then
     enable_xnvctrl=yes
 AC_SUBST([NVIDIA_CFLAGS])
 AC_SUBST([NVIDIA_LDFLAGS])
+AC_SUBST([NVIDIA_LIBS])
 fi
 
 
-- 
Amir Aupov <fads93 at gmail.com>




More information about the Xfce4-commits mailing list