[SM-Grimoire-Bugs] [Bug 15322] New: t1utils does not build (fix included)

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Jul 28 09:33:54 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15322

           Summary: t1utils does not build (fix included)
           Product: Codex
           Version: stable grimoire
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: doc
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: finn_haedicke at gmx.net


cast t1utils

make[1]: Entering directory `/usr/src/t1utils-1.34'
gcc  -march=core2 -fPIC -DPIC -pipe -DPIC -fPIC -O3  -z combreloc -o t1ascii
clp.o t1lib.o t1ascii.o  
gcc  -march=core2 -fPIC -DPIC -pipe -DPIC -fPIC -O3  -z combreloc -o t1binary
clp.o t1lib.o t1binary.o  
gcc -DHAVE_CONFIG_H -I.  -I./include   -march=core2 -fPIC -DPIC -pipe -DPIC
-fPIC -O3 -MT t1asm.o -MD -MP -MF .deps/t1asm.Tpo -c -o t1asm.o t1asm.c
t1asm.c:283: error: conflicting types for 'getline'
/usr/include/stdio.h:651: error: previous declaration of 'getline' was here
make[1]: *** [t1asm.o] Error 1
make: *** [all] Error 2
make[1]: Leaving directory `/usr/src/t1utils-1.34'
 ! Problem Detected ! 

FIX:
The problem (custom getline) can be be fixed by a simple sedit in PRE_BUILD:

default_pre_build    &&
cd $SOURCE_DIRECTORY &&
sedit 's/getline/local_getline/g' t1asm.c

(t1utils can also be quilled (updated) to 1.34)

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list