Bug 218912
Summary: | Compiling with gcc296. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Andrew <ppavliks> | ||||
Component: | compat-gcc-296 | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.7 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-12-08 19:47:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Andrew
2006-12-08 10:06:05 UTC
Created attachment 143138 [details]
all output after make command
The first 2 errors are because -B/usr/lib/i386-redhat-linux7/lib/ wasn't passed to the compiler driver, so that it picks up glibc-2.2.4 crtfiles (crt*.o) as opposed to glibc 2.3.2. The second two errors just show that you can't link against compat-glibc if any of the libraries have been linked against a newer glibc. So, either you compile/link /app/oracle/product/8.0.5//lib/libclntsh.so against compat-glibc and then you can compile/link your program against compat-glibc too (note, -I/usr/lib/i386-redhat-linux7/include/ in LDFLAGS is wrong, you need that in CFLAGS, so that all sources are using compat-glibc headers). |