octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building from urlwrite gives undefined reference to `_errno()' (MinGW bu


From: Tatsuro MATSUOKA
Subject: building from urlwrite gives undefined reference to `_errno()' (MinGW build 3.3.50+)
Date: Sun, 10 Jan 2010 08:50:47 +0900 (JST)

Hello

building from urlwrite gives undefined reference to `_errno()'

/bin/sh ../libtool --tag=CXX   --mode=link g++  -shared-libgcc -O3 
-fomit-frame-pointer 
-DHAVE_CONFIG_H -mieee-fp -I/WinDevTools/bin/../include/freetype2 
-I/WinDevTools/bin/../include
-IC:/Programs/WinDevTools/include   -Wall -W -Wshadow -Wold-style-cast -Wformat 
-O3
-fomit-frame-pointer  -O3 -fomit-frame-pointer -no-undefined -module 
-Lc:/Programs/OctaveBuild/lib 
-LC:/Programs/WinDevTools/lib -Lc:/Programs/GnuWin32/lib 
-Wl,--allow-multiple-definition -lsupc++ -o
DLD-FUNCTIONS/urlwrite.la -rpath c:/Programs/OctaveBuild/lib/octave-3.3.50+
DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo  
-Lc:/Programs/OctaveBuild/lib 
-LC:/Programs/WinDevTools/lib -Lc:/Programs/GnuWin32/lib 
-Wl,--allow-multiple-definition -lsupc++
./liboctinterp.la ../liboctave/liboctave.la ../libcruft/libcruft.la 
../libgnu/libgnu.la  -lcurl
-liberty -lm -lpthread  -lgdi32 -lws2_32 -luser32 -lkernel32

DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_urlwrite_laurlwrite.o:urlwrite.cc:(.text$_ZNK11curl_handle9lasterrorEv[curl_handle::lasterror()
const]+0x9): undefined reference to `_errno()'
DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_urlwrite_laurlwrite.o:urlwrite.cc:(.text$_ZNK11curl_handle9lasterrorEv[curl_handle::lasterror()
const]+0x2c): undefined reference to `_errno()'

The libtool link command includes '-liberty'.  In libiberty.a, I found  symbol 
'__errno'.

Any suggestions?

Regards

Tatsuro


--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]