[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange behavior in adding functions to glibc
From: |
Justin Hibbits |
Subject: |
Strange behavior in adding functions to glibc |
Date: |
Sun, 20 Jun 2004 20:48:14 -0400 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've added some functions to glibc in my latest build (glibc 2.2.5),
but they don't seem to be found when dynamically linking. The
functions I added were:
strlcpy
strlcat
fgetln
fparseln
from BSD. Programs build fine if I link statically, and the symbols
exist in libc.so.6, but when linking dynamically, I get:
undefined reference to "strlcpy" (or insert function name here).
To add the functions, I added the files to stdio/ and string/, and
added the function names to the corresponding Makefiles.
Is there something else I need to do to get it working? If more info
is needed (symbol addresses, gcc specs file, etc), just ask.
Thanks,
Justin Hibbits
- --
"One World, One Web, One Program"
- Microsoft Promo Ad
"Ein Volk, Ein Reich, Ein Fuhrer"
- Adolf Hitler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFA1jBUqt29EJDZlM4RAoq2AJ9nyMl7J933bSEr61whIdR6s24q8ACfQPoM
j/dOapSJyQFNQjh5DSBgytE=
=VVgA
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Strange behavior in adding functions to glibc,
Justin Hibbits <=