FreeBSD linking question
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sun Jan 22 22:26:34 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Neundorf schrieb:
> Hi,
>
> always when I try to link libkio on FreeBSD 5.4, I get an undefined reference
> to "environ".
> Is this normal ? Am I missing some library ? Does this reference onyl get
> resolved when linking an executable ?
Win32 uses _environ instead environ and it should be defined in
stdlib.h. It gets explicit defined in kurlcompletion.cpp (~line 760) so
you don't get a compiler error there.
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD0/iKHAIuqbOiZ+kRAmhLAJ4q112WGM2fM3Ph0S3Bh1l9Hxs4vQCfVw/6
JXiHORLnqPDII1ZtCwA9ykI=
=RQUt
-----END PGP SIGNATURE-----
More information about the Kde-buildsystem
mailing list