Help getting new port nrsc5 working

blake at netjibbing.com blake at netjibbing.com
Sat Apr 8 20:13:23 UTC 2023


I have had this nrsc5 port sitting around for a long time in a broken state. Would you happen to have any suggestions on how to address this build error? 

Full build log: https://gist.github.com/trodemaster/2ef9d94db3b894ff690ebd365afed0cd
WIP port file: https://github.com/trodemaster/blakeports/blob/main/audio/nrsc5/Portfile


/opt/local/var/macports/build/_opt_mports_blakeports_audio_nrsc5/nrsc5/work/nrsc5-59bc2968485635c16c7250696abc3e8ff765b72d/src/nrsc5.c:548:15: error: conflicting types for 'nrsc5_pipe_samples_cu8'
NRSC5_API int nrsc5_pipe_samples_cu8(nrsc5_t *st, const uint8_t *samples, unsigned int length)
              ^
/opt/local/include/nrsc5.h:578:5: note: previous declaration is here
int nrsc5_pipe_samples_cu8(nrsc5_t *st, uint8_t *samples, unsigned int length);
    ^
/opt/local/var/macports/build/_opt_mports_blakeports_audio_nrsc5/nrsc5/work/nrsc5-59bc2968485635c16c7250696abc3e8ff765b72d/src/nrsc5.c:555:15: error: conflicting types for 'nrsc5_pipe_samples_cs16'
NRSC5_API int nrsc5_pipe_samples_cs16(nrsc5_t *st, const int16_t *samples, unsigned int length)
              ^
/opt/local/include/nrsc5.h:590:5: note: previous declaration is here
int nrsc5_pipe_samples_cs16(nrsc5_t *st, int16_t *samples, unsigned int length);
    ^
2 errors generated.
make[2]: *** [src/CMakeFiles/nrsc5_object.dir/nrsc5.c.o] Error 1

Thanks,
Blake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20230408/010c651a/attachment.htm>


More information about the macports-dev mailing list