Menu

#19 compiling error

version 2.1.x
closed
chxxx
libggi (22)
5
2005-12-01
2005-11-16
Anonymous
No

When i try to compile libggi-2.1.1 /libggi-2.1.2 in a
fedora core 4 with gcc version 4.0.1 20050727 (Red Hat
4.0.1-5) i get an error. I do a normal compilation
(./configure && make ), and the error (when i execute
make) is the next:

[..]
-Wredundant-decls -Werror-implicit-function-declaration
-MT visual.lo -MD -MP -MF ".deps/visual.Tpo" -c -o
visual.lo visual.c; \ then mv -f ".deps/visual.Tpo" ".deps/visual.Plo"; else
rm -f ".deps/visual.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I/usr/local/include -g -O2 -I/usr/local/include
-D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall
-Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow
-Wnested-externs -Wredundant-decls
-Werror-implicit-function-declaration -MT visual.lo -MD
-MP -MF .deps/visual.Tpo -c visual.c -fPIC -DPIC -o
visual.lo
visual.c: In function 'GGIopen':
visual.c:127: error: invalid lvalue in assignment
make[3]: *** [visual.lo] Error 1
make[3]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2/display/vcsa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2/display'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2'
make: *** [all] Error 2
--------------
The error is in vcsa. If i configure with './configure
--disable-vcsa' and execute make, i get this error:
[..]
mmio.h:62: warning: type qualifiers ignored on function
return type
visual.c: In function 'do_cleanup':
visual.c:114: error: invalid lvalue in assignment
visual.c: In function 'GGIopen':
visual.c:256: error: invalid lvalue in assignment
make[5]: *** [visual.lo] Error 1
make[5]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2/default/fbdev/mga/2164w'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2/default/fbdev/mga'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2/default/fbdev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2/default'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/ggi-2.1.2-bundle/libggi-2.1.2'
make: *** [all] Error 2

-------------------
If i compile with option '--disable-fbdev' then the
compilation success.

thx

Discussion

  • chxxx

    chxxx - 2005-11-16
    • status: open --> pending
     
  • chxxx

    chxxx - 2005-11-16
    • assigned_to: nobody --> cegger
     
  • chxxx

    chxxx - 2005-11-16

    Logged In: YES
    user_id=51548

    Does the attached patch fix both build errors ?

    Does GGI 2.2-rc1 build out-of-the-box for you?

     
  • chxxx

    chxxx - 2005-11-16
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.