CFLAFS and CC

Bessiere Julien julien.63 at FREE.FR
Fri Apr 28 09:09:49 PDT 2006


Hi, 
        i'm trying to install shapelib in the process to install
        MapServer
        but...
        I have this message:
        
        [root at localhost shapelib-1.2.10]# make
        cc -g -c shpopen.c
        cc -g shpcreate.c shpopen.o  -o shpcreate
        shpcreate.c: In function ‘main’:
        shpcreate.c:68: attention : incompatible implicit declaration of
        built-in function ‘exit’
        shpcreate.c:85: attention : incompatible implicit declaration of
        built-in function ‘exit’
        shpcreate.c:96: attention : incompatible implicit declaration of
        built-in function ‘exit’
        cc -g shpadd.c shpopen.o  -o shpadd
        cc -g shpdump.c shpopen.o  -o shpdump
        shpdump.c: In function ‘main’:
        shpdump.c:93: attention : incompatible implicit declaration of
        built-in
        function ‘exit’
        shpdump.c:104: attention : incompatible implicit declaration of
        built-in
        function ‘exit’
        shpdump.c:198: attention : incompatible implicit declaration of
        built-in
        function ‘exit’
        cc -g shprewind.c shpopen.o  -o shprewind
        shprewind.c: In function ‘main’:
        shprewind.c:61: attention : incompatible implicit declaration of
        built-in function ‘exit’
        shprewind.c:72: attention : incompatible implicit declaration of
        built-in function ‘exit’
        shprewind.c:85: attention : incompatible implicit declaration of
        built-in function ‘exit’
        shprewind.c:108: attention : incompatible implicit declaration
        of
        built-in function ‘exit’
        cc -g -c dbfopen.c
        cc -g dbfcreate.c dbfopen.o  -o dbfcreate
        cc -g dbfadd.c dbfopen.o  -o dbfadd
        cc -g dbfdump.c dbfopen.o  -o dbfdump
        cc -g shptest.c shpopen.o  -o shptest
        
        As said in the INSTALL file, i have to set CFLAGS and CC.
        But i don't know what to write.
        For the moment it's : CFLAGS  =       -g
        I'm on fedora core 5.
        
        [julien at localhost ~]$ cat /proc/cpuinfo  
        processor       : 0
        vendor_id       : GenuineIntel
        cpu family      : 15
        model           : 2
        model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
        stepping        : 9
        cpu MHz         : 2993.290
        cache size      : 512 KB
        physical id     : 0
        siblings        : 2
        core id         : 0
        cpu cores       : 1
        fdiv_bug        : no
        hlt_bug         : no
        f00f_bug        : no
        coma_bug        : no
        fpu             : yes
        fpu_exception   : yes
        cpuid level     : 2
        wp              : yes
        flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr
        pge mca
        cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
        cid xtpr
        bogomips        : 5995.92
        
        processor       : 1
        vendor_id       : GenuineIntel
        cpu family      : 15
        model           : 2
        model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
        stepping        : 9
        cpu MHz         : 2993.290
        cache size      : 512 KB
        physical id     : 0
        siblings        : 2
        core id         : 0
        cpu cores       : 1
        fdiv_bug        : no
        hlt_bug         : no
        f00f_bug        : no
        coma_bug        : no
        fpu             : yes
        fpu_exception   : yes
        cpuid level     : 2
        wp              : yes
        flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr
        pge mca
        cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
        cid xtpr
        bogomips        : 5986.03
        
        thanks
        
        Julien
        



More information about the MapServer-users mailing list