LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2004, 10:40 PM   #1
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
Problems 'make'ing glibc-2.3.2


I am attempting to build glibc 2.3.2 from source. I am running slack 9.1 (kernel 2.4.22). Before I explain my problem, let me go over what I did, in order to make certain that I did not misunderstand something that the instructions were telling me to do. The instructions I am talking about are at GNU's glibc site (Sorry - can't link directly to it due to my low # of posts here, but it's quite easy to find)

I first downloaded both the glibc and linuxthreads archives. I unzipped them and then moved the linuxthreads directory into the glibc-2.3.2 directory. I created a separate build directory as stated in the instructions. So the structure is now like this:

/home/jrtayloriv/
/home/jrtayloriv/glibcBUILD/ --> build directory
/home/jrtayloriv/glibc-2.3.2/ --> glibc source
/home/jrtayloriv/glibc-2.3.2/linuxthreads/ --> linuxthreads add-on source

I then set /home/jrtayloriv/glibc-2.3.2/ to the variable GLIBCSRCDIR

I then ran the following from /home/jrtayloriv/glibcBUILD/ without any error messages:

$GLIBCSRCDIR/configure --prefix /usr/local/lib/glibc-2.3.2 --enable-add-ons

(is the prefix acceptable? I wasn't so sure about that one, but the configure script ran wihtout any noticable problems)

The 'make' is where I encountered the error. I have pasted the entire output at the bottom of the post. Anyone encountered a similar problem? I would really appreciate any suggestions.

Thanks,
jrtayloriv

bash-2.05b# make
make -r PARALLELMFLAGS="" CVSOPTS="" -C /home/jrtayloriv/glibc-2.3.2 objdir=`pwd` all
make[1]: Entering directory `/home/jrtayloriv/glibc-2.3.2'
make -C csu subdir_lib
make[2]: Entering directory `/home/jrtayloriv/glibc-2.3.2/csu'
gcc ../sysdeps/unix/sysv/linux/init-first.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/home/jrtayloriv/glibcBUILD/csu -I.. -I../libio -I/home/jrtayloriv/glibcBUILD -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I /lib/modules/2.4.22/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o /home/jrtayloriv/glibcBUILD/csu/init-first.o
In file included from ../linuxthreads/internals.h:29,
from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
from ../sysdeps/generic/ldsodefs.h:38,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/descr.h:43:40: linuxthreads_db/thread_dbP.h: No such file or directory
In file included from ../linuxthreads/internals.h:29,
from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
from ../sysdeps/generic/ldsodefs.h:38,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/descr.h:164: syntax error before "td_eventbuf_t"
../linuxthreads/descr.h:164: warning: no semicolon at end of struct or union
../linuxthreads/descr.h:184: syntax error before '}' token
../linuxthreads/descr.h:184: warning: empty declaration
../linuxthreads/descr.h: In function `thread_self':
../linuxthreads/descr.h:250: invalid use of undefined type `struct _pthread_descr_struct'
In file included from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
from ../sysdeps/generic/ldsodefs.h:38,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/internals.h: At top level:
../linuxthreads/internals.h:159: syntax error before "__pthread_threads_events"
../linuxthreads/internals.h:159: warning: type defaults to `int' in declaration of `__pthread_threads_events'
../linuxthreads/internals.h:159: warning: data definition has no type or storage class
../linuxthreads/internals.h: In function `invalid_handle':
../linuxthreads/internals.h:178: dereferencing pointer to incomplete type
../linuxthreads/internals.h:178: dereferencing pointer to incomplete type
../linuxthreads/internals.h: In function `nonexisting_handle':
../linuxthreads/internals.h:183: dereferencing pointer to incomplete type
make[2]: *** [/home/jrtayloriv/glibcBUILD/csu/init-first.o] Error 1
make[2]: Leaving directory `/home/jrtayloriv/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/jrtayloriv/glibc-2.3.2'
make: *** [all] Error 2
 
  


Reply



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
glibc problems sir_tank Fedora 2 10-21-2005 10:36 PM
trouble 'make'ing baghira on slack10.1 nadroj Linux - Newbie 1 06-03-2005 03:16 AM
glibc compiling problems Gero Linux - Software 1 03-25-2005 09:21 PM
glibc problems Icarus315 Linux - Games 1 03-11-2005 02:36 PM
Difficulty make'ing paketto-1.0: /usr/bin/ld: cannot find -lnet rtwatts07 Linux - Newbie 2 12-28-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:26 PM.

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