LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2006, 10:29 AM   #1
[DK]LaMa
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
Problem when compiling VisualBoyAdvance


Hey there

New on linux so please keep it simple.

When i first tried to configure VBA i got the sdl-config error, but luckily i fixed it (by searching on this forum )

Now i have another problem.

When running the command "sudo make" it starts to compile...untill it comes to this:

if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -fno-exceptions -I/usr/include/SDL -D_REENTRANT -g -O2 -DPROFILING -DMMX -DDEV_VERSION -MT GBA.o -MD -MP -MF ".deps/GBA.Tpo" \
-c -o GBA.o `test -f '../GBA.cpp' || echo './'`../GBA.cpp; \
then mv -f ".deps/GBA.Tpo" ".deps/GBA.Po"; \
else rm -f ".deps/GBA.Tpo"; exit 1; \
fi



...... and it doesnt advance... it just plain stops. ANYone having a solution or even a hint is welcome to share his thoughts.

[DK]LaMa
 
Old 03-13-2006, 11:06 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
I'm guessing the g++ command for compiling some part of VBA fails, thus resulting in the execution of
rm -f ".deps/GBA.Tpo" (you should be able to confirm that this file is no longer present), followed by
an "exit 1".
Or, you could try running the "sudo make" again, followed right afterwards by
Code:
echo $?
This should show the exit status of the "make" command.
I think this will tell you "1", indicating that the program failed.

If it does, you could try appending something like
Code:
2>&1 >/tmp/compile_errors
to the end of the g++ command. This should capture any output or error messages of g++ into the file /tmp/compile_errors.
Then run a "cat" on that file and post back the error messages...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't configure VisualBoyAdvance in Slackware lancelott Linux - Software 1 01-01-2007 09:51 AM
Tuxnes and VisualBoyAdvance Problems Optimistic Linux - Software 0 06-21-2004 05:34 PM
Compiling Problem... ThE_DeaD Linux - Newbie 10 12-14-2003 04:14 PM
VisualBoyAdvance Install Problems? flamesrock Linux - Software 1 10-10-2003 12:38 AM
VisualBoyAdvance rpm question tbroderick Linux - Software 0 09-28-2003 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration