Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#882 Build error on current trunk

closed
5
2012-04-16
2012-04-16
Collette
No

Hello,

I build the current trunk extracted from svn.
I use mageia 1 32 bits.

When I build pd (make install prefix=/local/stow/pd-devel in pd/package/linux_make), I've got the following error:

cc -O2 -g -DINSTALL_PREFIX=\"/local/stow/pd-devel/\" -c -o ../obj/s_file.o s_file.c
s_file.c: In function ‘sys_initloadpreferences’:
s_file.c:51:17: erreur: storage size of ‘statbuf’ isn’t known

Best regards,

YC

Discussion

  • Collette
    Collette
    2012-04-16

    HAVE_UNISTD_H is not defined.
    I include manually sys/stat.h in s_file.c and the compilation when fine.

     
  • Collette
    Collette
    2012-04-16

    Now, I've got a link problem:

    /home/collette/repositories/pure-data/pd/src/g_text.c:713: undefined reference to `u8_wc_toutf8'
    g_rtext.o: In function `rtext_senditup':
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:203: undefined reference to `u8_charnum'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:223: undefined reference to `u8_offset'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:249: undefined reference to `u8_charnum'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:255: undefined reference to `u8_offset'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:239: undefined reference to `u8_charnum'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:309: undefined reference to `u8_charnum'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:312: undefined reference to `u8_charnum'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:319: undefined reference to `u8_charnum'
    g_rtext.o: In function `rtext_key':
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:556: undefined reference to `u8_dec'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:558: undefined reference to `u8_dec'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:536: undefined reference to `u8_inc'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:565: undefined reference to `u8_inc'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:519: undefined reference to `u8_wc_nbytes'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:482: undefined reference to `u8_dec'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:487: undefined reference to `u8_inc'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:546: undefined reference to `u8_dec'
    /home/collette/repositories/pure-data/pd/src/g_rtext.c:567: undefined reference to `u8_inc'
    g_editor.o: In function `canvas_key':
    /home/collette/repositories/pure-data/pd/src/g_editor.c:1677: undefined reference to `u8_wc_toutf8_nul'
    collect2: ld a retourné 1 code d'état d'exécution

    YC

     
  • Hey YC,

    The development of the core of Pd-extended is in git not SVN. This is because its based off of the pure-data.git of Miller Puckette. The easiest way to get the full source is the rsync method, the pd/ folder in SVN is out-of-date. You can find out more here:
    http://puredata.info/docs/developer/GettingPdSource

    Also, since Mageia seems to be RPM-based, it would be really awesome if you could make up-to-date RPM packaging for Pd and libraries. Since most libraries are based off of the Library Template, making an RPM for one library is the bulk of the work, then its easy to apply that to the rest.
    http://puredata.info/docs/developer/LibraryTemplate

    Contact the pd-dev@iem.at list or me hans@eds.org if you are up for it.

     


Anonymous


Cancel   Add attachments