Variable cannot be auto-imported
Ralf Habacker
ralf.habacker at freenet.de
Thu Jan 29 16:24:35 CET 2004
On Thursday 29 January 2004 04:26, Tyler Hepworth wrote:
> I am trying to compile kopete-0.8rc1. During make, I get many dozens of
> messages that say "variable <var> can't be auto-imported. Please read the
> documentation for ld's --enable-auto-import for details." I have read the
> documentation and the suggested solutions:
>
> --enable-runtime-pseudo-reloc
>
> change values to a constant
>
> etc.
>
> but, I really have no idea what all of that means or how to implement it.
The ld documentation conatins documentation about this issues. You can browse
it with konqueror on cygwin using the url "info:ld". See topics "Machine
dependent/WIN32" and topic "Invocation/Options". As host explanation is:
`--enable-runtime-pseudo-reloc'
If your code contains expressions described in -enable-auto-import
section, that is, DATA imports from DLL with non-zero offset, this
switch will create a vector of 'runtime pseudo relocations' which
can be used by runtime environment to adjust references to such
data in your client code. [This option is specific to the i386 PE
targeted port of the linker]
> Do you need to see the output of the make file? I have it saved and can
> send it if you wish. Or, can you tell me what I have to do to clear this
> up without seeing the file?
>
This is probably not required. Please use the following configure line
CXXFLAGS="-fdata-sections" CFLAGS="-fdata-sections"
LDFLAGS="-Wl,--enable-runtime-pseudo-reloc" ./configure --prefix=/opt/kde3
--with-qt-dir=/opt/qt/3.2 --disable-rpath --disable-closure
If you have more problems, please let me know.
BTW: Before configuring, you should apply
http://kde-cygwin.sourceforge.net/snapshots/kde-cygwin-admin-patch-3.1.4.tar.bz2
and run
export PATH=/usr/autotool/devel/bin:$PATH
make -f Makefile.cvs
... configure ...
This may reduce additional problems. If you don't have a Makefile.cvs in your
tarball, you can use the appended one.
Cheers
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.cvs
Type: text/x-makefile
Size: 389 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-cygwin/attachments/20040129/e4d304e5/Makefile.bin
More information about the kde-cygwin
mailing list