On Sunday, 19 April 2015 at 09:06:58 UTC, Jacob Carlborg wrote:
On 2015-04-19 10:56, Jacob Carlborg wrote:

The makefile isn't updated, see [1]. Trying adding
"STABLE_DMD_VER=2.067.0" to the command you're running.

Pull request: https://github.com/D-Programming-Language/dlang.org/pull/968

If i pass the correct information on the command line it gets past the library errors but now shows linker errors.

This is the command i'm using:

make -f posix.mak DMD=../dmd/src/dmd DUB_VER=0.9.23 STABLE_DMD_VER=2.067.0 STABLE_DMD_URL=http://downloads.dlang.org/releases/2.x/2.067.0/dmd.2.067.0.linux.zip

Here are the errors:

...
touch ../dub-0.9.23/.cloned
mkdir -p /tmp/.stable_dmd-2.067.0
TMPFILE=$(mktemp deleteme.XXXXXXXX) && curl -fsSL http://downloads.dlang.org/releases/2.x/2.067.0/dmd.2.067.0.linux.zip > ${TMPFILE}.zip && \ unzip -qd /tmp/.stable_dmd-2.067.0 ${TMPFILE}.zip && rm ${TMPFILE}.zip cd ../dub-0.9.23 && DC=/tmp/.stable_dmd-2.067.0/dmd2/linux/bin64/dmd ./build.sh
Generating version file...
Running /tmp/.stable_dmd-2.067.0/dmd2/linux/bin64/dmd...
/media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl.o): In function `_D3std3net4curl4HTTP21_sharedStaticCtor1542FZv': std/net/curl.d:(.text._D3std3net4curl4HTTP21_sharedStaticCtor1542FZv+0xf): undefined reference to `curl_version_info' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl.o): In function `_D3std3net4curl4Curl21_sharedStaticCtor1544FZv': std/net/curl.d:(.text._D3std3net4curl4Curl21_sharedStaticCtor1544FZv+0xf): undefined reference to `curl_global_init' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl.o): In function `_D3std3net4curl4Curl21_sharedStaticDtor1545FZv': std/net/curl.d:(.text._D3std3net4curl4Curl21_sharedStaticDtor1545FZv+0x5): undefined reference to `curl_global_cleanup' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c57_192.o): In function `_D3std3net4curl4HTTP4Impl6__dtorMFZv': std/net/curl.d:(.text._D3std3net4curl4HTTP4Impl6__dtorMFZv+0x19): undefined reference to `curl_slist_free_all' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c60_65b.o): In function `_D3std3net4curl4HTTP16addRequestHeaderMFAxaAxaZv': std/net/curl.d:(.text._D3std3net4curl4HTTP16addRequestHeaderMFAxaAxaZv+0x11b): undefined reference to `curl_slist_append' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c79_ea.o): In function `_D3std3net4curl3FTP4Impl6__dtorMFZv': std/net/curl.d:(.text._D3std3net4curl3FTP4Impl6__dtorMFZv+0x18): undefined reference to `curl_slist_free_all' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c79_ea.o): In function `_D3std3net4curl3FTP3dupMFZS3std3net4curl3FTP': std/net/curl.d:(.text._D3std3net4curl3FTP3dupMFZS3std3net4curl3FTP+0xab): undefined reference to `curl_slist_append' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c79_ea.o): In function `_D3std3net4curl3FTP13clearCommandsMFZv': std/net/curl.d:(.text._D3std3net4curl3FTP13clearCommandsMFZv+0x20): undefined reference to `curl_slist_free_all' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c79_ea.o): In function `_D3std3net4curl3FTP10addCommandMFAxaZv': std/net/curl.d:(.text._D3std3net4curl3FTP10addCommandMFAxaZv+0x67): undefined reference to `curl_slist_append' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c7e_432.o): In function `_D3std3net4curl4Curl10initializeMFZv': std/net/curl.d:(.text._D3std3net4curl4Curl10initializeMFZv+0x47): undefined reference to `curl_easy_init' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c7f_149.o): In function `_D3std3net4curl4Curl3dupMFZS3std3net4curl4Curl': std/net/curl.d:(.text._D3std3net4curl4Curl3dupMFZS3std3net4curl4Curl+0x2b): undefined reference to `curl_easy_duphandle' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c83_37c.o): In function `_D3std3net4curl4Curl8shutdownMFZv': std/net/curl.d:(.text._D3std3net4curl4Curl8shutdownMFZv+0x1a): undefined reference to `curl_easy_cleanup' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c85_14c.o): In function `_D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionAxaZv': std/net/curl.d:(.text._D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionAxaZv+0x5d): undefined reference to `curl_easy_setopt' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c86_14c.o): In function `_D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionlZv': std/net/curl.d:(.text._D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionlZv+0x2e): undefined reference to `curl_easy_setopt' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c87_14c.o): In function `_D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionPvZv': std/net/curl.d:(.text._D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionPvZv+0x2e): undefined reference to `curl_easy_setopt' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c88_207.o): In function `_D3std3net4curl4Curl5clearMFE3etc1c4curl10CurlOptionZv': std/net/curl.d:(.text._D3std3net4curl4Curl5clearMFE3etc1c4curl10CurlOptionZv+0x29): undefined reference to `curl_easy_setopt' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c89_67c.o): In function `_D3std3net4curl4Curl16clearIfSupportedMFE3etc1c4curl10CurlOptionZv': std/net/curl.d:(.text._D3std3net4curl4Curl16clearIfSupportedMFE3etc1c4curl10CurlOptionZv+0x29): undefined reference to `curl_easy_setopt' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c8a_2fb.o): In function `_D3std3net4curl4Curl7performMFE3std8typecons41__T4FlagVAyaa12_7468726f774f6e4572726f72Z4FlagZi': std/net/curl.d:(.text._D3std3net4curl4Curl7performMFE3std8typecons41__T4FlagVAyaa12_7468726f774f6e4572726f72Z4FlagZi+0x22): undefined reference to `curl_easy_perform' /media/Data/Projects/D/dmd/phobos/generated/linux/release/64/libphobos2.a(curl_c81_4a1.o): In function `_D3std3net4curl4Curl11errorStringMFiZAya': std/net/curl.d:(.text._D3std3net4curl4Curl11errorStringMFiZAya+0x11): undefined reference to `curl_easy_strerror'
collect2: error: ld returned 1 exit status
--- errorlevel 1
make: *** [../dub-0.9.23/bin/dub] Error 1

Reply via email to