This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile problem


On Sat, 2006-01-28 at 17:49 +0100, Sven Eschenberg wrote:
> 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?
> > 
> 

The libs are installed, now I am getting this (traceback):
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "main.py", line 15, in ?
    import context
  File "context.py", line 22, in ?
    global_context = {
ImportError: No module named version

Sorry I am learning this stuff. :(

-- 
Best regards,
~WILL~
Public Key: 0xC8E166BB
Key: http://code-heads.com/keys/ch1.asc
Linux Registered User: 406084

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]