I am having a problem compiling some appications. I am not sure why, since
this is the same SDL implementation that I use to compile MaxMame, MaxMess and
MaxUAE (All for Qtopia).
SDL is installed a little different then usual. I installed it into my
directory on handhelds.org, which is /home/guest/dsolomo1 at maine.rr.com/Qtopia.
Since SDL does not like the ‘@’ symbol in the directory, I symlinked this to
/home/guest/Qtopia and reinstalled all of the libraries into the symlinked
directory. This has worked fine for many applications, but some fail with the
message below during linking:
/home/guest/Qtopia/lib/libSDLmain.a(SDL_Qtopia_main.o): In function main': /home/guest/Qtopia/SDL/SDL12/src/main/SDL_Qtopia_main.cc:27: undefined reference toSDL_main’
collect2: ld returned 1 exit status
Any ideas what could be wrong?
David__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
defined in the application. I am proting other peoples code and need to keep a
closer eye on things in the future.
David
— David S <@David_S> wrote:> I am having a problem compiling some appications. I am not sure why, since
this is the same SDL implementation that I use to compile MaxMame, MaxMess
and
MaxUAE (All for Qtopia).
SDL is installed a little different then usual. I installed it into my
directory on handhelds.org, which is
/home/guest/dsolomo1 at maine.rr.com/Qtopia.
Since SDL does not like the ‘@’ symbol in the directory, I symlinked this to
/home/guest/Qtopia and reinstalled all of the libraries into the symlinked
directory. This has worked fine for many applications, but some fail with
the
message below during linking:
/home/guest/Qtopia/lib/libSDLmain.a(SDL_Qtopia_main.o): In function main': /home/guest/Qtopia/SDL/SDL12/src/main/SDL_Qtopia_main.cc:27: undefined reference to SDL_main’
collect2: ld returned 1 exit status
I guess that adding this has allowed the applications to compile, but they are
failing right after initializing the video. I am currently porting tested and
working applications over to Qtopia. Any idea what else may be needed?
David
— David S <@David_S> wrote:> Forget it. Seems that there wasn’t
#ifdef __cplusplus
extern “C” #endif
defined in the application. I am proting other peoples code and need to keep
a
closer eye on things in the future.
David
— David S <@David_S> wrote:
I am having a problem compiling some appications. I am not sure why, since
this is the same SDL implementation that I use to compile MaxMame, MaxMess
and
MaxUAE (All for Qtopia).
SDL is installed a little different then usual. I installed it into my
directory on handhelds.org, which is
/home/guest/dsolomo1 at maine.rr.com/Qtopia.
Since SDL does not like the ‘@’ symbol in the directory, I symlinked this
to
/home/guest/Qtopia and reinstalled all of the libraries into the symlinked
directory. This has worked fine for many applications, but some fail with
the
message below during linking:
/home/guest/Qtopia/lib/libSDLmain.a(SDL_Qtopia_main.o): In function main': /home/guest/Qtopia/SDL/SDL12/src/main/SDL_Qtopia_main.cc:27: undefined reference to SDL_main’
collect2: ld returned 1 exit status