Created
November 4, 2011 10:02
-
-
Save divol/1339031 to your computer and use it in GitHub Desktop.
how to compile freebox sdk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #################################### | |
| Modules must be compile in that order : | |
| libela, librudp and foils_hid | |
| for each project, on snow leopard (and my developper moded system) do the following commands: | |
| glibtoolize | |
| autoreconf | |
| automake --add-missing #if needed | |
| autoreconf # bis repetitas | |
| ./configure #--prefix=/Users/xxx/Documents/Sources/freebox_revolution/libs | |
| if (you have this error in librudp) | |
| ./configure: line 11419: syntax error near unexpected token `ELA,' | |
| ./configure: line 11419: `PKG_CHECK_MODULES(ELA, ela)' | |
| { | |
| you'll get headhash if you change --prefix | |
| comment the PKG_CHECK_MODULES line into the configure file | |
| edit test/Makefile and add | |
| ELA_LIBS = -L/usr/local/lib -lela | |
| } | |
| if (you have this error in foils_hid) | |
| ./configure: line 11419: syntax error near unexpected token `RUDP,' | |
| ./configure: line 11419: `PKG_CHECK_MODULES(RUDP, rudp ela)' | |
| { | |
| you'll get headhash if you change --prefix | |
| comment the PKG_CHECK_MODULES line into the configure file | |
| edit test/Makefile and add to LIBS | |
| LIBS = -L/usr/local/lib -lela -lrudp | |
| } | |
| make | |
| sudo su | |
| make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why foils_hid don't install Libraries in /usr/local/lib ????