|
From: | Kai Torben Ohlhus |
Subject: | Re: LIBLINEAR octave make file |
Date: | Mon, 19 May 2014 20:14:15 +0200 |
Dear all,I am one of the maintainers of LIBLINEAR.I tried to make the octave binary of LIBLINEAR-1.94.In octave 3.2.4, the original make file works finebut fails when using octave 3.8.1.The original make file is :==mex train.c linear_model_matlab.c ../linear.cpp ../tron.cpp ../blas/*.c==But the compiler shows error message:"gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files"
I think mex parse the commandmex train.c linear_model_matlab.c ../linear.cpp ../tron.cpp ../blas/*.cto another command containing target file name, object file names,-c and -o together.It is obvious that the command is ambiguous.The problem could be solved by separating the compiling and linking steps as==mex -c linear_model_matlab.c ../linear.cpp ../tron.cpp ../blas/*.cmex train.c==However, it's strange why it worked before but not right now.Can anyone explain it or offer any comment?Thanks a lot.Best regards,Chieh-Yen
_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |