Re: Compile problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
> 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux