baresip / baresip-ios

Baresip for iOS
46 stars 33 forks source link

Compile error: re.h and rem_fir.h missing #1

Closed ttarhan closed 9 years ago

ttarhan commented 11 years ago

The following error is observed during the build:

CC /Users/ttarhan/Development/OpenSource/baresip/build/armv7/librem/fir/fir.o src/fir/fir.c:9:16: error: re.h: No such file or directory src/fir/fir.c:10:21: error: rem_fir.h: No such file or directory

alfredh commented 11 years ago

did you download libre.tar.gz and put it in the referenced directory?

if libre.tar.gz was downloaded and built correctly, perhaps there is some missing paths to header files? can you show the full build log?

which version of Xcode/iOS SDK was used ?

ttarhan commented 11 years ago

Yes, re and rem are in the correct place, and I see re build successfully. Xcode version 4.5.2 (4G2008a) and iOS SDK 6.0. I modified the makefile to remove armv6 (not supported in SDK 6.0) and to add the correct version checking.

Build log here: http://pastebin.com/TqEtDVTQ

tar500 commented 11 years ago

I have the same issue. I also modified the makefile like @ttarhan did and I have the same error in the build log. Does anyone solved the problem?

tar500 commented 11 years ago

Found a solution: just create /usr/local folder or (i can guess) run the make file as sudo make contrib.

I was running a make contrib command without sudo directive and libre failed to install in that folder, because makefile had no rights to create that folder.

TheSquad commented 11 years ago

Actually, renaming folder rem-0.4.2 to rem, the same for re-..* to re will fix the issue...