Find the answer to your Linux question:
Results 1 to 4 of 4
Hi everyone, I am having problems compiling vcdimager. I tried version 6.2 and 7.11 but in both instances i get the following output: ==== make all-recursive make[1]: Entering directory `/root/Desktop/vcdimager-0.6.2' ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Location
    Ontario, Canada
    Posts
    3

    Problems compiling vcdimager.


    Hi everyone, I am having problems compiling vcdimager. I tried version 6.2 and 7.11 but in both instances i get the following output:

    ====
    make all-recursive
    make[1]: Entering directory `/root/Desktop/vcdimager-0.6.2'
    Making all in libvcd
    make[2]: Entering directory `/root/Desktop/vcdimager-0.6.2/libvcd'
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wunused -Wall -Wmissing-prototypes -Wunused -Wpointer-arith -Wwrite-strings -c vcd.c
    In file included from vcd.c:39:
    vcd_files_private.h:364: flexible array member in otherwise empty struct
    vcd_files_private.h:446: flexible array member in otherwise empty struct
    vcd_files_private.h:467: flexible array member in otherwise empty struct
    make[2]: *** [vcd.o] Error 1
    make[2]: Leaving directory `/root/Desktop/vcdimager-0.6.2/libvcd'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/Desktop/vcdimager-0.6.2'
    make: *** [all-recursive-am] Error 2

    ====
    The only changes between versions when attempting compile is where the problems with the flexible array member are located. I checked the .h file but didn't see anything out of the ordinary. Maybe there is some obscure lib that I am missing? In the .h files I notice other such calls that the compiler does not complain about. Very wierd...never seen this before ... Anybody out there that can offer some assistance?

    TIA

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    possibly an issue with your version of GCC.

    get the output of "gcc -v" and check the offical support site for a dedicated developers or users mailing list to post your error message and the gcc -v data.

    You could also try upgrading your version (if less that 3) of gcc, or downgrading it (if > 3)

    Jason

  3. #3
    Just Joined!
    Join Date
    May 2004
    Location
    Ontario, Canada
    Posts
    3

    Resolved ...

    Looking at the ChangeLog the problem was fixed as of version 7.13

    ===


    2003-02-21 Friday 13:35 Herbert Valerio Riedel <hvr@gnu.org>

    * libvcd/: vcd_files_private.h, vcd_types.h: introduced bitfield_t
    typedef to workaround alignment issues on some compilers

    ====

    I got 7.14 to compile no problems with gcc 3.2.3. I think I would rather the unstable version of vcdimager than trying to **** around with the compiler ....

  4. #4
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284

    Re: Resolved ...

    Quote Originally Posted by tdi_veedub
    I got 7.14 to compile no problems with gcc 3.2.3. I think I would rather the unstable version of vcdimager than trying to **** around with the compiler ....
    A wise choice

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •