LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Glibc make error (https://www.linuxquestions.org/questions/linux-software-2/glibc-make-error-79888/)

jarin scott 08-07-2003 01:56 PM

Glibc make error
 
I am getting the following error while running make for glibc.

[robert@localhost glibc-build]$ make >>glibcmake.text
/home/robert/Desktop/test_install/glibc-build/libc_pic.os: In function `vprintf':
/home/robert/Desktop/test_install/glibc-2.3.2/stdio-common/vprintf.c:32: undefined reference to `__GI_vfprintf'
/home/robert/Desktop/test_install/glibc-build/libc_pic.os: In function `*__GI_fprintf':
/home/robert/Desktop/test_install/glibc-2.3.2/stdio-common/fprintf.c:32: undefined reference to `__GI_vfprintf'
/home/robert/Desktop/test_install/glibc-build/libc_pic.os: In function `printf':
/home/robert/Desktop/test_install/glibc-2.3.2/stdio-common/printf.c:33: undefined reference to `__GI_vfprintf'/home/robert/Desktop/test_install/glibc-build/libc_pic.os: In function `*__GI_vsyslog':
/home/robert/Desktop/test_install/glibc-2.3.2/misc/syslog.c:194: undefined reference to `__GI_vfprintf'
/home/robert/Desktop/test_install/glibc-build/libc_pic.os: In function `*__GI_vwarnx':
/home/robert/Desktop/test_install/glibc-2.3.2/misc/err.c:106: undefined reference to `__GI_vfprintf'
/home/robert/Desktop/test_install/glibc-build/libc_pic.os:/home/robert/Desktop/test_install/glibc-2.3.2/misc/err.c:137: more undefined references to `__GI_vfprintf' follow
collect2: ld returned 1 exit status
make[1]: *** [/home/robert/Desktop/test_install/glibc-build/libc.so] Error 1
make: *** [all] Error 2

Any idea what is wrong.


Jarin Scott

jarin scott 08-08-2003 09:43 AM

Ok. I may be on to something but am most likely wrong, but I checked a bunch of files mainly the ones from above and a few others and all the error messages have something to do with the file 'vfprintf.c' . I have been, however, unable to find any reference to '__GI_ ' in any form. The change log says the following "sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
aliases, already added by make-syscalls.sh." Any ideas.

Jarin Scott

jarin scott 08-12-2003 10:12 AM

Okay now I'm downloading GLIBC again and am going to try compile it again unless sombody can help.

Jarin Scott

jarin scott 08-16-2003 10:36 AM

I reinstalled from a different directory and got passed the make stage with no errors. But when I run make check I get the following:

gcc: unrecognized option `-static-libgcc'

/usr/bin/ld:/home/robert/glib-build/libc.so.lds:109: parse error

collect2: ld returned 1 exit status

gcc: file path prefix `/home/robert/glib-build/csu/' never used

make[2]: *** [/home/robert/glib-build/libc.so] Error 1

make[2]: Leaving directory `/home/robert/glibc-2.3.2/iconv'

make[1]: *** [iconv/tests] Error 2

make[1]: Leaving directory `/home/robert/glibc-2.3.2'

make: *** [check] Error 2


Will await response,

Jarin Scott


All times are GMT -5. The time now is 12:46 AM.