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 ...
Search found 3 matches
- Tue Jul 22, 2008 7:27 am
- Forum: SMILE
- Topic: Undefined reference problem when compiling smile
- Replies: 5
- Views: 11979
- Fri Jul 18, 2008 9:31 am
- Forum: SMILE
- Topic: Undefined reference problem when compiling smile
- Replies: 5
- Views: 11979
- 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 ...
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 ...