Re: [PHP-DEV] Re: [PHP-BETA] Re: [PHP-DEV] Re: [PHP-BETA] New tarball rolled - Monday 10:30 AM EST From: Rasmus Lerdorf (rasmus <email protected>)
Date: 12/21/98

> U ber_dup
> U ber_free
> U ber_get_int
> U ber_get_next
> U ber_init
> U ber_peek_tag
> U ber_printf
> U ber_reset
> U ber_scanf
> U ber_skip_tag

Doesn't the 'U' there mean undefined? These are just telling you that
libldap has references to these functions and that they are not defined
within this library. You must somehow be linking -llber anyway.

Without -llber I get:

Undefined first referenced
 symbol in file
ber_get_stringa /usr/local/lib/libldap.a(request.o)
ber_dup /usr/local/lib/libldap.a(result.o)
ber_get_int /usr/local/lib/libldap.a(result.o)
ber_printf /usr/local/lib/libldap.a(result.o)
ber_init /usr/local/lib/libldap.a(result.o)
ber_write /usr/local/lib/libldap.a(request.o)
ber_reset /usr/local/lib/libldap.a(result.o)
ber_flush /usr/local/lib/libldap.a(abandon.o)
ber_scanf /usr/local/lib/libldap.a(result.o)
ber_peek_tag /usr/local/lib/libldap.a(result.o)
ber_get_next /usr/local/lib/libldap.a(result.o)
ber_free /usr/local/lib/libldap.a(result.o)
ber_bvecfree /usr/local/lib/libldap.a(free.o)
ber_dump /usr/local/lib/libldap.a(request.o)
ber_skip_tag /usr/local/lib/libldap.a(result.o)
ber_alloc_t /usr/local/lib/libldap.a(request.o)
ld: fatal: Symbol referencing errors. No output written to php

-Rasmus

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>