Re: linker error: undefined reference to [EMAIL PROTECTED]

2006-04-14 Thread Premal Mishra
Hi Kris,

I was trying to build a linux binary but seems doing it the wrong way.

Problem is: I want to use a library which is built for linux. So i did
the following:

 1. cd /compat/linux
 2. linked /compat/linux/lib/libc.so.6

When i linked to libc.so.6 the undefined reference errors for
__ctype_b were gone.

How to correctly build a linux binary?

Regards
Premal.








On 4/14/06, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Fri, Apr 14, 2006 at 02:34:03AM +0530, Premal Mishra wrote:
  Hi ,
 
  Am gettin a linker error:
 
  in /compat/linux/lib/libc.so.6: undefined reference to
  [EMAIL PROTECTED]
 
  Also, there were many other similar listimgs with suffixes @GLIBC_2.2,
  @GLIBC_2.0
 
  Which library conatins these missing definitions!!!

 What are you trying to do?  I'm guessing you're trying to link FreeBSD
 code to the linux libc, which is impossible.

 Kris



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem downloading RPMs

2006-04-13 Thread Premal Mishra
Hi,

I have been tryin to install linux emulation on freeBSD. What i've done is:

#cd /usr/ports/emulators/linux_base
#make install distclean

After i do this,  a script runs looking for a particular RPMs at
various mirrors. The problem is that, no mirror sems to conatin the
file and make fails.

So i've manually downloaded an RPM each time i ran make install (as
it complained about a missing RPM). Have downloaded 15 RPM so far but
it still keeps on complaining.

Is there a way to know all the RPMs needed for installing Linux
Emulation or any better way of installing it.

Regards
Premal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linker error: undefined reference to [EMAIL PROTECTED]

2006-04-13 Thread Premal Mishra
Hi ,

Am gettin a linker error:

in /compat/linux/lib/libc.so.6: undefined reference to
[EMAIL PROTECTED]

Also, there were many other similar listimgs with suffixes @GLIBC_2.2,
@GLIBC_2.0

Which library conatins these missing definitions!!!

Regards
Premal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Linker Error: undefined reference to __ctype_b

2006-04-10 Thread Premal Mishra
Hi,

Am tryin to compile a C program which uses 3rd party library.

I get the following error during linking:

undefined reference to __ctype_b and this error comes up for many more names.

Whats may be the problem ?

Regards,
Premal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linker Error: undefined reference to __ctype_b

2006-04-10 Thread Premal Mishra
Hi,

Ya, am trying to link against a linux library on FreeBSD.

Is it not possible to use it?

Regards
Premal.

On 4/10/06, Mikko Työläjärvi [EMAIL PROTECTED] wrote:
 On Mon, 10 Apr 2006, Premal Mishra wrote:

  Hi,
 
  Am tryin to compile a C program which uses 3rd party library.
 
  I get the following error during linking:
 
  undefined reference to __ctype_b and this error comes up for many more 
  names.
 
  Whats may be the problem ?
 

 Without additional information, I'd say you are trying to link against
 a linux library.  You are presumably running FreeBSD, so that is not
 likely to work.

 But, as that particular symbol can cause problems on linux if you have
 a library built against an older version of glibc, pehaps you are
 actually running Linux?  If so, this is the wrong mailing list.

   $.02,
   /Mikko

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]