LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2005, 04:34 PM   #1
Alexo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 9

Rep: Reputation: 0
Problem compiling dazuko


My kernel exports the __d_path() function required for dazuko.
However, when I try to ./configure dazuko I get this...

------------------------------------------------------
In file included from linux_conf.c:7:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from linux_conf.c:7:
/usr/include/gconv.h:72: error: syntax error before "size_t"
/usr/include/gconv.h:88: error: syntax error before "size_t"
/usr/include/gconv.h:97: error: syntax error before "size_t"
/usr/include/gconv.h:174: error: syntax error before "size_t"
/usr/include/gconv.h:177: error: syntax error before '}' token
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from linux_conf.c:7:
/usr/include/_G_config.h:47: error: field '__cd' has incomplete type
/usr/include/_G_config.h:50: error: field '__cd' has incomplete type
In file included from /usr/include/stdio.h:72,
from linux_conf.c:7:
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
In file included from /usr/include/stdio.h:72,
from linux_conf.c:7:
/usr/include/libio.h:354: error: syntax error before "size_t"
/usr/include/libio.h:363: error: syntax error before "size_t"
/usr/include/libio.h:475: error: syntax error before "__gnuc_va_list"
/usr/include/libio.h:477: error: syntax error before "__gnuc_va_list"
/usr/include/libio.h:479: error: syntax error before "_IO_sgetn"
/usr/include/libio.h:479: error: syntax error before "size_t"
In file included from linux_conf.c:7:
/usr/include/stdio.h:304: error: syntax error before "size_t"
/usr/include/stdio.h:311: error: syntax error before "size_t"
/usr/include/stdio.h:339: error: syntax error before "__gnuc_va_list"
/usr/include/stdio.h:344: error: syntax error before "__gnuc_va_list"
/usr/include/stdio.h:347: error: syntax error before "__gnuc_va_list"
/usr/include/stdio.h:353: error: syntax error before "size_t"
/usr/include/stdio.h:357: error: syntax error before "size_t"
/usr/include/stdio.h:605: error: syntax error before "fread"
/usr/include/stdio.h:605: error: syntax error before "size_t"
/usr/include/stdio.h:611: error: syntax error before "fwrite"
/usr/include/stdio.h:611: error: syntax error before "size_t"
/usr/include/stdio.h:633: error: syntax error before "fread_unlocked"
/usr/include/stdio.h:633: error: syntax error before "size_t"
/usr/include/stdio.h:635: error: syntax error before "fwrite_unlocked"
/usr/include/stdio.h:635: error: syntax error before "size_t"



What's wrong?
 
Old 05-28-2005, 04:48 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Hmm.. my dazuko (the dazuko-source debian package) doesn't have a file named linux_conf.c.

Which dazuko we are talking about?
 
Old 05-28-2005, 04:58 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
Quote:

/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory


your compiler is broken -- these files are on it's own internal hardcoded path
what do you get with
gcc -v
it will say something like
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/spec
that means these needed files are in /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include
are they there ?
did you move your compiler around ?
 
Old 05-28-2005, 05:01 PM   #4
Alexo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
ToniT,
I got dazuko-2.1.0-pre4.tar.gz from dazuko.org. I needed it to build AVGuard.
I'm using kernel 2.6.11 (fedora core 3).

Cheers
 
Old 05-28-2005, 05:33 PM   #5
Alexo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
The story from the beginning:
In my first try to compile dazuko I got:

/bin/sh: cc: command not found

Trying to shed some light in my ignorance, I copied gcc from /usr/bin to /bin keeping the original though.
The result was what I already posted.


Thanks
 
Old 05-28-2005, 10:52 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
Quote:
Originally posted by Alexo
The story from the beginning:
In my first try to compile dazuko I got:

/bin/sh: cc: command not found

Trying to shed some light in my ignorance, I copied gcc from /usr/bin to /bin keeping the original though.
The result was what I already posted.


Thanks
delete the one you put in /bin gcc gets all weird about being moved
create these links and see if it works better
ln -s ../usr/bin/cpp /lib
ln -s gcc /usr/bin/cc
 
Old 05-30-2005, 07:27 AM   #7
Alexo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by foo_bar_foo

ln -s ../usr/bin/cpp /lib
ln -s gcc /usr/bin/cc
2nd command line worked, but I donīt understand the 1st.
Why do I have to create a link to /usr/bin/cpp in /lib?

Anyway, compiling after the 2nd command, I got:

In file included from linux_conf.c:7:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory

And I checked that the file stddef.h exists in the said dir...

Please help

Thanks
 
Old 05-30-2005, 08:58 AM   #8
Alexo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
Problem didn't go away, just evolved (lol)
I reinstalled development packages and tried to compile dazuko again.
This is what I got:

checking host system type... Linux
kernel source in /lib/modules/2.6.11-1.27_FC3/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
checking if Linux is 2.6... yes (2.6.11)
checking if security module support is enabled... yes
verifying capabilities are not built-in... built-in
error: capabilities are built-in to the kernel:
you will need to recompile a kernel with capabilities
as a kernel module

Sugestions?

Thanks
 
Old 06-04-2005, 10:22 AM   #9
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
You have to reconfigure your kernel.
In sourcetree run
Code:
make menuconfig
and select 'Security Options' -> 'Default Linux Capabilities' and flag it as a module (M).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dazuko Stevecook Linux - Software 5 08-02-2006 12:39 AM
installing dazuko NNP Linux - Software 3 05-16-2005 07:31 AM
Compiling Kernel for Dazuko - make error timmywo Linux - General 2 03-28-2005 04:55 PM
clamav - dazuko install problem ssfrstlstnm Debian 2 01-30-2005 12:15 PM
Using Dazuko with F-Prot vijayind Linux - Software 0 01-07-2005 08:38 AM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration