Compile problem
Sven Eschenberg
eschenb@cs.uni-frankfurt.de
Sat Jan 28 16:49:00 GMT 2006
Hi,
First: DO you have the bglibs installed ?
looking at the package contents, there is only a libbgsysdeps.a (maybe
check your system for all libbg files, see if there is a
libbg-sysdeps.so/.a ... if there is something like libbgsysdeps.so/.a
then you might need to tweak the build script, by changing:
echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main"
"$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
to
echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main"
"$$main.o" $${1+"$$@"}' -lbgsysdeps; \
But check first, how the bg sysdeps lib is called on your sys and if it
is there ...
Regards
-Sven
On Sat, 2006-01-28 at 10:53 -0500, CodeHeads wrote:
> Hello all,
>
> I have a problem compiling a program. It is for archiving ezmlm lists.
>
> This is the error:
> /usr/bin/ld: cannot find -lbg-sysdeps
> collect2: ld returned 1 exit status
>
> Here a piece of the makefile where it is generating the error:
> globals.pyc: globals.py
> python -c '__import__("globals")'
>
> load: conf-ld conf-bglibs
> ( bglibs=`head -n 1 conf-bglibs`; \
> echo '#!/bin/sh';\
> echo 'main="$$1"; shift';\
> echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main"
> "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
> ) >load
> chmod 755 load
>
> main.pyc: main.py
> python -c '__import__("main")'
>
> I searched google, rpm.bone and could not come up with anything. I am
> using fedora 4 with gcc 4.0.2-8 and python 2.4.1-2
>
> How can I fix this?
>
More information about the Gcc-help
mailing list