Problem building w/latest svn SDK, undef. ref. in libcglue

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
PinkPeach
Posts: 23
Joined: Wed Mar 02, 2005 10:36 pm

Problem building w/latest svn SDK, undef. ref. in libcglue

Post by PinkPeach »

I grabbed the sdk from subversion yesterday and now i get when compiling:

libpsplibc.a(glue__sbrk.o): In function `_sbrk':
/tmp/pspdev/pspsdk/sdk/libc/libcglue.c:292: undefined reference to `sceKernelMaxFreeMemSize'
make: *** [out] Error 1

To be sure, i reupdated this morningbut still the same
any idea ? :(
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Assuming you aren't using build.mak, you need -lkernel at the end of your linker command line.
Post Reply