This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compile problem
- From: Sven Eschenberg <eschenb at cs dot uni-frankfurt dot de>
- To: GCC-Help <gcc-help at gcc dot gnu dot org>
- Date: Sat, 28 Jan 2006 17:49:59 +0100
- Subject: Re: Compile problem
- References: <1138463624.2440.10.camel@FC5>
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?
>