Opened 6 years ago

Closed 2 years ago

#117 closed defect (fixed)

kBuild fails to compile on linux

Reported by: sergiomb Owned by:
Priority: major Milestone:
Component: kBuild Version:
Keywords: Cc:



build kBuild from trunk, revision 2730 , fails to build on Linux Fedora with

/builddir/build/BUILD/kBuild/src/kmk/dir.c: In function 'dir_setup_glob':
/builddir/build/BUILD/kBuild/src/kmk/dir.c:1449:5: error: 'glob_t' has no member named 'gl_exists'
   gl->gl_exists = file_exists_p;
/builddir/build/BUILD/kBuild/src/kmk/dir.c:1450:5: error: 'glob_t' has no member named 'gl_isdir'
   gl->gl_isdir = dir_exists_p;
make[3]: *** [dir.o] Error 1

reverting commit 2702 on file src/kmk/dir.c (*) fixes the building. also fixes the building the patch in attach.


Attachments (2)

kBuild-0.1.9998-gl_.patch (406 bytes) - added by sergiomb 6 years ago.
kBuild-0.1.9998-glob.patch (646 bytes) - added by sergiomb 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by sergiomb

comment:1 Changed 5 years ago by sergiomb

Hi, Have you already fix this ?

Changed 4 years ago by sergiomb


comment:2 Changed 4 years ago by sergiomb

When :

checking if system libc has GNU glob... yes

It means that he have a glibc system and we can't use local kbuild glob implementation or else I got stack smashing detected (1), So the ifdef should be relative to system, have or not libc with GNU glob . I think it is have glibc .


comment:4 Changed 2 years ago by sergiomb

  • Resolution set to fixed
  • Status changed from new to closed

I'm testing svn revision 3050 and it compiles in Linux Fedora without any patch . Seems fixed !

Note: See TracTickets for help on using tickets.