Ticket #545 (new defect)
Cross Compilation for WindRiver Pne-2.0 Fails
| Reported by: | Suryanarayana Garlapati <suryanarayana.garlapati@…> | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | Release 4 |
| Component: | Build Environment | Version: | 3.0.0-FC |
| Keywords: | Cc: | ||
| patch waiting for maintainer: | no |
Description
Hi,
I am Cross compiling the Opensaf with the Windriver PNE-2.0.
With the following changeset, its failing.
changeset: 515:b10400b32cf8
user: Mathi <Mathivanan.NP@…>
date: Thu Apr 30 19:15:01 2009 +0530
summary: Fix for #303: ncs_eds segfaults on SuSE SLES 10 SP2 when compiled at O1 or above
Following is the error observed after doing the configure.
checking for main in -lxerces-c... no
configure: error: Can't find the xerces shared libraries.
But the xerces are present.
With the Following changeset the Cross Compilation is sucess.
changeset: 468:eec5b563a77b
user: Steve Constant <steve.constant@…>
date: Fri Apr 10 11:23:04 2009 -0600
summary: Added tag 3.0.FC for changeset 9be981691099
Following is the ./configure option used.
./configure cc_exec_prefix="/opt/windriver/pne-2.0/7211/bin/i586-wrs-linux-gnu-x86_32-glibc_cgl" cc_lib_dir="/opt/windriver/pne-2.0/7211/sysroot/lib/" —enable-hpi —with-openhpi —with-hpi-interface=B02 —host=i586-wrs-linux-gnu CFLAGS="-g -I/home/surya/" CXXFLAGS="-g -I/home/surya" LDFLAGS="-L/opt/windriver/pne-2.0/7211/sysroot/usr/lib/"
One more point to note that, with the latest changeset. Following error is observed in config.log
configure:3044: checking whether we are cross compiling
configure:3046: result: no
but the older one in which it is success has the following log.
configure:2897: checking whether we are cross compiling
configure:2899: result: yes
Attached are the config.log in both the cases.
but previous
