LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-06-2002, 02:21 PM   #1
wornx
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
problems compilation gclib-2.2.5


hello, I have problems with gclib2.2.5
----------------------------------------------------
cd ../glibc-2.2.5
patch -Np1 -i ../glibc-2.2.5.patch
cd $LFS/usr/src/glibc-build
../glibc-2.2.5/configure \
--prefix=/usr --enable-add-ons \
--with-headers=$LFS/usr/include
-----------------------------------------------------------
when I execute make I obtain the following error :

# make
--------------------------------------------------------
syslog.c: In function `vsyslog':
syslog.c:219: `cancel_handler' undeclared (first use in this function)
syslog.c:219: (Each undeclared identifier is reported only once
syslog.c:219: for each function it appears in.)
syslog.c:219: warning: type defaults to `int' in declaration of `__save_FCT'
syslog.c:272: called object is not a function
syslog.c: In function `openlog':
syslog.c:330: parse error before `)'
syslog.c:330: `__save_FCT' undeclared (first use in this function)
syslog.c:330: parse error before `)'
syslog.c:338: `__save_ARG' undeclared (first use in this function)
syslog.c: In function `closelog':
syslog.c:362: parse error before `)'
syslog.c:362: `__save_FCT' undeclared (first use in this function)
syslog.c:362: parse error before `)'
syslog.c:372: `__save_ARG' undeclared (first use in this function)
make[2]: *** [/mnt/lfs/usr/src/glibc-build/misc/syslog.o] Error 1
make[1]: *** [misc/subdir_lib] Error 2
make: *** [all] Error 2

as it can be the problem
 
Old 08-06-2002, 10:17 PM   #2
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
your supposted to install glibc as chroot and those are NOT the commands it said to do in LFS
 
  


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
problems with new kernel compilation (2.4.31) fintanmcevoy Linux - Software 2 11-02-2005 09:27 AM
C++ compilation problems madhatter301 Programming 4 03-16-2005 05:13 PM
Compilation Problems kamransoomro84 Programming 9 05-04-2004 06:39 PM
BInutils 2.14 compilation problems Xing Linux - Software 0 09-26-2003 07:04 AM
X compilation problems da Perp Linux From Scratch 2 07-16-2002 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:34 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
Open Source Consulting | Domain Registration