I have no Xfce 4.0.x installed in my /usr. I use debian stable, with manually installed gtk2 libraries. During the build (manually or with the installer) i get the following error: gcc -g -O2 -o xfcalendar xfcalendar-about-xfcalendar.o xfcalendar-callbacks.o xfcalendar-interface.o xfcalendar-main.o xfcalendar-mainbox.o xfcalendar-reminder.o xfcalendar-support.o xfcalendar-tray_icon.o xfcalendar-xfce_trayicon.o -Wl,--export-dynamic -Wl,-R/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib /usr/local/lib/libxfcegui4.so /usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libdbh.so -lm /usr/local/lib/libxfce4mcs-client.so -lSM -lICE -lX11 /usr/local/lib/libxfce4util.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so xfcalendar-about-xfcalendar.o: In function `create_wAbout': /opt/xfce-4.2.0/src-bz2/xfcalendar-4.2.0/src/about-xfcalendar.c:41: undefined reference to `xfce_builtin_license_GPL' collect2: ld returned 1 exit status The same bug was discribe here : http://www.os-cillation.de/cgi-bin/yabb/YaBB.cgi?board=Help;action=display;num=1104832969 When i build manually xffm, xfdesktop and xfprint, i have the same bug with message : undefined reference to `xfce_builtin_license_LGPL' or undefined reference to `xfce_builtin_license_BSD' Sorry but i don't speak english ++ Aur
Hi, in which directory are you trying to install xfcalendar? /usr or /usr/local? Cheers Korbinus
Hi, I have not specify an installation prefix in 'configure'. So, my install directory is /usr/local. ++ Aur
This symbol should be in /usr/local/lib/libxfce4util.so which is in your link list of libraries. Could you let us know what is the outcome of: nm /usr/local/lib/libxfce4util.so | grep license It should give something like: $ nm libxfce4util.so| grep license 00009d80 R xfce_builtin_license_BSD 0000a240 R xfce_builtin_license_GPL 0000e8a0 R xfce_builtin_license_LGPL if your nm does not find those licenses there must be something wrong in the installation of libxfce4util. But let's check first if those symbols are in place or not.
On my computer : $ nm /usr/local/lib/libxfce4util.so | grep license 00009f80 ? xfce_builtin_license_BSD 0000a440 ? xfce_builtin_license_GPL 0000eaa0 ? xfce_builtin_license_LGPL ++ Aur
There definitely is something wrong in the libxfce4util since symbol types are unknown. Could you try to relink it ? Go to libxfce4util-4.2.0 directory and do: configure make sudo make install That might at least give some hints what is going wrong.
Created attachment 177 log file of order 'configure' for libxfce4util-4.2.0
Created attachment 178 log file of orders 'make' and 'make install' for libxfce4util-4.2.0
I rebuilt the library 'libxfce4util-4.2.0' without problem (I joined the log files). But the order 'nm /usr/local/lib/libxfce4util.so | grep license' always returns : 00009f80 ? xfce_builtin_license_BSD 0000a440 ? xfce_builtin_license_GPL 0000eaa0 ? xfce_builtin_license_LGPL
Those logs were usefull. From the logs I can see that libxfce4util_la-licenses-texts.o is not getting generated. And I bet your nm gives same unknowns from there: $nm libxfce4util_la-licenses-texts.o|grep lic 00000000 R xfce_builtin_license_BSD 000004c0 R xfce_builtin_license_GPL 00004b20 R xfce_builtin_license_LGPL Could you check what date you have on libxfce4util-4.2.0/libxfce4util/libxfce4util_la-licenses-texts.o it seems that it was not generated in your system, but was copied from somewhere else and is not in correct format now. To fix this, do make clean also like this: Go to libxfce4util-4.2.0 directory and do: configure make clean make sudo make install and check again the date of libxfce4util-4.2.0/libxfce4util/libxfce4util_la-licenses-texts.o and the symbols if correct try to compile xfcalendar
Here the orders which I carried out and their results : $nm libxfce4util_la-licenses-texts.o|grep lic 00000000 ? xfce_builtin_license_BSD 000004c0 ? xfce_builtin_license_GPL 00004b20 ? xfce_builtin_license_LGPL $ls -l libxfce4util_la-licenses-texts.o -rw-r--r-- 1 aurelien aurelien 47064 jan 27 17:36 libxfce4util_la-licenses-texts.o $./configure $make clean $make $make install $ls -l libxfce4util_la-licenses-texts.o -rw-r--r-- 1 aurelien aurelien 47064 f
strange. I am starting to believe that there is something wrong in your c compiler. You did not get any errors or warnings when the license object was generated ? What version is your gcc? $ gcc --version gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Could you try a small test code: 1) Build a file test.c: char test1[]="test1"; const char test2[]="test2"; main() { printf("hi\n"); } 2) compile it: $ make test.o cc -c -o test.o test.c no warnings ? no errors ? 3) check symbols: $ nm test.o 00000000 T main U printf 00000000 D test1 00000000 R test2 4) link it: $ make test cc test.o -o test 5) test it: $ ./test hi
I did not note error or warning when the license object was generated. Version of my gcc : $gcc --version 2.95.4 Here the result concerning the small test codes : $make test.o cc -c -o test.o test.c (no warnings ! no errors !) $nm test.o 00000000 t gcc2_compiled. 00000000 T main U printf 00000000 D test1 00000000 R test2 $make test cc test.o -o test $./test hi Aur
looks strange. Your compiler is able to handle the needed code, but for some reason it does not compile the license module correctly. I would next start looking the gcc flags, but since this problem really is not in xfcalendar code, but in core libxfce4util, those maintainers may have better idea what is causing this. need to get this reassigned to general.
reassigning to the utils owner.
(In reply to comment #14) > reassigning to the utils owner. > And I'm closing it since the utils owner nor the reported replied after 2005-02-13...