Search found 3 matches

by Leo
Thu May 25, 2006 6:02 pm
Forum: PS2 Development
Topic: Link error: 'link' and 'unlink' ???
Replies: 5
Views: 2664

My binary sdk doesn't have a libdebug.a, nor a debug.h. init_scrand scr_printf are declared in kernel.h Also, adding -lg after -lc (or before that) doesn't seem to work. :( Something else I could try? Note: In my binary distro, doing an objdump on kernel shows: $ ../../../../gcc/ee/bin/ee-objdump.ex...
by Leo
Thu May 25, 2006 3:23 am
Forum: PS2 Development
Topic: Link error: 'link' and 'unlink' ???
Replies: 5
Views: 2664

I'm trying also to use init_scr() and scr_printf() functions, and gives me the same problem: ../Test.cpp: undefined reference to `init_scr()' ./Test.o(.text+0x8c):../Test.cpp: undefined reference to `scr_printf(char const*, ...)' Doing an objdump, I've seen these functions are in libkernel, so why d...
by Leo
Wed May 24, 2006 1:22 am
Forum: PS2 Development
Topic: Link error: 'link' and 'unlink' ???
Replies: 5
Views: 2664

Link error: 'link' and 'unlink' ???

Hello, trying to compile a c++ app, upon link I get the following: /cygdrive/p/ps2dev/setup/gcc/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libc.a(unlinkr.o)(.text+0x14): In function `_unlink_r': ../../../../../newlib/libc/reent/unlinkr.c:54: undefined reference to `unlink' /cygdrive/p/ps2dev/...