1
General Development / Can't Compile raw2dng.exe
« on: February 25, 2014, 03:00:54 AM »
I'm running Ubuntu 10.04 LTS 32bit, and having trouble compiling raw2dng as an .exe
DISCLAIMER: I'm a bit of a newb at this
I've cloned the source, installed mingw32 and pointed the Makefile to use /usr/bin/i586-mingw32msvc-gcc for the compiler
I'm getting the following error:
In searching I found one forum thread which indicated gcc-multilib needed to be installed, but it hasn't resolved things.
Does this mean that the compiler isn't recognizing fseeko() as an already defined function from stdio.h? Shouldn't it since stdio.h is included in raw2dng.c?
DISCLAIMER: I'm a bit of a newb at this
I've cloned the source, installed mingw32 and pointed the Makefile to use /usr/bin/i586-mingw32msvc-gcc for the compiler
I'm getting the following error:
Code: [Select]
root@dcerouter:~/raw2dng/magic-lantern/modules/lv_rec# make raw2dng.exe
[ MINGW ] raw2dng.exe
../../src/chdk-dng.c: In function âfind_tag_indexâ:
../../src/chdk-dng.c:263: warning: implicit declaration of function â__builtin_unreachableâ
[ MINGW ] raw2dng.exe
raw2dng.c: In function âmainâ:
raw2dng.c:72: warning: implicit declaration of function âfseekoâ
[ MINGW ] raw2dng.exe
raw2dng.o:raw2dng.c:(.text+0x1468): undefined reference to `_fseeko'
collect2: ld returned 1 exit status
make: *** [raw2dng.exe] Error 1
In searching I found one forum thread which indicated gcc-multilib needed to be installed, but it hasn't resolved things.
Does this mean that the compiler isn't recognizing fseeko() as an already defined function from stdio.h? Shouldn't it since stdio.h is included in raw2dng.c?