make crashes on Debian Squeeze on Sparc64 with "undefined reference to `__sync_fetch_and_add_4"

2011-03-07 Thread RR
threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a db1-ast/libdb1.a -> asterisk astobj2.o: In function `ast_atomic_fetchadd_int': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' /u

Re: undefined reference to `gettid'

2008-04-29 Thread Joost Witteveen
2008/4/28 Mathieu Malaterre <[EMAIL PROTECTED]>: > On Mon, Apr 28, 2008 at 5:24 PM, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> > wrote: > > Mathieu Malaterre wrote: > > > Should I simply assumed that gettid should not be used and instead > > > replaced it with pthread_self as this should be the

Re: undefined reference to `gettid'

2008-04-28 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/28/08 10:30, Mathieu Malaterre wrote: > On Mon, Apr 28, 2008 at 5:24 PM, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> > wrote: >> Mathieu Malaterre wrote: >> > Should I simply assumed that gettid should not be used and instead >> > replaced it wit

Re: undefined reference to `gettid'

2008-04-28 Thread Eduardo M KALINOWSKI
Mathieu Malaterre wrote: > On Mon, Apr 28, 2008 at 5:24 PM, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> > wrote: > >> Mathieu Malaterre wrote: >> > Should I simply assumed that gettid should not be used and instead >> > replaced it with pthread_self as this should be the default on all >> > lin

Re: undefined reference to `gettid'

2008-04-28 Thread Mathieu Malaterre
On Mon, Apr 28, 2008 at 5:24 PM, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: > Mathieu Malaterre wrote: > > Should I simply assumed that gettid should not be used and instead > > replaced it with pthread_self as this should be the default on all > > linux/debian system ? > > > > >From man

Re: undefined reference to `gettid'

2008-04-28 Thread Eduardo M KALINOWSKI
Mathieu Malaterre wrote: > Should I simply assumed that gettid should not be used and instead > replaced it with pthread_self as this should be the default on all > linux/debian system ? > >From man gettid(2): NOTES Glibc does not provide a wrapper for this system call; call it using

undefined reference to `gettid'

2008-04-28 Thread Mathieu Malaterre
7;: gettid.c:(.text+0xe): undefined reference to `gettid' collect2: ld returned 1 exit status Should I simply assumed that gettid should not be used and instead replaced it with pthread_self as this should be the default on all linux/debian system ? Thanks, -- Mathieu -- To UNSUBSCRIBE, email

Undefined reference to '...'

2006-02-06 Thread manikandan.selvaraju
txTask.o: In function `TxMgrTask::TxMgrTask(RWCString, int, int)':txTask.C:(.text+0x6b37): undefined reference to `DDMSDBAgentManager::DDMSDBAgentManager(TxMgrTask*, int, int)'txTask.o: In function `TxMgrTask::TxMgrTask(RWCString, int, int)':txTask.C:(.text+0x7e47): undefin

Re: undefined reference to 'something'

2005-07-12 Thread Kevin B. McCarty
Yinghong Zhou wrote: > Thank you very much for your reply! > > Your are absolute right. The wsmp was written by Fortran. > After I added the underscore, I have new "undefined reference" coming up. > Here is a few examples of them: > : undefined reference to `ftn_i

Re: undefined reference to 'something'

2005-07-12 Thread Yinghong Zhou
Hi Kevin: Thank you very much for your reply! Your are absolute right. The wsmp was written by Fortran. After I added the underscore, I have new "undefined reference" coming up. Here is a few examples of them: : undefined reference to `ftn_i_jishft' ../lib/libwsmp64.a(torder.

Re: undefined reference to 'something'

2005-07-12 Thread Kevin B. McCarty
Yinghong Zhou wrote: > I also used rtc() in my program. The linker doesn't report error on this > one. Following is how I declare the functions in my program: > > extern "C" { > void wssmp( int* N, int* IA, int* JA, double* AVALS, double* DIAG, > int* PERM, int* INVP, doub

undefined reference to 'something'

2005-07-12 Thread Yinghong Zhou
Hi all: I am trying to compile sparse matrix solver, wsmp, in my program. But I always get following error message: /home/YZhou/Cprogram/sparse_test/lss.cpp:108: undefined reference to `wsetnobigmal' /tmp/ccYLWe54.o(.text+0x1f5):/home/YZhou/Cprogram/sparse_test/lss.cpp:110: undefined referen

Re: error compiling kernel: undefined reference to `local symbols

2002-09-23 Thread Osamu Aoki
Few things, 1. Install gawk and select it over mawk (update-alternatives) 2. If you are using old binutils etc., upgrade them to woody 3. Get new bug free source package (2.4.19) Osamu On Mon, Sep 23, 2002 at 03:47:57PM +, Marcio Roberto Teixeira wrote: > Hi. > > I was compiling the kernel

Re: error compiling kernel: undefined reference to `local symbols

2002-09-23 Thread Stephen Gran
lib.a >/usr/src/kernel-source-2.4.16/arch/i386/lib/lib.a >\ >--end-group \ > -o vmlinux > > drivers/char/char.o(.data+0x46b4): undefi

error compiling kernel: undefined reference to `local symbols

2002-09-23 Thread Marcio Roberto Teixeira
-end-group \ -o vmlinux drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols in discarded section .text.exit' make[1]: ** [vmlinux] Erro 1 make[1]: Leaving directory `/usr/src/kernel-source-2.4.16' make: ** [stamp-build] Erro 2 f

Re: undefined reference to __ctype

2002-01-19 Thread Ron Johnson
On Sat, 19 Jan 2002 17:09:27 -0300 Mike G <[EMAIL PROTECTED]> wrote: > Hi all! > I'm trying to compile a program and I get undefined reference to > __ctype > on the isdigit() function, it on woody machine. Any one got this ever? any > idea? > > thanks i

Re: undefined reference to __ctype

2002-01-19 Thread dman
On Sat, Jan 19, 2002 at 05:09:27PM -0300, Mike G wrote: | Hi all! | I'm trying to compile a program and I get undefined reference to | __ctype on the isdigit() function, it on woody machine. Any one got | this ever? any idea? What's the code and what are the compiler options? $

undefined reference to __ctype

2002-01-19 Thread Mike G
Hi all! I'm trying to compile a program and I get undefined reference to __ctype on the isdigit() function, it on woody machine. Any one got this ever? any idea? thanks in advance

Re: Any >undefined reference to 'crypt'< solution?

2001-05-24 Thread David Z. Maze
IronHand <[EMAIL PROTECTED]> writes: IH> Could anybody posibly tell me why some source codes using crypt() with IH> shadowed passwords crush linker? Make sure you're linking against the crypt library (-lcrypt shows up on the link command line). -- David Maze [EMAIL PROTECTED] http:

Re: Any >undefined reference to 'crypt'< solution?

2001-05-24 Thread Petr \[Dingo\] Dvorak
> ccc.o(.text+0xMMM): undefined reference to 'crypt' I> . I> . I> . I> -- I> compiling Pine or Popa3d. Is there any solution? edit the Makefile and add '-lcrypt' to

Any >undefined reference to 'crypt'< solution?

2001-05-24 Thread IronHand
Hello! Could anybody posibly tell me why some source codes using crypt() with shadowed passwords crush linker? I get an error: -- xxx.o: In function 'yyy' ccc.o(.text+0xMMM): undefined reference

Re: undefined reference to `atexit'

2001-04-16 Thread Ben Collins
fpq -lpq > /usr/lib/libcrypto.so.0.9.6: undefined reference to `atexit' > collect2: ld returned 1 exit status The libssl (libcrypto) was compiled with a buggy version of gcc. It needs to be recompiled. The version in unstable and (afaik) woody,

Re: undefined reference to `atexit'

2001-04-16 Thread D-Man
/lib/libcrypto.so.0.9.6: undefined reference to `atexit' | collect2: ld returned 1 exit status | | But if I compile a very small program that calls atexit() directly, it has | no problem finding it, even though I specify no library at all. | As far as I can see, atexit() is part of libc6.

undefined reference to `atexit'

2001-04-16 Thread Oliver Elphick
Can anyone offer a solution for this: gcc -pipe -L /home/olly/mypackages/eiflibs/eifpgsql/C -L /home/olly/mypackages/eiflibs/datetime/C edbgen1.o edbgen2.o edbgen3.o edbgen4.o -lgdk -lgtk -leifutils -leifpq -lpq /usr/lib/libcrypto.so.0.9.6: undefined reference to `atexit' collect2: ld ret

undefined reference to `__inet_addr' error while compilling libmilter sample.c.

2001-03-17 Thread Romanenko M.A.
`mi_milteropen': listener.o(.text+0x246): undefined reference to `__inet_addr' /usr/lib/libmilter/libmilter.a(engine.o): In function `st_connectinfo': engine.o(.text+0x714): undefined reference to `__inet_aton' collect2: ld returned 1 exit status make: *** [sample] Error 1 Befo

undefined reference to `getpwnam_r@@GLIBC_2.0'

2000-10-17 Thread Krzys Majewski
I'm getting these errors when compiling stuff: /usr/X11R6/lib/libX11.so.6: undefined reference to `getpwnam_r@@GLIBC_2.0' /usr/X11R6/lib/libX11.so.6: undefined reference to `getpwuid_r@@GLIBC_2.0' I upgraded my libc from "stable" to "unstable" last night,

Re: Undefined reference to '...'

1997-09-05 Thread Jason Gunthorpe
On Thu, 4 Sep 1997, Gonzalo A. Diethelm wrote: > On Sep 3, 1997, at 13:47, Jason Gunthorpe wrote: > > The trouble is that it doesn't recursively instantiate, ie if you use STL > > and put the line > > > > template class vector; > > > > In some .cc file to force instantiation then you w

Re: Undefined reference to '...'

1997-09-05 Thread Gonzalo A. Diethelm
On Sep 3, 1997, at 13:47, Jason Gunthorpe wrote: > I would like to point out that GCC doesn't explicitly instantiate too well > when running with -fno-implicit-templates, which is what I would like to > use in my sources.. That's a shame... Hopefully, egcs will do a better job. > The trouble

Re: Undefined reference to '...'

1997-09-03 Thread Rob Browning
Jason Gunthorpe <[EMAIL PROTECTED]> writes: > I hope egcs fixes alot of problems like this :< I believe it does, and again, you can solve all these problems with the existing gcc and the repo patch. One thing I didn't mention before was that you do need to compile your code with -frepo. -- Rob

Re: Undefined reference to '...'

1997-09-03 Thread Jason Gunthorpe
> On 03-Sep-97 Gonzalo A. Diethelm wrote: > > > >The only official way sanctioned by the upcoming C++ ANSI/ISO standard > >to instantiate templates is to explicitly mention the types you want > >to use for instantiation. All of the repository techniques that exist, > >some better, some worse, are

Re: Undefined reference to '...'

1997-09-03 Thread Orn E. Hansen
On 03-Sep-97 Gonzalo A. Diethelm wrote: > >The only official way sanctioned by the upcoming C++ ANSI/ISO standard >to instantiate templates is to explicitly mention the types you want >to use for instantiation. All of the repository techniques that exist, >some better, some worse, are not standard

Re: Undefined reference to '...'

1997-09-03 Thread Gilbert Laycock
> "Gonzalo" == Gonzalo A Diethelm <[EMAIL PROTECTED]> writes: [Good advice on The Right Way to use templates] Gonzalo> If your compiler supports explicit template instantiation Gonzalo> with the standard 'template class MyClass;' mechanism Gonzalo> (as g++ appears to), then this is what I woul

Re: Undefined reference to '...'

1997-09-03 Thread Gonzalo A. Diethelm
On Sep 2, 1997, at 20:11, Orn E. Hansen wrote: > I tried using the 'template class ...' and that did the trick, > but I agree that it is of limited use though. Kinda limits the > generality of your code, if you have to know the type ofevery > template class before hand. So, I'm going to lo

Re: Undefined reference to '...'

1997-09-02 Thread Jason Gunthorpe
On 8859 xxx 2001, Orn E. Hansen wrote: ^^ Orn, your mailer is formatting dates in a way that pine doesn't understand :< > On 02-Sep-97 David B. Teague wrote: > > > >you will find a big section that explains how to do the template > >instantantiation with the template class and implementa

Re: Undefined reference to '...'

1997-09-02 Thread Orn E. Hansen
On 02-Sep-97 David B. Teague wrote: > >you will find a big section that explains how to do the template >instantantiation with the template class and implementation in separate >files. > >There are pragmas for this, and the technique taht Borland C++ uses for >this works (according to the info file

Re: Undefined reference to '...'

1997-09-02 Thread Rob Browning
I found the pointer to the template repository patch for gcc 2.7.*. It's ftp.cygnus.com/pub/g++/gcc-2.7.*-repo.gz. -- Rob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .

Re: Undefined reference to '...'

1997-09-02 Thread Orn E. Hansen
I tried using the 'template class ...' and that did the trick, but I agree that it is of limited use though. Kinda limits the generality of your code, if you have to know the type ofevery template class before hand. So, I'm going to look up the site you suggested and try their snapshot. Tru

Re: Undefined reference to '...'

1997-09-02 Thread Orn E. Hansen
temp.C -o temp.o >g++ -c tempMain.C -o tempMain.o >g++ tempMain.o temp.o -o Temp tempMain.o: In function `main': tempMain.o(.text+0xe): undefined reference to `ancestor::ancestor(int)' tempMain.o(.text+0x1a): undefined reference to `ancestor::dump(void)' tempMain.o(.text+0x2a):

Re: Undefined reference to '...'

1997-09-02 Thread Rob Browning
Gilbert Laycock <[EMAIL PROTECTED]> writes: > I believe that this (and many other) problems have been fixed for > gcc/g++ 2.8 which is apparently nearly-but-not-quite-ready for release > (and has been for some time now). You can also solve this problem in 2.7.2* by using the repo patch (available

Re: Undefined reference to '...'

1997-09-02 Thread David B. Teague
Hi Gilbert and Orn: Read info gcc: use the command control s template instantiation you will find a big section that explains how to do the template instantantiation with the template class and implementation in separate files. There are pragmas for this, and the technique taht Borland C++

Re: Undefined reference to '...'

1997-09-02 Thread Gilbert Laycock
> Orn E Hansen <[EMAIL PROTECTED]> writes: > The program compiles without errors, but when the linker is to link the > object files, it is persistent that the reference to 'something' within > the main program is undefined to 'ancestor<...>'. Every reference to > the object 'ancestor' is

Re: Undefined reference to '...'

1997-09-01 Thread Robert Resendes
temp.C -o temp > temp ancestor() ancestor.myvar: 5 ~ancestor() > gcc temp.C -o temp /tmp/cca021531.o: In function `ancestor::~ancestor(void)': /tmp/cca021531.o(.text+0x6d): undefined reference to `endl(ostream &)' /tmp/cca021531.o(.text+0x77): undefined reference

Undefined reference to '...'

1997-09-01 Thread Orn E. Hansen
I've encountered a condition in GNU C++, where I define the following template function... template class ancestor { private: ... public: ancestor() ~ancestor() }; template ancestor::ancestor() { ... } ... and use it in a main program... main() { ancestor something; something... }

Re: g++ undefined reference to '__getfpucw'

1996-12-12 Thread joost witteveen
> > Hello, > > > I am still Debian1.1 - compiling a C++ program, which used to > compile cleanly only a few weeks ago, gives me the following > error message: > /lib/libm.so.5: undefined reference to '__getfpucw' Well, if you are pure Debian-1.1, and

g++ undefined reference to '__getfpucw'

1996-12-10 Thread Marek Duszynski
Hello, I am still Debian1.1 - compiling a C++ program, which used to compile cleanly only a few weeks ago, gives me the following error message: /lib/libm.so.5: undefined reference to '__getfpucw' Do I need to upgrade any libraries ? Can anybody help me sort this