Skip to content

Instantly share code, notes, and snippets.

@qinwf

qinwf/output_2

Created Jul 30, 2015
Embed
What would you like to do?
$ cargo rustc -- -C link-args="-m64 -lgsl -lgslcblas"
Compiling rustc-serialize v0.3.15
Compiling winapi-build v0.1.0
Compiling winapi v0.2.1
Compiling advapi32-sys v0.1.2
Compiling rand v0.3.9
Compiling num v0.1.25
Compiling GSL v0.4.24 (file:///D:/git/rust-GSL-master)
src\types\multifit_solver.rs:211:5: 211:20 warning: struct field is never used: `df`, #[warn(dea
de)] on by default
src\types\multifit_solver.rs:211 df: ::VectorF64,
^~~~~~~~~~~~~~~
error: linking with `gcc` failed: exit code: 1
note: "gcc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-static
gcc" "-m64" "-L" "C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib" "-o" "D:\git\rust-GSL-master\ta
\debug\rgsl.dll" "D:\git\rust-GSL-master\target\debug\rgsl.o" "D:\git\rust-GSL-master\target\deb
gsl.metadata.o" "D:\git\rust-GSL-master\target\debug\deps\libnum-f51f78acffae6108.rlib" "D:\git\
-GSL-master\target\debug\deps\liblibc-2eda841eb12a3090.rlib" "D:\git\rust-GSL-master\target\debu
ps\librand-3d35279a18dce105.rlib" "D:\git\rust-GSL-master\target\debug\deps\libadvapi32-201d9b63
daf1.rlib" "D:\git\rust-GSL-master\target\debug\deps\librustc_serialize-0e2cbfb69293d88f.rlib" "
it\rust-GSL-master\target\debug\deps\libc_vec-2c275db359eef11c.rlib" "D:\git\rust-GSL-master\tar
debug\deps\libwinapi-76cdbebf059bb160.rlib" "C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib\libst
23ff90.rlib" "C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib\libcollections-7d23ff90.rlib" "C:\Ru
in\rustlib\x86_64-pc-windows-gnu\lib\librustc_unicode-7d23ff90.rlib" "C:\Rust\bin\rustlib\x86_64
windows-gnu\lib\librand-7d23ff90.rlib" "C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib\liballoc-7
f90.rlib" "C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib\liblibc-7d23ff90.rlib" "C:\Rust\bin\rus
\x86_64-pc-windows-gnu\lib\libcore-7d23ff90.rlib" "-L" "D:\git\rust-GSL-master\target\debug" "-L
:\git\rust-GSL-master\target\debug\deps" "-L" "C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib" "-
D:\git\rust-GSL-master\.rust\bin\x86_64-pc-windows-gnu" "-L" "D:\git\rust-GSL-master\bin\x86_64-
indows-gnu" "-Wl,--whole-archive" "-Wl,-Bstatic" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-ladv
2" "-lws2_32" "-luserenv" "-shared" "-m64" "-lgsl" "-lgslcblas" "-lcompiler-rt"
note: D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::types::ordinary_differentia
uations::ODEiv2Driver::reset_hstart':
D:\git\rust-GSL-master/src\types/ordinary_differential_equations.rs:671: undefined reference to
_odeiv2_driver_reset_hstart'
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::bessel::InKnu':
D:\git\rust-GSL-master/src/bessel.rs:479: undefined reference to `gsl_sf_bessel_InKnu'
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::bessel::InKnu_e':
D:\git\rust-GSL-master/src/bessel.rs:485: undefined reference to `gsl_sf_bessel_InKnu_e'
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::fft::radix2::diff_forward':
D:\git\rust-GSL-master/src/fft.rs:189: undefined reference to `gsl_fft_complex_radix2_diff_forwa
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::fft::radix2::diff_transform':
D:\git\rust-GSL-master/src/fft.rs:194: undefined reference to `gsl_fft_complex_radix2_diff_trans
'
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::fft::radix2::diff_backward':
D:\git\rust-GSL-master/src/fft.rs:199: undefined reference to `gsl_fft_complex_radix2_diff_backw
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::fft::radix2::diff_inverse':
D:\git\rust-GSL-master/src/fft.rs:204: undefined reference to `gsl_fft_complex_radix2_diff_inver
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::linear_algebra::SV_leverage':
D:\git\rust-GSL-master/src/linear_algebra.rs:506: undefined reference to `gsl_linalg_SV_leverage
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::polynomials::divided_difference_r
sentation::poly_dd_hermite_init':
D:\git\rust-GSL-master/src/polynomials.rs:106: undefined reference to `gsl_poly_dd_hermite_init'
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::sort::vectors::sort2':
D:\git\rust-GSL-master/src/sort.rs:167: undefined reference to `gsl_sort2'
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::sort::vectors::sort_vector2':
D:\git\rust-GSL-master/src/sort.rs:177: undefined reference to `gsl_sort_vector2'
D:\git\rust-GSL-master\target\debug\rgsl.o: In function `rgsl::statistics::spearman':
D:\git\rust-GSL-master/src/statistics.rs:228: undefined reference to `gsl_stats_spearman'
error: aborting due to previous error
Could not compile `GSL`.
To learn more, run the command again with --verbose.
outwen@DESKTOP-8LE5Q03 /d/git/rust-GSL-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment