[email protected] wrote:
Michal,
Author: Michal Pryc <[email protected]>
Repository: /hg/pkg/gate
Latest revision: 1a9bd005489f61651ddf10bdeb216f9ff398bbdf
Total changesets: 1
Log message:
7987 LDTP package needs to be included in the gate
Files:
create: src/patch/ldtp/find-python-path.patch
create: src/pkgdefs/SUNWldtp/Makefile
create: src/pkgdefs/SUNWldtp/copyright
create: src/pkgdefs/SUNWldtp/pkginfo
create: src/pkgdefs/SUNWldtp/prototype
update: src/pkgdefs/Makefile
update: src/setup.py
I'm getting failures in compiling this with the CBE compiler (Studio 12
with platches) as it wants to compile this with GCC specific options
such as -Wall. Is there something in the environment that I'm
missing?
David,
What kind of failure do you get?
I am seeing something like:
m...@opensolaris:~/Development/ips_gate/src/extern/ldtp-1.7.1/src$
/opt/SunStudioExpress/bin/cc -g -o ldtp ldtp.o ldtp-server.o
ldtp-logger.o client-handler.o ldtp-request.o ldtp-utils.o ldtp-gui.o
ldtp-error.o localization.o calendar.o calendar-view.o check-box.o
check-menu-item.o combo-box.o icon.o label.o layered-pane.o
ldtp-appmap.o list.o link.o menu.o menu-item.o page-tab-list.o panel.o
progress-bar.o push-button.o radio-button.o radio-menu-item.o remap.o
scroll-bar.o scroll-pane.o slider.o spin-button.o status-bar.o table.o
text.o toggle-button.o tool-bar.o tree-table.o device.o
embedded-component.o -lxml2 -lgobject-2.0 -lglib-2.0 -lpthread
-lcspi -lspi -lbonobo-2 -latk-1.0 -lbonobo-activation -lgmodule-2.0
-lORBit-2 -lgthread-2.0 -lpthread -lthread -lgobject-2.0 -lglib-2.0
Undefined first referenced
symbol in file
bind ldtp-server.o (symbol belongs to
implicit dependency /lib/libsocket.so.1)
recv ldtp-utils.o (symbol belongs to
implicit dependency /lib/libsocket.so.1)
send ldtp-utils.o (symbol belongs to
implicit dependency /lib/libsocket.so.1)
accept ldtp.o (symbol belongs to implicit
dependency /lib/libsocket.so.1)
listen ldtp-server.o (symbol belongs to
implicit dependency /lib/libsocket.so.1)
socket ldtp-server.o (symbol belongs to
implicit dependency /lib/libsocket.so.1)
setsockopt ldtp-server.o (symbol belongs to
implicit dependency /lib/libsocket.so.1)
inet_ntoa ldtp-server.o (symbol belongs to
implicit dependency /lib/libnsl.so.1)
ld: fatal: symbol referencing errors. No output written to ldtp
If it is the same problem then adding "-lsocket -lnsl" at the end will
build everything properly:
m...@opensolaris:~/Development/ips_gate/src/extern/ldtp-1.7.1/src$
/opt/SunStudioExpress/bin/cc -g -o ldtp ldtp.o ldtp-server.o
ldtp-logger.o client-handler.o ldtp-request.o ldtp-utils.o ldtp-gui.o
ldtp-error.o localization.o calendar.o calendar-view.o check-box.o
check-menu-item.o combo-box.o icon.o label.o layered-pane.o
ldtp-appmap.o list.o link.o menu.o menu-item.o page-tab-list.o panel.o
progress-bar.o push-button.o radio-button.o radio-menu-item.o remap.o
scroll-bar.o scroll-pane.o slider.o spin-button.o status-bar.o table.o
text.o toggle-button.o tool-bar.o tree-table.o device.o
embedded-component.o -lxml2 -lgobject-2.0 -lglib-2.0 -lpthread
-lcspi -lspi -lbonobo-2 -latk-1.0 -lbonobo-activation -lgmodule-2.0
-lORBit-2 -lgthread-2.0 -lpthread -lthread -lgobject-2.0 -lglib-2.0
-lnsl -lsocket
If this is another issue I will need to investigate, as I was not using
CBE to build the IPS gate.
If this will work for you, please log a bug and I will fix this in the gate.
--
best
Michal
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss