Rockbox Development > Starting Development and Compiling

New compilation errors

(1/3) > >>

Job Van Dam:
Lately I've been getting many, many compilation errors similar to the ones below:
--- Code: ---In file included from vbr.c:36:
config-speex.h:116:1: warning: this is the location of the previous definition
In file included from ../codec.h:22,
                 from config-speex.h:1,
                 from misc.h:38,
                 from vbr.h:40,
                 from vbr.c:39:
./config.h:116:1: warning: "SPEEX_VERSION" redefined
In file included from vbr.c:36:
config-speex.h:122:1: warning: this is the location of the previous definition
In file included from misc.h:38,
                 from vbr.h:40,
                 from vbr.c:39:
config-speex.h:110:1: warning: "SPEEX_EXTRA_VERSION" redefined
In file included from ../codec.h:22,
                 from config-speex.h:1,
                 from misc.h:38,
                 from vbr.h:40,
                 from vbr.c:39:
./config.h:104:1: warning: this is the location of the previous definition
In file included from misc.h:38,
                 from vbr.h:40,
                 from vbr.c:39:
config-speex.h:116:1: warning: "SPEEX_MICRO_VERSION" redefined
In file included from ../codec.h:22,
                 from config-speex.h:1,
                 from misc.h:38,
                 from vbr.h:40,
                 from vbr.c:39:
./config.h:110:1: warning: this is the location of the previous definition
In file included from misc.h:38,
                 from vbr.h:40,
                 from vbr.c:39:
--- End code ---
In the begining I just figured someone made a mistake and was correcting it but it's been like this for awhile. Am I the crazy one here? Anyone else getting wacky compilation errors with the latest source?

Llorean:
Considering SVN builds are going fine, it pretty much means there's something wrong in your personal situation. Try reverting your sources and reconfiguring.

saratoga:
Try deleting the folder you were building in and rerunning configure.

robin0800:
cd out of build
cd out of rockbox
run svn revert -R rockbox
run svn clean up rockbox

if this doesn't work you will have to do the above post sugestion.

Job Van Dam:
A good ole Cygwin reinstall fixed everything, thank guys.

Can anyone suggest a good online C website? I'm trying to put together my own simple, small plugin. I know programming logic but Rockbox code is... heavy stuff to digest.

Thanks again.

Navigation

[0] Message Index

[#] Next page

Go to full version