View unanswered posts | View active topics It is currently Fri Sep 21, 2018 8:06 pm



Reply to topic  [ 2 posts ] 
 Make error 
Author Message

Joined: Tue Jul 03, 2018 1:05 am
Posts: 1
Whenever I run make for a gamecube program, I get this error.

In file included from /home/threlo/examples/gamecube/graphics/fb/consoletest/source/main.cpp:5:
/opt/devkitpro/libogc/include/ogcsys.h:35:5: error: conflicting declaration of C function 'int nanosleep(timespec*)'
int nanosleep(struct timespec *tb);
^~~~~~~~~
In file included from /opt/devkitpro/libogc/include/ogc/system.h:43,
from /opt/devkitpro/libogc/include/gccore.h:62,
from /home/threlo/examples/gamecube/graphics/fb/consoletest/source/main.cpp:1:
/opt/devkitpro/devkitPPC/powerpc-eabi/include/time.h:210:5: note: previous declaration 'int nanosleep(const timespec*, timespec*)'
int nanosleep (const struct timespec *rqtp, struct timespec *rmtp);
^~~~~~~~~
/opt/devkitpro/devkitPPC/base_rules:12: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 1
Makefile:99: recipe for target 'build' failed
make: *** [build] Error 2


Wed Jul 04, 2018 5:37 am
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1290
Location: UK
Update libogc - 1.8.20 has changes for latest devkitPPC.

Still some more time related things to work on but it compiles.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Thu Jul 05, 2018 10:13 am
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads