LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 07-23-2008, 10:27 AM   #1
enduser000
LQ Newbie
 
Registered: Jul 2008
Posts: 12

Rep: Reputation: 0
Building a linux/unix project on a windows platform


Hello,
This is my first post in the forum and it's a tuff one. I am trying to compile pearpc (http://pearpc.net/pearpc_net_package.php fo rthe source or project) on my vista computer. I have gotten some help from this thread (http://www.cplusplus.com/forum/windows/3018/) but still can't seem to get it right. I have gotten MinGW, MSYS, and NASM but still get these errors:

/mingw/bin/make all-recursive
make[1]: Entering directory `c:/pearpc-0.4'
Making all in doc
make[2]: Entering directory `c:/pearpc-0.4/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `c:/pearpc-0.4/doc'
Making all in src
make[2]: Entering directory `c:/pearpc-0.4/src'
Making all in cpu
make[3]: Entering directory `c:/pearpc-0.4/src/cpu'
Making all in cpu_jitc_x86
make[4]: Entering directory `c:/pearpc-0.4/src/cpu/cpu_jitc_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/cpu/cpu_jitc_x86'
make[4]: Entering directory `c:/pearpc-0.4/src/cpu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `c:/pearpc-0.4/src/cpu'
make[3]: Leaving directory `c:/pearpc-0.4/src/cpu'
Making all in debug
make[3]: Entering directory `c:/pearpc-0.4/src/debug'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `c:/pearpc-0.4/src/debug'
Making all in io
make[3]: Entering directory `c:/pearpc-0.4/src/io'
Making all in 3c90x
make[4]: Entering directory `c:/pearpc-0.4/src/io/3c90x'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/3c90x'
Making all in rtl8139
make[4]: Entering directory `c:/pearpc-0.4/src/io/rtl8139'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/rtl8139'
Making all in prom
make[4]: Entering directory `c:/pearpc-0.4/src/io/prom'
Making all in fs
make[5]: Entering directory `c:/pearpc-0.4/src/io/prom/fs'
Making all in hfs
make[6]: Entering directory `c:/pearpc-0.4/src/io/prom/fs/hfs'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs/hfs'
Making all in hfsplus
make[6]: Entering directory `c:/pearpc-0.4/src/io/prom/fs/hfsplus'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs/hfsplus'
make[6]: Entering directory `c:/pearpc-0.4/src/io/prom/fs'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs'
make[5]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs'
make[5]: Entering directory `c:/pearpc-0.4/src/io/prom'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/io/prom'
make[4]: Leaving directory `c:/pearpc-0.4/src/io/prom'
Making all in graphic
make[4]: Entering directory `c:/pearpc-0.4/src/io/graphic'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/graphic'
Making all in pic
make[4]: Entering directory `c:/pearpc-0.4/src/io/pic'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/pic'
Making all in cuda
make[4]: Entering directory `c:/pearpc-0.4/src/io/cuda'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/cuda'
Making all in pci
make[4]: Entering directory `c:/pearpc-0.4/src/io/pci'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/pci'
Making all in ide
make[4]: Entering directory `c:/pearpc-0.4/src/io/ide'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/ide'
Making all in macio
make[4]: Entering directory `c:/pearpc-0.4/src/io/macio'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/macio'
Making all in nvram
make[4]: Entering directory `c:/pearpc-0.4/src/io/nvram'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/nvram'
Making all in usb
make[4]: Entering directory `c:/pearpc-0.4/src/io/usb'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/usb'
make[4]: Entering directory `c:/pearpc-0.4/src/io'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io'
make[3]: Leaving directory `c:/pearpc-0.4/src/io'
Making all in system
make[3]: Entering directory `c:/pearpc-0.4/src/system'
Making all in arch
make[4]: Entering directory `c:/pearpc-0.4/src/system/arch'
Making all in x86
make[5]: Entering directory `c:/pearpc-0.4/src/system/arch/x86'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/arch/x86'
make[5]: Entering directory `c:/pearpc-0.4/src/system/arch'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/arch'
make[4]: Leaving directory `c:/pearpc-0.4/src/system/arch'
Making all in osapi
make[4]: Entering directory `c:/pearpc-0.4/src/system/osapi'
Making all in win32
make[5]: Entering directory `c:/pearpc-0.4/src/system/osapi/win32'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/osapi/win32'
make[5]: Entering directory `c:/pearpc-0.4/src/system/osapi'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/osapi'
make[4]: Leaving directory `c:/pearpc-0.4/src/system/osapi'
Making all in ui
make[4]: Entering directory `c:/pearpc-0.4/src/system/ui'
Making all in win32
make[5]: Entering directory `c:/pearpc-0.4/src/system/ui/win32'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/ui/win32'
make[5]: Entering directory `c:/pearpc-0.4/src/system/ui'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/ui'
make[4]: Leaving directory `c:/pearpc-0.4/src/system/ui'
make[4]: Entering directory `c:/pearpc-0.4/src/system'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `c:/pearpc-0.4/src/system'
make[3]: Leaving directory `c:/pearpc-0.4/src/system'
Making all in tools
make[3]: Entering directory `c:/pearpc-0.4/src/tools'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `c:/pearpc-0.4/src/tools'
make[3]: Entering directory `c:/pearpc-0.4/src'
g++ -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -o ppc.exe main.o ppc_img.o ppc_font.o ppc_button_changecd.o configparser.o cpu/cpu_jitc_x86/libcpu.a io/graphic/libgraphic.a io/ide/libide.a system/ui/win32/libui.a debug/libdebug.a io/libio.a io/prom/libprom.a io/prom/fs/libfs.a io/prom/fs/hfs/libhfs.a io/prom/fs/hfsplus/libhfsplus.a io/pic/libpic.a io/pci/libpci.a io/macio/libmacio.a io/nvram/libnvram.a io/cuda/libcuda.a io/3c90x/lib3c90x.a io/rtl8139/librtl8139.a io/usb/libusb.a tools/libtools.a system/libsystem.a system/arch/x86/libsarch.a system/osapi/win32/libsosapi.a system/ui/win32/resources.o -lgdi32 -lcomdlg32 -lwinmm
make[3]: Leaving directory `c:/pearpc-0.4/src'
make[2]: Leaving directory `c:/pearpc-0.4/src'
make[1]: Leaving directory `c:/pearpc-0.4'

Any help is greatly appreciated as I am farly new to programming and not expierenced in a linux environment. Thanks in advance,

enduser000
 
Old 07-23-2008, 12:45 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
There are no errors in the listing you provided. What is the problem? Doesn't run? Try doing a make clean first, then try to compile it.
 
Old 07-23-2008, 05:08 PM   #3
enduser000
LQ Newbie
 
Registered: Jul 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jiml8 View Post
There are no errors in the listing you provided. What is the problem? Doesn't run? Try doing a make clean first, then try to compile it.
... ? I am trying to do a clean compile. I just copied the output from the make command after I cd'd to the pearpc folder and did ./configure. I don't understad what I'm doing wrong...

enduser000
 
Old 07-23-2008, 08:12 PM   #4
leedude
Member
 
Registered: Jan 2007
Location: Scotland
Distribution: Fedora, Debian
Posts: 81

Rep: Reputation: 15
by the looks of it...nothing.
seems fine.
Don't be scared by all of the stuff it spits out - that just says it's working.
It will actually say Error if there is a problem - which there isn't.

Usually, you need to run 'make install' next,
that will copy the executables to your bin directories like /usr/bin.
then you can usually type the executable's name in the terminal to run.
if you want the executables put somewhere else, tell it with the ./configure command by adding the --prefix parameter:
Code:
./configure --prefix=some_dir/

Last edited by leedude; 07-23-2008 at 08:21 PM.
 
Old 07-23-2008, 11:32 PM   #5
enduser000
LQ Newbie
 
Registered: Jul 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Okay, now I am getting some errors, here they are:

/mingw/bin/make all-recursive
make[1]: Entering directory `c:/pearpc-0.4'
Making all in doc
make[2]: Entering directory `c:/pearpc-0.4/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `c:/pearpc-0.4/doc'
Making all in src
make[2]: Entering directory `c:/pearpc-0.4/src'
Making all in cpu
make[3]: Entering directory `c:/pearpc-0.4/src/cpu'
Making all in cpu_jitc_x86
make[4]: Entering directory `c:/pearpc-0.4/src/cpu/cpu_jitc_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/cpu/cpu_jitc_x86'
make[4]: Entering directory `c:/pearpc-0.4/src/cpu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `c:/pearpc-0.4/src/cpu'
make[3]: Leaving directory `c:/pearpc-0.4/src/cpu'
Making all in debug
make[3]: Entering directory `c:/pearpc-0.4/src/debug'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `c:/pearpc-0.4/src/debug'
Making all in io
make[3]: Entering directory `c:/pearpc-0.4/src/io'
Making all in 3c90x
make[4]: Entering directory `c:/pearpc-0.4/src/io/3c90x'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/3c90x'
Making all in rtl8139
make[4]: Entering directory `c:/pearpc-0.4/src/io/rtl8139'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/rtl8139'
Making all in prom
make[4]: Entering directory `c:/pearpc-0.4/src/io/prom'
Making all in fs
make[5]: Entering directory `c:/pearpc-0.4/src/io/prom/fs'
Making all in hfs
make[6]: Entering directory `c:/pearpc-0.4/src/io/prom/fs/hfs'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs/hfs'
Making all in hfsplus
make[6]: Entering directory `c:/pearpc-0.4/src/io/prom/fs/hfsplus'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs/hfsplus'
make[6]: Entering directory `c:/pearpc-0.4/src/io/prom/fs'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs'
make[5]: Leaving directory `c:/pearpc-0.4/src/io/prom/fs'
make[5]: Entering directory `c:/pearpc-0.4/src/io/prom'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/io/prom'
make[4]: Leaving directory `c:/pearpc-0.4/src/io/prom'
Making all in graphic
make[4]: Entering directory `c:/pearpc-0.4/src/io/graphic'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/graphic'
Making all in pic
make[4]: Entering directory `c:/pearpc-0.4/src/io/pic'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/pic'
Making all in cuda
make[4]: Entering directory `c:/pearpc-0.4/src/io/cuda'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/cuda'
Making all in pci
make[4]: Entering directory `c:/pearpc-0.4/src/io/pci'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/pci'
Making all in ide
make[4]: Entering directory `c:/pearpc-0.4/src/io/ide'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/ide'
Making all in macio
make[4]: Entering directory `c:/pearpc-0.4/src/io/macio'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/macio'
Making all in nvram
make[4]: Entering directory `c:/pearpc-0.4/src/io/nvram'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/nvram'
Making all in usb
make[4]: Entering directory `c:/pearpc-0.4/src/io/usb'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io/usb'
make[4]: Entering directory `c:/pearpc-0.4/src/io'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `c:/pearpc-0.4/src/io'
make[3]: Leaving directory `c:/pearpc-0.4/src/io'
Making all in system
make[3]: Entering directory `c:/pearpc-0.4/src/system'
Making all in arch
make[4]: Entering directory `c:/pearpc-0.4/src/system/arch'
Making all in x86
make[5]: Entering directory `c:/pearpc-0.4/src/system/arch/x86'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/arch/x86'
make[5]: Entering directory `c:/pearpc-0.4/src/system/arch'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/arch'
make[4]: Leaving directory `c:/pearpc-0.4/src/system/arch'
Making all in osapi
make[4]: Entering directory `c:/pearpc-0.4/src/system/osapi'
Making all in win32
make[5]: Entering directory `c:/pearpc-0.4/src/system/osapi/win32'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/osapi/win32'
make[5]: Entering directory `c:/pearpc-0.4/src/system/osapi'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/osapi'
make[4]: Leaving directory `c:/pearpc-0.4/src/system/osapi'
Making all in ui
make[4]: Entering directory `c:/pearpc-0.4/src/system/ui'
Making all in win32
make[5]: Entering directory `c:/pearpc-0.4/src/system/ui/win32'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/ui/win32'
make[5]: Entering directory `c:/pearpc-0.4/src/system/ui'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `c:/pearpc-0.4/src/system/ui'
make[4]: Leaving directory `c:/pearpc-0.4/src/system/ui'
make[4]: Entering directory `c:/pearpc-0.4/src/system'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `c:/pearpc-0.4/src/system'
make[3]: Leaving directory `c:/pearpc-0.4/src/system'
Making all in tools
make[3]: Entering directory `c:/pearpc-0.4/src/tools'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `c:/pearpc-0.4/src/tools'
make[3]: Entering directory `c:/pearpc-0.4/src'
g++ -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -o ppc.exe main.o ppc_img.o ppc_font.o ppc_button_changecd.o configparser.o cpu/cpu_jitc_x86/libcpu.a io/graphic/libgraphic.a io/ide/libide.a system/ui/win32/libui.a debug/libdebug.a io/libio.a io/prom/libprom.a io/prom/fs/libfs.a io/prom/fs/hfs/libhfs.a io/prom/fs/hfsplus/libhfsplus.a io/pic/libpic.a io/pci/libpci.a io/macio/libmacio.a io/nvram/libnvram.a io/cuda/libcuda.a io/3c90x/lib3c90x.a io/rtl8139/librtl8139.a io/usb/libusb.a tools/libtools.a system/libsystem.a system/arch/x86/libsarch.a system/osapi/win32/libsosapi.a system/ui/win32/resources.o -lgdi32 -lcomdlg32 -lwinmm
make[3]: Leaving directory `c:/pearpc-0.4/src'
make[2]: Leaving directory `c:/pearpc-0.4/src'
make[1]: Leaving directory `c:/pearpc-0.4'

Is there something I'm missing?
Thanks for taking a look again...

enduser000
 
Old 07-23-2008, 11:39 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Re-read jiml8 and leedude's comments... carefully.
If you do a text search you'll see the word 'error' does not appear in your output (nor does warning).
It's all informational.
 
Old 07-23-2008, 11:51 PM   #7
enduser000
LQ Newbie
 
Registered: Jul 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Okay, this is what I get in a make install. I've read this one closely...

$ make install>error.txt
system/arch/x86/libsarch.a(sysvaccel.o):sysvaccel.cc.text+0x300): undefined reference to `x86_convert_2be555_to_4le888'
system/arch/x86/libsarch.a(sysvaccel.o):sysvaccel.cc.text+0x344): undefined reference to `x86_convert_4be888_to_4le888'
system/arch/x86/libsarch.a(sysvaccel.o):sysvaccel.cc.text+0x5df): undefined reference to `x86_convert_2be555_to_2le555'
system/arch/x86/libsarch.a(sysvaccel.o):sysvaccel.cc.text+0x5f7): undefined reference to `x86_convert_2be555_to_2le565'
collect2: ld returned 1 exit status
make[2]: *** [ppc.exe] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

I put the start of it to error.txt, and that's what I posted before.
 
Old 07-24-2008, 06:29 AM   #8
leedude
Member
 
Registered: Jan 2007
Location: Scotland
Distribution: Fedora, Debian
Posts: 81

Rep: Reputation: 15
now there's an error.

ive never used pearPC before, but i did find this:
http://wiki.pearpc.net/index.php?tit...earPC_from_CVS

if you just wanna get it working in vista, a binary will probably work:
http://pearpc.sourceforge.net/downloads.html
the binary is in the pearpc-0.4-win32-jitc.zip file
 
Old 07-24-2008, 11:00 AM   #9
enduser000
LQ Newbie
 
Registered: Jul 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Nah, I;m good to go there, it works with vista. I want to do a clean compile so I know it works and then can modify it.

any ideas?
 
  


Reply

Tags
compile, make, mingw, nasm


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
how to run programmes made for windows platform in linux platform... compugeek2006 Linux - Software 1 06-26-2006 10:34 PM
How to program under Linux/Unix platform Igor007 AIX 3 08-20-2004 02:00 PM
How to program under Linux/Unix platform Igor007 Programming 2 08-19-2004 05:54 PM
How to program under Linux/Unix platform Igor007 *BSD 1 08-19-2004 03:14 PM
How can i send message from Linux platform to Windows platform linuxeagle Linux - Networking 1 02-17-2004 01:35 AM


All times are GMT -5. The time now is 10:17 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration