Just an FYI about compiling Sphinx2-0.5 under RedHat Fedora Core 3. It took me awhile to figure this out so just to let everybody know it is possible. I was getting the message "conflicting types for 'initialize'" during the make.
The problem is related to gcc 3.4. You can see info about this at: http://lists.debian.org/debian-qa-packages/2004/08/msg00026.html .
You'll need to download http://mirror.here.dk/debian/pool/main/s/sphinx2/sphinx2_0.5-1.diff.gz and apply that to the sphinx2-0.5 source before you can compile.
If you need details on how to do that then let me know.
You'll need to get
Hi Dan, Thanks, patch is submitted into the Patches tab in this page. -Arthur
Hi,
I'm using Mandrake 10.1 - I get the same error:
cdcn_update.c:128: error: conflicting types for 'initialize' cdcn_update.c:61: error: previous declaration of 'initialize' was here cdcn_update.c:128: warning: 'initialize' defined but not used make[4]: [cdcn_update.lo] Error 1 make[4]: Leaving directory /home/skooter/apps/sphinx2-0.5/src/libsphinx2' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/skooter/apps/sphinx2-0.5/src/libsphinx2' make[2]: [all-recursive] Error 1 make[2]: Leaving directory /home/skooter/apps/sphinx2-0.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/skooter/apps/sphinx2-0.5' make: *** [all] Error 2
/home/skooter/apps/sphinx2-0.5/src/libsphinx2' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/home/skooter/apps/sphinx2-0.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
I tried the patch. I pasted it into the root of the sphinx2-dir, correct? But it didn't work. Please help.
sorry, my bad - its:
ok... just laugh at me and call me stupid but i'm new to linux - a noob. But for thoes like me this is how you install the patch (I figured it out):
Unpack the file and copy it to the sphinx2 folder, then:
Log in to post a comment.
Just an FYI about compiling Sphinx2-0.5 under RedHat Fedora Core 3. It took me awhile to figure this out so just to let everybody know it is possible. I was getting the message "conflicting types for 'initialize'" during the make.
The problem is related to gcc 3.4. You can see info about this at: http://lists.debian.org/debian-qa-packages/2004/08/msg00026.html .
You'll need to download http://mirror.here.dk/debian/pool/main/s/sphinx2/sphinx2_0.5-1.diff.gz and apply that to the sphinx2-0.5 source before you can compile.
If you need details on how to do that then let me know.
You'll need to get
Hi Dan, Thanks, patch is submitted into the Patches tab in this page. -Arthur
Hi,
I'm using Mandrake 10.1 - I get the same error:
cdcn_update.c:128: error: conflicting types for 'initialize'
cdcn_update.c:61: error: previous declaration of 'initialize' was here
cdcn_update.c:128: warning: 'initialize' defined but not used
make[4]: [cdcn_update.lo] Error 1
make[4]: Leaving directory
/home/skooter/apps/sphinx2-0.5/src/libsphinx2' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/home/skooter/apps/sphinx2-0.5/src/libsphinx2'make[2]: [all-recursive] Error 1
make[2]: Leaving directory
/home/skooter/apps/sphinx2-0.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/skooter/apps/sphinx2-0.5'make: *** [all] Error 2
I tried the patch. I pasted it into the root of the sphinx2-dir, correct? But it didn't work. Please help.
sorry, my bad - its:
patch -p1 <sphinx2-patch_0.5-1.diff
ok... just laugh at me and call me stupid but i'm new to linux - a noob. But for thoes like me this is how you install the patch (I figured it out):
Unpack the file and copy it to the sphinx2 folder, then:
cd sphinx2-0.5
patch p1 <sphinx2-patch_0.5-1.diff