Search found 3 matches

by mepster
Tue Jul 22, 2008 7:27 am
Forum: SMILE
Topic: Undefined reference problem when compiling smile
Replies: 5
Views: 11979

That worked. Thanks. It turns out the main.o was at the end of the line when it actually should have been at the begining. So my final makefile is:

============================
SMILE = /home/me/Desktop/Smile_trial/Smile_Headers
CFLAGS= -I/usr/X11R6/include -DEDEBUG -ffast-math
LDFLAGS= -L$(SMILE ...
by mepster
Fri Jul 18, 2008 9:31 am
Forum: SMILE
Topic: Undefined reference problem when compiling smile
Replies: 5
Views: 11979

Thanks for the reply, though I am still stuck with the error. I have replaced the space with an underscore now:
SMILE = /home/me/Desktop/Smile_trial/Smile_Headers

However I still get the same error. I also tried commenting out the "DSL_dataset ds;" after which the code then compiled correctly. I ...
by mepster
Thu Jul 17, 2008 4:50 pm
Forum: SMILE
Topic: Undefined reference problem when compiling smile
Replies: 5
Views: 11979

Undefined reference problem when compiling smile

Hello

I am new to smile and am trying to compile a very basic peice of code as a start. I am running Gentoo Linux on 64bit machine, using gcc version 4.3.1. I have downloaded smile_1_1_linux64_gcc_4_1_2.tar.gz and am using those header files in a sub directory. When I try and compile my code I get ...