forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cygwin compile error.. help me!

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
zerofly



Joined: 03 Jun 2006
Posts: 2

PostPosted: Sat Jun 03, 2006 4:05 pm    Post subject: Cygwin compile error.. help me! Reply with quote

Hi~

Well, when I try to compile something, it show me an error.

Can someone help me? Please..


Quote:

$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o mai
n.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -L. -L/usr/local/
pspdev/psp/sdk/lib main.o -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk
-lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspus
er -lpspkernel -o hello.elf
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [hello.elf] Error 1



Quote:
$ make
...

psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -Ilibnet -Ilibvnc -O1 -G0 -Wall
-g -mgp32 -mlong32 -DVERSIONSTRING="\"PSPVNC v1.2.1\"" -L. -L/usr/local/pspdev/
psp/sdk/lib main.o menu.o pspvnc.o vncdbg.o dialog.o pg.o nlh.o loadutil.o lib
vnc/d3des.o libvnc/vncauth.o libvnc/sockets.o libvnc/rfbproto.o libvnc/rawencodi
ng.o libvnc/ultravnc.o libvnc/corre.o libvnc/rre.o lzo/minilzo.o tmp/newicon.o t
mp/unkicon.o tmp/tuxicon.o tmp/xbxicon.o tmp/macicon.o tmp/winicon.o tmp/buttons
.o tmp/font.o tmp/font2.o tmp/plugbmp.o tmp/menubmp.o tmp/splashbmp.o tmp/check.
o tmp/nocheck.o tmp/opticon.o tmp/neticon.o tmp/homeicon.o tmp/five.o tmp/ten.o
tmp/fifteen.o tmp/twenty.o tmp/menusel.o tmp/gauge1.o tmp/gauge2.o tmp/gauge3.o
tmp/gauge4.o tmp/gauge5.o tmp/scrollicon.o tmp/mouseicon.o tmp/vkbicon.o tmp/dis
icon.o tmp/dpadicon.o -lpspwlan -lpspgu -lpsppower -lpspdebug -lpspdisplay -lpsp
ge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolve
r -lpsputility -lpspuser -lpspkernel -o vnc.elf
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [vnc.elf] Error 1

_________________
zerofly
Back to top
View user's profile Send private message
Hexstr



Joined: 23 May 2006
Posts: 5

PostPosted: Sat Jun 03, 2006 8:43 pm    Post subject: Reply with quote

The compiler is looking for a library named libc.a in the library folders and it can't find it. Make sure you have libc compiled.
_________________
Check out www.sf.net/projects/psp-tools
Back to top
View user's profile Send private message AIM Address
zerofly



Joined: 03 Jun 2006
Posts: 2

PostPosted: Mon Jun 05, 2006 2:23 pm    Post subject: Thanks for the info Hexstr. Reply with quote

Thanks for the info Hexstr : )
_________________
zerofly
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group