[BLFS][xffm-4.2.2] problem compiling.
I want to compile xffm but it wont make. the configure stage works good and have all the dependencies.
Here is the error I get. scramble-scramble.o(.text+0x5ed): In function `cifrador': /sources/xfce-4.2.2/src/xffm-4.2.2/scramble/scramble.c:140: undefined reference to `rk_glob' scramble-scramble.o(.text+0x6eb):/sources/xfce-4.2.2/src/xffm-4.2.2/scramble/scramble.c:187: undefined reference to `rk_globfree' scramble-scramble.o(.text+0x75d):/sources/xfce-4.2.2/src/xffm-4.2.2/scramble/scramble.c:187: undefined reference to `rk_globfree' collect2: ld returned 1 exit status make[2]: *** [scramble] Error 1 make[2]: Leaving directory `/sources/xfce-4.2.2/src/xffm-4.2.2/scramble' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/sources/xfce-4.2.2/src/xffm-4.2.2' make: *** [all] Error 2 I really don't know what I did wrong. The rest of xfce-4.2.2 compiled perfect and xfce is running. But I also want the file manager :confused: BTW the glob.h header is installed I checked that already. |
My first guess would be:
Did you run ldconfig as root after you installed XFCE? XFCE installs libraries that I'm sure xffm requires. xffm might not be able to link to those libraries unless you run ldconfig. Any other help would need specifics: 1. Where was XFCE installed? 2. What (if anything) does your LD_LIBRARY_PATH environment variable contain? 3. What was the configure command you used? |
Quote:
I installed it in the "default" /usr path. ld.so.conf contains these paths: /usr/local/lib /opt/lib /usr/X11R6/lib The configure command I used is <./configure --prefix=/usr --sysconfdir=/etc> for each package. PS Sorry yes I ment the file manager of xfce. |
That's odd. The only other thing I can think to ask would be: did you install all of the minimum/base packages before you tried to install xffm?
I went to download the XFCE source, and didn't run into any problems. In fact, I even automated it with a script. You can use it if you like: Code:
#!/bin/bash The PACKAGES variable lists the packages as the BLFS book lists them; so ordering is maintained through the compile process. If you don't want to install all the extra packages, just remove it from the list. Also, if you use this script, the PATH, LD_LIBRARY_PATH, and PKG_CONFIG_PATH environment vaiables are modified to make the compile run cleanly. These changes are present only in the shell script itself. You'll need to modify your startup files (whatever they may be) to include the information. Of course, if you install to a standard location (such as /usr), you won't need to update some/all of them. |
Quote:
I searched on google and saw that someone has the same problem as me with MPlayer, and had something to do with Heimdal wich overwrites the grob.h? I'll find it out... I also reinstalled both GTK versions the libc-headers and both glib libraries with no success and also ran the test suits of both GTK and glib libraries and both went succesful. |
I got it working.
I copied the glob.h from SuSE to the LFS. I ran the script again, and itś working! Very strange..... BTW the suse glob.h is 3.6 KB larger then the glob.h from the LFS libd headers file.... BTW the script is very handy, thanks again. Taco |
Glad it's working for you, but I don't know why your glob.h would be bad. In case you don't like using the one from SuSE, you can "borrow" the one from mine. For reference (since you were doing size checking earlier), the file is /usr/include/glob.h and is 7.7KB in size.
Code:
/* Copyright (C) 1991,92,95,96,97,98,2000,2001 Free Software Foundation, Inc. |
That was the problem, I checked mine from the LFS installation and it was tons smaller, only 3.2 KB!
Thanks I replace it with yours now. strange... really strange.. |
In fact Heimdal overwrites the glibc version of glob.h. The Heimdal version is only 3803 Byte, while the glibc version is 6970 Byte.
I had the same problem with compiling the libxml2 package. With the glibc version it runs without problems... |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 05:42 PM. |