Opened 11 years ago
Closed 8 years ago
#117 closed defect (fixed)
kBuild fails to compile on linux
| Reported by: | Sérgio Monteiro Basto | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | kBuild | Version: | |
| Keywords: | Cc: |
Description
Hi,
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.
(*) http://trac.netlabs.org/kbuild/changeset/2702/trunk/src/kmk/dir.c
Attachments (2)
Change History (6)
by , 11 years ago
| Attachment: | kBuild-0.1.9998-gl_.patch added |
|---|
comment:1 by , 11 years ago
comment:2 by , 10 years ago
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 .
(1) http://stackoverflow.com/questions/1345670/stack-smashing-detected
comment:3 by , 10 years ago
latest patch in use http://pkgs.fedoraproject.org/cgit/kBuild.git/tree/kBuild-0.1.9998-glob.patch
comment:4 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
I'm testing svn revision 3050 and it compiles in Linux Fedora without any patch . Seems fixed !

Hi, Have you already fix this ?