Problems with make/gcc on Solaris
I'm working on building a binary on several different platforms, but the only one giving me trouble is Solaris 10 (64-bit -- though apparently this is building a 32-bit binary). The binary relies on the following project:
https://projects.coin-or.org/Cbc
I can checkout their code from SVN and build it without a problem. However, we then have a small cpp file that links to those libraries. I cannot get this cpp file to build. In fact, Solaris chokes on the makefile itself complaining that one of the lines ends with the '$' (which it does). The strange thing is, this makefile works correctly on Linux. It also works just fine on Windows in the MinGW environment (I do have to add a few flags on Windows but they are completely unrelated and the line ending with '$' still still present and works).
Since the makefile failed, I tried to run the 2 commands that it does manually. The first one succeeds but the second command fails to locate the dynamic libraries -- even though the directory they reside in is specified in the -L argument. What gives??
I put /usr/ccs/bin and /usr/sfw/bin in my PATH variable so that I can use make and gcc. I had to add /usr/sfw/lib to the LIBDIR variable, otherwise I was getting even more errors. Here is the makefile and the error that I get when I try to run make:
-bash-3.2$ cat makefile
CPP = gcc
COINPATH = /export/home/locuser/cbc_source/coin-cbc
CPATH += -I$(COINPATH)/include/coin
LIBDIR = -L$(COINPATH)/lib:/usr/sfw/lib
COINLIBS = -lCbcSolver -lCbc -lCgl -lOsiClp -lClp -lOsi -lCoinUtils -lm
CFLAGS += -DUSE_SNAPSHOT=1 -DNEW_SIMULATOR=1 -g $(CPATH)
DATASTORE=$(PSASRC)/datastore.a
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
.cpp.o:
$(CPP) $(CFLAGS) -c -o $@ $<
OBJSx = cbc.o
cbc: $(OBJSx) $
$(CPP) $(CFLAGS) -o cbc $+ $(LIBDIR) $(COINLIBS)
-bash-3.2$ make
mksh: Fatal error in reader: '$' at end of line
Current working directory /export/home/locuser/cbc_source/solver
Then this is what happened when I tried to run the 2 commands manually:
-bash-3.2$ gcc -DUSE_SNAPSHOT=1 -DNEW_SIMULATOR=1 -g -I/export/home/locuser/cbc_source/coin-cbc/include/coin -c -o cbc.o cbc.cpp
-bash-3.2$ gcc -DUSE_SNAPSHOT=1 -DNEW_SIMULATOR=1 -g -I/export/home/locuser/cbc_source/coin-cbc/include/coin -o cbc cbc.o -L/export/home/locuser/cbc_source/coin-cbc/lib:/usr/sfw/lib -lCbcSolver -lCbc -lCgl -lOsiClp -lClp -lOsi -lCoinUtils -lm
ld: fatal: library -lCbcSolver: not found
ld: fatal: library -lCbc: not found
ld: fatal: library -lCgl: not found
ld: fatal: library -lOsiClp: not found
ld: fatal: library -lClp: not found
ld: fatal: library -lOsi: not found
ld: fatal: library -lCoinUtils: not found
ld: fatal: file processing errors. No output written to cbc
collect2: ld returned 1 exit status
However, if I cd into the directory /export/home/locuser/cbc_source/coin-cbc/lib then the libraries do indeed exist there:
-bash-3.2$ cd /export/home/locuser/cbc_source/coin-cbc/lib
-bash-3.2$ ls lib*.so.0
libCbc.so.0 libClp.so.0 libOsiCbc.so.0
libCbcSolver.so.0 libCoinUtils.so.0 libOsiClp.so.0
libCgl.so.0 libOsi.so.0 libOsiCommonTests.so.0
Any ideas on what I am doing wrong here? It seems like there is something non-standard about make on Solaris?
Woo hoo! I was able to finally get past this. Thank you both for you assistance. I tried the LD_DEBUG=files option and it didn't seem to help me much. I got some additional output but it appeared unrelated. So then I separated out my -L argument into 2 separate arguments. This changed the error messages and led to some errors about operator new and delete not being found as well as some gz and BZ2 functions not being found:
Undefined first referenced
symbol in file
operator new[](unsigned int) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
operator new(unsigned int) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int) constcbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
vtable for __cxxabiv1::__si_class_type_infocbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
std::basic_ostream<char, std::char_traits<char> >::operator<<(int)cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
BZ2_bzRead /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
operator delete[](void*) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
operator delete(void*) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
gzopen /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
gzread /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
BZ2_bzReadOpen /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
BZ2_bzWriteOpen /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
This led me to two conclusions:
1. I needed to change the makefile to use g++ instead of gcc (due to the messages about the operators existing in libstd*c++*.so.6).
2. I needed to include the libz and libbz2 libraries (by adding -lz and -lbz2) to COINLIBS.
I made those 2 changes to the makefile and it built successfully with gmake! So now I'm off to go document this information on our wiki. Thanks for the suggestions -- they pointed me in the right direction and ultimately helped me resolve this issue. :)
Similar Messages
-
Problem with native ldapsearch in Solaris 10
Hi all,
someone could tell me please why native ldapsearch in Solaris 10 do not work with SSL connection when same command comes with Sun Directory Server 5.2 works perfectly ?
With native ldapsearch in Solaris 10, I get the error message "Can't contact LDAP server":
# /bin/ldapsearch -v -h ldapserver -p 636 -Z -P /var/ldap -b dc=exemple,dc=fr -s base objectclass=\*
ldap_init( ldapserver, 636 )
filter pattern: objectclass=*
returning: ALL
filter is: (objectclass=*)
ldap_search: Can't contact LDAP server
When, on the same host, on which Directory server is installed, there's no problem:
# /var/opt/mps/serverroot/shared/bin/ldapsearch -v -h ldapserver -p 636 -Z -P /var/ldap -b dc=exemple,dc=fr -s base objectclass=\*
ldap_init( exemple, 636 )
ldaptool_getcertpath -- /var/opt/mps/serverroot/alias
ldaptool_getkeypath -- /var/opt/mps/serverroot/alias
ldaptool_getdonglefilename -- (null)
filter pattern: objectclass=*
returning: ALL
filter is: (objectclass=*)
version: 1
dn: dc=exemple,dc=fr
nisDomain: exemple.fr
objectClass: top
objectClass: domain
objectClass: nisDomainObject
1 matches
What can I do to bind to ldap server with SSL connection from an ordinary work station?
Thank you in advance.
DraHi :
"The /usr/bin/ldapsearch is an old version that does not support the "-Z" and "-P" flags to test SSL connection on port 636, use the ldapsearch command from SUN DS5.0/5.1 that comes bundled with Solaris9 and usually installed at /usr/iplanet/ds5 (DS5.0/5.1) or /var/Sun/mps (DS5.1/5.2) or /var/opt/mps/serverroot (DS5.2)"
Source : http://forums.sun.com/thread.jspa?threadID=5089467
Hope this can help,
Regards,
Groucho_fr -
Problem with Make (C language) command on Aquamacs
Hello i'm french.. so sorry for my English
i'm trying to do some basics programs on C langage on Aquamacs.
but the "make" command does not works with me.
my module is like this
#include <stdlib.h>
#include <stdio.h>
#include "arithmetique.h"
int max(int a, int b)
if (a>b)
return a;
return b;
int puissanceDe2(int n)
int p2 = 1;
for (int i=0; i<n; i++)
p2*=2;
return p2;
int resteTq(int a,int b)
while(a>=b)
a-=b;
return a;
int resteFor(int a, int b)
for(;a>=b;a-=b)
return a;
int resteRj(int a,int b)
if(a<b)
return a;
do
a-=b;
while(a>b);
return a;
int pgcdRec(int a,int b)
if(a==b)
return a;
if(a<b)
return pgcdRec(b-a,a);
return pgcdRec(a-b,b);
int pgcdIter(int a,int b)
while(a!=b)
if(a<b)
b-=a;
a-=b;
return a;
my makefile like this:
# Makefile
arithmetique: arithmetique.o testArithmetique.o
gcc arithmetique.o testArithmetique.o −o arithmetique
arithmetique.o: arithmetique.c arithmetique.h
gcc −std=c99 −g −Wall −Werror -c arithmetique.c
testArithmetique.o: testArithmetique.c arithmetique.h
gcc −std=c99 −g −Wall −Werror -c testArithmetique.c
and my compilation error like this:
make
gcc −c −std=c99 −g −Wall −Werror arithmetique.c
i686-apple-darwin11-llvm-gcc-4.2: −c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: −std=c99: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: −g: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: −Wall: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: −Werror: No such file or directory
arithmetique.c: In function 'puissanceDe2':
arithmetique.c:17: error: 'for' loop initial declaration used outside C99 mode
make: *** [arithmetique.o] Error 1
Compilation exited abnormally with code 2 at Wed Nov 28 21:26:29
i'm at university and thoses files works on Ubuntu but not on my Mac.. someone can tell me why?
xCode is installed already. Direct commands with gcc works.Oh thanks !
i have complete your makefile with my good files and it works !
# Makefile
CFLAGS=-std=c99 -g -Wall -Werror
CC=gcc
arithmetique: arithmetique.o testArithmetique.o
$(CC) -o arithmetique arithmetique.o testArithmetique.o
arithmetique.o: arithmetique.c arithmetique.h
$(CC) $(CFLAGS) -c arithmetique.c
testAr.o: testArithmetique.c arithmetique.h
$(CC) $(CFLAGS) -c testArithmetique.c
thanks for your answer. -
Problem with Make to Order sales order
Hi,
We are facing a problem with sales order which has Make to order item catagory, Rescheduling is not happening for the sales order of this type. However, we have taken up this issue with SAP and SAP has replied that MTO sales order are Excluded from rescheduling program. SAP has suggested us to use CO28 to reschedule the Production order so that the changes can effect the corrorsponding sales order.
We have observed that when sales order is created with MTO item category, production order is automatically created but when we see the Requirement list in MD04 for the material there is an Exception message as '20' (Cancel process). After the production order is confirmed and goods reciept has done the quantity confirmed against the sales order is becoming ZERO and hence we could not able to create delivery for the sales order.
We kindly request you to help us in this regard. This is creating a big problem for our business.
Thanks counting on your support.
Warm Regards,
Sridhar BurugulaDear ,
Did you check any sales order reference in your production order assingment tab? Did you check the cost roll up in sales order level based on the BOM and Routung created for dt FG?
I believe the link between Sales Order and Production order lies in requirement Type and Requirement Class in define planning strategy .
Check in you make to order planning stratgey -SPRO-Define Planning Strategy -Make To Order .Here you should keep the correct Requirement type for customer(OVZH) and requirement class (OVZG).
Check and revert
Regards
JH -
Problems with 8.1.7 Solaris/32bits
I tried to download the 8.1.7 for Sparc Solaris 32bits but when I called gzip it returned a message that it is not on gzip format. I downloaded again and the same message was reported by gzip. I compared the two files and no differences was encountered. Is there any problem with the image ?
File : 817solaris.cpio.gz
Browser : M$-Internet Explorer 5.0 on Window$ 2000
OS : SPARC Solaris 8
Thanks,
Daniel VermesHans,
It is a known problem on Windows 98, Windows and Windows 2000 if you are using Intel Pentium 4 processor with Sun JRE and Symantec JIT. I had the same problem with Windows 98. Oracle has a patch. Please see Note:131299.1 on metalink for details. -
Initial problems with Berkeley DB on Solaris
Hi,
I am new to Berkeley DB.
I am trying to build Berkeley Db on Solaris.
I am not sure if the configure is working fine.
When i run , ../dist/configure i am getting the below output
../dist/configure
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... no
checking if --enable-cxx option specified... no
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-pthread_api option specified... no
checking if --enable-rpc option specified... no
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for ar... no
configure: error: No ar utility found.
Can you pls help me out?Hi,
I have fixed the problem encountered, the problem was that "ar" utiltity was not in the PATH
Sorry for the trouble.
However, the second step is failing now
make
/usr/bin/sh ./libtool --mode=compile cc -Xc -D__EXTENSIONS__ -c -I. -I../dist/.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O ../dist/../mp/mp_sync.c
cc -Xc -D__EXTENSIONS__ -c -I. -I../dist/.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O ../dist/../mp/mp_sync.c -KPIC -DPIC -o .libs/mp_sync.o
ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
ucbcc: Warning: "-Xc" redefines compatibility mode from "SunC transition" to "strict ANSI"
Notice: The Early Access serial number will expire in -7 days.
In order to purchase the product, visit http://www.sun.com/forte/buy.html
or contact your Forte Tools reseller.
"/usr/ucbinclude/sys/wait.h", line 68: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 69: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 70: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 71: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 84: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 85: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 86: warning: nonportable bit-field type
"/usr/ucbinclude/unistd.h", line 97: warning: macro redefined: PCLAST
"/usr/ucbinclude/unistd.h", line 117: warning: macro redefined: POSIXVERSION
ucbcc: Fatal error in iropt: Segmentation Fault (core dumped)
make: *** [mp_sync.lo] Error 1
I think this has something to do with the c++ compiler, but i am not sure how to fix this, can anybody help me?
Thanks & Regds,
Gururaj -
Problem with JNI in a Solaris shared library
Hi,
I have a problem.
I have used JNI in my .dll on Windows & .so on Solaris . I have also used the same JNI code in a .exe on Windows & an executable on Solaris. 3 out of the above 4 combinations work & 1 doesen't. When I use JNI from a .so on Solaris 8(with/without the J2SE recommended patch), the JVM seems to have some exception & dumps core when I invoke CreateJavaVM(). See Below - I've included the output on the screen & the output from 'pstack core' :
Unexpected Signal : 11 occurred at PC=0xFED29D44
Function=[Unknown. Nearest: JVM_GetMethodIxExceptionIndexes+0x1994]
Library=/usr/java/jre/lib/sparc/libjvm.so
Current Java thread:
Dynamic libraries:
0x10000 SblSim
0xff280000 /usr/lib/libnsl.so.1
0xfec00000 /usr/java/jre/lib/sparc/libjvm.so
0xff370000 /usr/lib/libpthread.so.1
0xff350000 /usr/lib/librt.so.1
0xff260000 /usr/lib/libsocket.so.1
0xff390000 /usr/lib/libdl.so.1
0xff230000 /usr/lib/libCrun.so.1
0xff200000 /usr/lib/libm.so.1
0xff340000 /usr/lib/libw.so.1
0xff1b0000 /usr/lib/libthread.so.1
0xff080000 /usr/lib/libc.so.1
0xff180000 /usr/lib/libmp.so.2
0xff160000 /usr/lib/libaio.so.1
0xff1f0000 /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
0xfebd0000 /usr/j2se/jre/lib/sparc/native_threads/libhpi.so
0xfeba0000 /usr/j2se/jre/lib/sparc/libverify.so
0xfeb60000 /usr/j2se/jre/lib/sparc/libjava.so
0xfeb40000 /usr/j2se/jre/lib/sparc/libzip.so
0xfe920000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
0xf1400000 ./libaicd.so
0xfc480000 ./libmttoolkit.so
0xfdfe0000 ./libmttlogger.so
0xfdfb0000 /usr/j2se/jre/lib/sparc/libnet.so
Local Time = Tue Nov 12 09:51:37 2002
Elapsed Time = 29
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002D5 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
# An error report file has been saved as hs_err_pid3120.log.
# Please refer to the file for further information.
Abort(coredump)
Below is the output of 'pstack core'
$ pstack core
core 'core' of 3120: SblSim libaicd.so 127.0.0.1 9999
----------------- lwp# 1 / thread# 1 --------------------
ff1c9764 __sigprocmask (ff1cbf60, 0, 0, 565f8, ff1de000, 0) + 8
ff1be110 _sigon (565f8, ff1e5930, 6, ffbedba4, 565f8, 6) + d0
ff1c1150 thrpkill (0, 1, 6, ff1de000, 1, ff140450) + f8
ff0cb900 raise (6, 0, 0, ffffffff, ff1403bc, 4) + 40
ff0b58ec abort (ff13c000, ffbedcf8, 0, fffffff8, 4, ffbedd19) + 100
feee2700 ???????? (1, fef98e50, ffbedd98, 0, feffc130, feee1258)
feee12c8 ???????? (60650, b, fed29d44, ffbeeab8, b, 0)
fede77c0 ???????? (fed29d44, ffbeeab8, ffbee800, fed29d44, fed03744, 0)
ff1cb824 __sighndlr (b, ffbeeab8, ffbee800, fede6f38, 5669c, 5668c) + c
ff1c84d8 sigacthandler (b, 565f8, 0, 0, 0, ff1de000) + 708
--- called from signal handler with signal 11 (SIGSEGV) ---
fed29d44 ???????? (0, 60650, 0, 0, 0, 0)
fed2d7d4 ???????? (606e4, 0, 0, ffbeed00, 0, 0)
f172e818 __1cHJNIEnv_JNewObject6MpnH_jclass_pnK_jmethodID_E_pnI_jobject__ (606e4, 0, 0, ffbeed70, 39, 107f90) + 70
f172dbf8 __1cGJEvent2t5B6M_v_ (107f60, f1a877f4, db088, ff0c1c44, 107f48, 0) + 80
f16f2864 __1cGCEvent2t6Mii_v_ (107f60, 0, 1, ff13c000, 107f48, 0) + 7c
f16e62e8 __1cVCISCHelperThreadMutex2t6M_v_ (107f50, 0, 560ac, 30f68, fefe4000, 0) + c0
f16ddc34 __1cLinitGlobals6F_v_ (0, 1, 19a, f1a198ec, f1a198ec, 0) + 5c
f16de4e4 CreateISCDriverInstance (0, 5cc40, 0, 57608, 565e8, 0) + 554
00034f08 __1cJRunSblSim6F_v_ (1, ffbef322, ffbef32c, ff13fc70, 100d4, 0) + 320
00035588 main (4, ffbef1dc, ffbef1f0, 55c00, 0, 0) + 1a8
00018460 _start (0, 0, 0, 0, 0, 0) + 108
----------------- lwp# 2 / thread# 2 --------------------
ff11e958 _signotifywait (ff1de000, 59, 0, 0, 0, 0) + 8
ff1c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 3 --------------------------------
ff1c9774 private___lwp_cond_wait (ff075d70, ff1ded9c, ff1de000, 0, 0, 4) + 8
ff11c554 doorreturn (ff075cb0, ff1ba740, 0, 0, 0, 0) + 68
----------------- lwp# 4 / thread# 4 --------------------
ff11efbc ___lwp_cond_wait (60048, 60030, fe901ad0, 0, 0, fe901ac8) + 8
ff116610 lwpcond_timedwait (1cb8c88, 3dd1157a, fe901ba4, 60030, 60048, 1) + 98
fecfc7d8 ???????? (0, 1, 0, 581b8, feffa26c, 0)
fecfcfd4 ???????? (ff00a15c, feffa4b8, feffa4b4, 0, 0, 0)
fecfccc0 ???????? (d3980, 0, 0, 0, 0, 0)
fecfcbd0 ???????? (d3980, ff1df688, 1, 1, ff1de000, 0)
ff1cb728 threadstart (d3980, 0, 0, 0, 0, 0) + 40
----------------- lwp# 5 --------------------------------
ff11c4fc doorreturn (4, ff1df688, ff1df6a0, 3, ff1de000, 1) + 10
ff1ba740 lwpstart (fea95d70, 0, 6000, ff075b74, 0, 0) + 18
ff1c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 6 / thread# 5 --------------------
ff11efbc ___lwp_cond_wait (d5720, d5708, 0, fed10a40, 0, 0) + 8
fed110d4 ???????? (d56c8, 0, 5000, 5210, d4d38, 4d24)
fed10824 ???????? (fdf8172c, 0, 0, d4d38, d4d38, 30dec8)
fed103b0 ???????? (d4dcc, fdf81824, 0, 0, 0, 0)
fa40cc94 ???????? (f2000380, b6, fdf818a4, ffffffff, 0, fdf817c0)
fa405da0 ???????? (f2000380, b6, fdf818a8, fa415444, 0, fdf81840)
fa405da0 ???????? (fdf81938, 0, 0, fa4157a4, 2f4210, fdf818d8)
fa400438 ???????? (fdf819c0, fdf81c08, a, f6050b68, fa40bc8c, fdf81b50)
fecfe2f8 ???????? (fdf81c00, fdf81a88, fdf81b48, d4d38, d4d38, fdf81a9c)
fed0ff90 ???????? (fefe4000, d5298, fdf81b3c, fdf81b38, fdf81b48, d4d38)
fed0fdf0 ???????? (fdf81c00, fdf81bfc, fdf81bf0, fdf81be8, fdf81be0, d4d38)
fed0fd78 ???????? (d4d38, d4d38, ac9a0, d5298, 2d4488, fed0fa60)
fed0fa88 ???????? (d4d38, 0, 0, 0, 0, 0)
fecfcbd0 ???????? (d4d38, ff1df688, 1, 1, ff1de000, 0)
ff1cb728 threadstart (d4d38, 0, 0, 0, 0, 0) + 40
----------------- lwp# 7 / thread# 6 --------------------
ff11efbc ___lwp_cond_wait (d7040, d7028, 0, 1, 0, 0) + 8
fed110d4 ???????? (d6fe8, 0, 5000, 5210, d6658, 4d24)
fed10824 ???????? (fa38169c, 0, 0, d6658, d6658, 30dec8)
fed103b0 ???????? (d66ec, fa38179c, 0, 0, 0, 0)
fa40cc94 ???????? (f2000490, b6, fa3817a0, fa414050, 0, fa381730)
fa405da0 ???????? (f2000478, b6, fa3818b4, fa415444, 0, fa3817d8)
fa405c4c ???????? (f2000478, b6, fa381934, fa415444, d6658, fa381858)
fa405c4c ???????? (fa381938, 0, 0, fa38197c, 2f4210, fa3818d8)
fa400438 ???????? (fa3819c0, fa381c08, a, f60520b8, fa40bc8c, fa381b50)
fecfe2f8 ???????? (fa381c00, fa381a88, fa381b48, d6658, d6658, fa381a9c)
fed0ff90 ???????? (fefe4000, d6bb8, fa381b3c, fa381b38, fa381b48, d6658)
fed0fdf0 ???????? (fa381c00, fa381bfc, fa381bf0, fa381be8, fa381be0, d6658)
fed0fd78 ???????? (d6658, d6658, ac9e0, d6bb8, 2d4488, fed0fa60)
fed0fa88 ???????? (d6658, 0, 0, 0, 0, 0)
fecfcbd0 ???????? (d6658, ff1df688, 1, 1, ff1de000, 0)
ff1cb728 threadstart (d6658, 0, 0, 0, 0, 0) + 40
----------------- lwp# 8 / thread# 7 --------------------
ff11d194 _poll (0, 0, 0, fa281a28, ff13f1b4, fa281a28) + 8
ff1cb134 select (0, a, 0, ff1de000, fa281e14, 0) + 34
fed32afc ???????? (d8040, 0, a, 0, 0, 0)
fed328b4 ???????? (d8040, 0, 0, 0, 0, 0)
fecfcbd0 ???????? (d8040, ff1df688, 1, 1, ff1de000, 0)
ff1cb728 threadstart (d8040, 0, 0, 0, 0, 0) + 40
----------------- lwp# 9 / thread# 8 --------------------
ff11efbc ___lwp_cond_wait (5f998, 5f980, 2e7aa0, ff1de000, fa181e14, 0) + 8
fecfc634 ???????? (5f950, 0, 0, 0, feffa26c, 0)
fed3371c ???????? (3c00, 3f44, 0, 0, 0, 0)
fecfcbd0 ???????? (d81a8, ff1df688, 1, 1, ff1de000, 0)
ff1cb728 threadstart (d81a8, 0, 0, 0, 0, 0) + 40
----------------- lwp# 10 / thread# 9 --------------------
ff11f008 lwpsema_wait (f1f81e30, ff1de000, 0, f1f81d70, ff3e2628, 0) + c
ff1b94c0 _swtch (f1f81d70, ffffffff, ff1de000, 5, 1000, 0) + 158
ff1bcc64 sema_wait (ff020fe0, ff1e98e4, 5000, 10000, 534d, 1) + bc
fed345c8 ???????? (0, 6, b, a, 1, 0)
fed34254 ???????? (ff002ae4, ff00a5a0, ff00a5d4, dab90, 2d4488, fed0fa60)
fed0fa88 ???????? (da630, 0, 0, 0, 0, 0)
fecfcbd0 ???????? (da630, ff1df688, 1, 1, ff1de000, 0)
ff1cb728 threadstart (da630, 0, 0, 0, 0, 0) + 40
----------------- lwp# 11 / thread# 10 --------------------
ff11efbc ___lwp_cond_wait (604e8, 604d0, 2e7aa0, feffa26c, 106c40, 0) + 8
fecfc88c ???????? (604a0, 0, 0, dbbd0, feffa26c, 0)
fed349ac ???????? (db670, db670, dbfd0, dbbd0, 2d4488, fed0fa60)
fed0fa88 ???????? (db670, 0, 0, 0, 0, 0)
fecfcbd0 ???????? (db670, ff1df688, 1, 1, ff1de000, 0)
ff1cb728 threadstart (db670, 0, 0, 0, 0, 0) + 40
-------------------------- thread# 3 --------------------
ff1bddbc reapwait (ff1e29e0, 20520, 0, ff1de000, 0, 0) + 38
ff1bdb14 _reaper (ff1dee30, ff1e4740, ff1e29e0, ff1dee08, 1, fe400000) + 38
ff1cb728 threadstart (0, 0, 0, 0, 0, 0) + 40This is an update to the original message -
I have tried both HotSpot & Server JVMs but still see the
same behavior. I'm using 1.4 .
I'd like to provide more information to those who can help
me. I have a feeling there might be something wrong in my
CC options. Thus you will find below what my CC statement
looks like for one of the files in my project & for the
linking of the final shared library. I also have
provided the output of ldd on my shared library libaicd.so
& for comparison the output of ldd on libjvm.so as that
might provide some usefull information just incase
something looks suspecious & might ring a bell.
/opt/SUNWspro.cc6/bin/CC -c -KPIC -g -DDEBUG=DEBUG -
D_DEBUG -mt -DSOLARIS -DSTD_STREAM -
I/vob1/qwsrc/fw/include -I.-I/vob4/source/idl -
I/vob4/source/mttoolkit -I/vob4/source/mttoolkit/tools -
I/vob4/source/integrations/siebel/aicd -
I/vob4/source/include -I/vob1/qwsrc/fw/include -
I/vob4/source/source -I/vob4/source/mttoolkit -
I/vob1/external/platform_neutral/siebel/scapi/include -
I/external/sparc/Sun/jdk/1.3.1/include -
I/external/sparc/Sun/jdk/1.3.1/include/solaris -
I/vob4/source/idl -I/vob4/source/mttoolkit -
I/vob4/source/mttoolkit/tools -
I/vob4/source/mttoolkit/vnet -
I/vob4/source/mttoolkit/bool -DUNIX -
D_USE_MTTServerToolkit -D_JAVA_ WIAcceptTimeOut.cpp -
o /space/users/janak/buildoutput/sparc/debug/obj/integratio s/siebel/aicd/WIAcceptTimeOut.o
/opt/SUNWspro.cc6/bin/CC -G -
o /space/users/janak/buildoutput/sparc/debug/lib/fw/libaicd.so
/space/us
ers/janak/buildoutput/sparc/debug/obj/integrations/siebel/ai
cd/AgentService.o /space/users/janak/buildoutput/sparc/debug
/obj/integrations/siebel/aicd/AgentServiceCmds.o /space/user
s/janak/buildoutput/sparc/debug/obj/integrations/siebel/aicd
/AgentServiceEvents.o /space/users/janak/buildoutput/sparc/d
ebug/obj/integrations/siebel/aicd/AgentServiceICAReq.o /spac
e/users/janak/buildoutput/sparc/debug/obj/integrations/siebe
l/aicd/AgentServiceICEvents.o /space/users/janak/buildoutput
/sparc/debug/obj/integrations/siebel/aicd/AgentServiceUtilit
ies.o /space/users/janak/buildoutput/sparc/debug/obj/integra
tions/siebel/aicd/AvMc.o /space/users/janak/buildoutput/spar
c/debug/obj/integrations/siebel/aicd/InternationalStrings.o
/space/users/janak/buildoutput/sparc/debug/obj/integrations/
siebel/aicd/JEvent.o /space/users/janak/buildoutput/sparc/de
bug/obj/integrations/siebel/aicd/JMultipleEvents.o /space/us
ers/janak/buildoutput/sparc/debug/obj/integrations/siebel/ai
cd/JNIObject.o /space/users/janak/buildoutput/sparc/debug/ob
j/integrations/siebel/aicd/JObject.o /space/users/janak/buil
doutput/sparc/debug/obj/integrations/siebel/aicd/JSemaphore.
o /space/users/janak/buildoutput/sparc/debug/obj/integration
s/siebel/aicd/JWorkerThread.o /space/users/janak/buildoutput
/sparc/debug/obj/integrations/siebel/aicd/MultipleEvents.o /
space/users/janak/buildoutput/sparc/debug/obj/integrations/s
iebel/aicd/Param.o /space/users/janak/buildoutput/sparc/debu
g/obj/integrations/siebel/aicd/ParamQueue.o /space/users/jan
ak/buildoutput/sparc/debug/obj/integrations/siebel/aicd/RefC
ount.o /space/users/janak/buildoutput/sparc/debug/obj/integr
ations/siebel/aicd/SiebelDriver.o /space/users/janak/buildou
tput/sparc/debug/obj/integrations/siebel/aicd/SiebelEvent.o
/space/users/janak/buildoutput/sparc/debug/obj/integrations/
siebel/aicd/SiebelWorkItem.o /space/users/janak/buildoutput/
sparc/debug/obj/integrations/siebel/aicd/SingleEvent.o /spac
e/users/janak/buildoutput/sparc/debug/obj/integrations/siebe
l/aicd/SmartPtr.o /space/users/janak/buildoutput/sparc/debug
/obj/integrations/siebel/aicd/StdAfx.o /space/users/janak/bu
ildoutput/sparc/debug/obj/integrations/siebel/aicd/ThreadPoo
l.o /space/users/janak/buildoutput/sparc/debug/obj/integrati
ons/siebel/aicd/Utilities.o /space/users/janak/buildoutput/s
parc/debug/obj/integrations/siebel/aicd/WIAcceptTimeOut.o -
lnsl -lc -lCstd -
L/space/users/janak/buildoutput/sparc/debug/lib/cti -
lmttoolkit -
L/space/users/janak/buildoutput/sparc/debug/lib/fw -
lmttlogger -
L/space/users/janak/buildoutput/sparc/debug/lib/fw -
lqwlicmtt -
L/external/sparc/Sun/jdk/1.3.1/jre/lib/sparc/server -
Bdynamic -ljvm -mt -lpthread -lposix4
$ ldd /usr/j2se/jre/lib/sparc/libjvm.so
libCrun.so.1 => /usr/lib/libCrun.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libm.so.1 => /usr/lib/libm.so.1
libw.so.1 => /usr/lib/libw.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
$ ldd libaicd.so
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libmttoolkit.so => ./libmttoolkit.so
libmttlogger.so => ./libmttlogger.so
libjvm.so => /usr/java/jre/lib/sparc/libjvm.so
libpthread.so.1 => /usr/lib/libpthread.so.1
librt.so.1 => /usr/lib/librt.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libCrun.so.1 => /usr/lib/libCrun.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libm.so.1 => /usr/lib/libm.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libw.so.1 => /usr/lib/libw.so.1
/usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1 -
Problem with make in cpan and OS 10.5.6
Hi, my Perl installation of DBD::mysql was just broken by installing 10.5.5 and then 10.5.6 over 10.4.11. No problem, I thought, just install the new one from cpan and I'm on my way. Not so fast, is what cpan says. Or, to be more specific, this is what cpan says:
"Writing Makefile for DBD::mysql
make: * No rule to make target `/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible"
Same if I try to reinstall DBI. Any ideas? Is make broken (well, forget that question...;-)?ok, I just installed XCode Tools from the 10.5.5 installer DVD, that took care of the make problem. DBI and DBD::mysql installed without a hitch and all my programs are up & running. Apache2 rocks, it's all like lightyears faster than the WebServer on my PowerBook 12". I'm starting to like this... Well, maybe it also had to do with the PB being slower and all, but I doubt it.
Do I get a cookie/star now, for having answered my own question? :-D -
Problem with zone creation in Solaris 10 6/06
Hi,
I have configured and installed a non-global zone following the example given in the guide http//www.sun.com/software/solaris/howtoguides/posgresqlhowto.jsp. My zone has the following configuration:
# zonecfg -z pg_zone
zonecfg:pg_zone> info
zonepath: /export/zones/pg_zone
autoboot: true
pool:
fs:
dir: /pg_log
special: /dev/dsk/c1d0s0
raw: /dev/rdsk/c1d0s0
type: ufs
options: []
net:
address: 192.168.10.100/24
physical: bge0
zonecfg:pg_zone> exit
The installation completed but I got the following errors:
# zoneadm -z pg_zone install
Preparing to install zone <pg_zone>.
Creating list of files to copy from the global zone.
Copying <130101> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1059> packages on the zone.
Initialized <1059> packages on zone.
Zone <pg_zone> is initialized.
Installation of these packages generated errors: <SUNWgnome-a11y-libs-share>
Installation of <63> packages was skipped.
The file </export/zones/pg_zone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
When examined the logs there were several messages like this:
SUNW_PKG_THISZONE=true in the pkginfo file.
*** package <SUNWamutl> was not installed:
The package <SUNWamutl> is registered to be installed in the
global zone only. The package may have been installed in the global
zone using the pkgadd '-G' option, or the package may contain a
request script, or the package may directly set the package attribute
SUNW_PKG_THISZONE=true in the pkginfo file.
*** package <SUNWiimdv> was not installed:
The package <SUNWiimdv> is either not fully installed in the
global zone, or the package contains a request script. Only packages
that are fully installed in the global zone and that do not contain a
request script can be installed when a new zone is created. If this
package does not contain a request script, you can correct this
problem by removing and reinstalling the package in the global zone.
And when I try to boot the zone I get this error:
# zoneadm -z pg_zone boot
zoneadm: zone 'pg_zone': "/usr/lib/fs/lofs/mount -o zonedevfs /export/zones/pg_zone/dev /export/zones/pg_zone/root/dev" failed with exit code 33
zoneadm: zone 'pg_zone': call to zoneadmd failed
Any suggestion how to solve this problem?
thanksTo answer your question wangzh: Yes I did. I actually followed exactly the procedure on the how-to-uides: http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp.
I think the problem here might reside in the script supplied in the solaris distribution for creating zones. For example, in the default configuration script, the package directories /lib /platform /var and /usr are by default set to be automatically imported. But when I try to create a zone using these defaults settings, it ends up with an mounting error that prevents the installation of the zone. only when I remove manually those directories from the configuration then the installation continues.
And during the installation process there are number of packages that are by default imported via the installation script and this is some of those packages that cause the errors here. I also tried to exclude the offending packages as suggested by henryC but I couldn't find all of them and the creation still fails at the booting. -
Problem with /etc/project in Solaris 10
Bonjour,
I need your help to understand and have project work correctly under Solaris 10.
What seems to be prety straight forward on paper doesn't work at all for me and can't figure why so!
Obviously I'm trying to make it work for an Oracle user.
I create a project called "oracle" with id 100.
here is what you can found in my /etc/project :
oracle:100::oracle::process.max-file-descriptor=(priv,1024,deny);project.max-shm-memory=(priv,4294967296,deny)
here is what you can found in my /etc/user_attr :
oracle::::project=oracle
now, once I reboot and login as oracle I do a id -p, here is the output :
uid=3000(oracle) gid=3002(oinstall) projid=0(system)
I do ulimit -a, here is the output :
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) 0
nofiles(descriptors) 256 <------------------- should be 1024 no?
vmemory(kbytes) unlimited
Shouldn't I be part of project oracle (100)???
Now, of what I understant is oracle is NOT part of the "oracle" project and thuss setting are not set up at loging.
What am I doing wrong or what am I missing?
Thanks for your timeI'd start by verifying the settings via valid OS methods, no cat/grep whenever possible
# logins -xl oracle
oracle 3000 oinstall 3002
/export/home/oracle
/bin/sh
PS 051110 -1 -1 -1
# grep project /etc/nsswitch.conf
project: files
# grep oracle /etc/user_attr
oracle::::project=oracle
# projects oracle
default oracle
# projects -l oracle
oracle
projid : 100
comment: ""
users : oracle
groups : (none)
attribs: process.max-file-descriptor=(priv,1024,deny)
project.max-shm-memory=(priv,4294967296,deny)
# ssh -l oracle 0
Password:
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ id -p
uid=3000(oracle) gid=3002(oinstall) projid=100(oracle) -
Problem with luactivate procedure in Solaris 10 Update 5
We are having some issues with Live Upgrade procedures with Solaris 10 Update 5 on SUN Enterprise T5240 servers.
We have successfully performed those procedures earlier on SUN Fire v240 using Solaris 10 Update 3.
Here is the problem statement:
1. Created a Flar image successfully
2. Installed on a 5240 machine from InstallServer and using jumpstart profile using a sysidcfg and flash_prof
3. The first installation is successful and system picks up configuration information from sysidcfg file on the install server.
4. Now we use lucreate to create another BE (Boot Environment) BE_2.
5. BE_2 is upgraded with luupgrade using the same flar as used in step 2.
6. Issuing command:
luactivate -s BE_2
7. After a init 6, system tries to boot from BE_2. This time instead of copying system files from BE_1 due to -s options specified, it instead runs the sysconfig command that asks for all the configuration options again.
8. When we were using these steps in Solaris 10 update 3 on Sun Fire v240, everything was working fine. The system config was available in BE_2 without any issue.
***************************************************************************************************************************************************iMovie10 only works in and exports 16:9 aspect ratio.
The resolution is set by that of the first video clip put in a project timeline. To change your project to 1080p do the following:
Create a new project
Put any known 1080p video clip in the project (it can be removed later)
Select the old project and then Edit - Select All then Edit - Copy
Select the new project and then Edit - Copy
The new project should now be 1080p. You can remove the first clip if you want.
Geoff. -
I am working on recently upgraded Solaris 9 and I am using a make file to build an application using make �f brc.bld
It is giving the error : make: Fatal error in reader: brc.bld, line 9: Unexpected end of line seen
for the line in this build file : %Echo Begining execution of $(_script)
I am using cc for the make file ( cc: Forte Developer 7 C 5.4 ) and the make command
Any help in this regard is appreciated.
Regards,
VivekHi,
I am not able to find error message related to brc.bld. If a test case could be provided, that will be helpful.
Or please try our most recent version Sun Studio 10(Trial Downloads http://www.sun.com/download/products.xml?id=41e70b09) to see whether that fixes the problem.
Thanks.
Rose -
Problem with Linux executable in solaris
Hello
I have a problem. We have sunblade workstation with OS solaris 2.8 version. I have downloaded a program which is developed under RedHat 5.1 and complied with Egcs-1.0.2. when i execute this program i am getting the message like bash: ./Al: cannot execute binary file
I would be thankfull if someone tell me how to solve the problem.
Thanks RajiYou need lxrun do be able to run Linux binaries on Solaris x86. You can get it at
http://soldc.sun.com/freeware/details/detail_lxrun_0.9.6.1_8_Intel.html
I've never used it, so please post your results here. -
Problem with Upgrading Firmware of Solaris 10
I have X4500 running solaris 10 with 5.10 version. The ILOM version is 1.1.1 and I want to upgrade the firmware. I setup the TFTP server on my machine using the following link.
http://docs.sun.com/source/819-7247-10/app_tftp.html
I could install the tftp server and could transfer a file as well. When I use tftp localhost and use get command it works fine. But when I login to my ILOM port and give the IP address of my X4500 machine it say's connection timed out and firmware upgrade failed.
I use load -source tftp://134.197.38.228/ilom.X4500-1.1.8.ima.
Someone please help me with this. I have a problem using Web GUI and I have got only this option to upgrade.
Any help would be appreciated.
Thank youHave you upgraded the firmware with correct version number.If the firmware is not correct,you can get the problem like this.
Hard-reset the router for 2 minute,Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now,open the setup page and check. -
CLOSE_WAIT problems with Oracle 9iAS on Solaris
All,
We have some simple JSP + Sevlets running on Oracle 9iAS on a Solaris server. After the App Server has been running for a couple of minutes we start to get several TCP connections with a CLOSE_WAIT status - as shown by a netstat output.
These seem to be a result of a FIN_WAIT_2 and CLOSE_WAIT pairing eg
Local Remote Swind Send-Q Rwind Recv-Q Status
SERVER.43009 SERVER.80 49152 0 49152 0 CLOSE_WAIT
SERVER.80 SERVER.43009 49152 0 49152 0 FIN_WAIT_2
Over time the FIN_WAIT_2 is removed, leaving the CLOSE_WAITs.
Has anyone else had this problem?
KeithWe're having similar problem. We have lot's of close_wait between Apache and OC4J.
Swetal
Maybe you are looking for
-
Mail 5.1 not correctly marking messages on the Exchange Server as read
Since I've upgraded to Lion, this has been a recurrent and persistent problem for which Apple has provided no good solution. Even though all the messages from my Exchage account have indeed been read, the little number in the red circle on the dock M
-
Reasons why I should get an iPhone
Hi, I'm an eleven year old boy and I really need help convincing my family to let me get an iPhone. I really need reasons to justify it and anything would help. Thanks
-
BBP_VENDOR_SYNC versus BBPGETVD :-(
Hi guys, I dont understand this at all. For the majority of my vendors that exist in R3, the report BBP_VENDOR_SYNC works very fine, the vendor data is replicated to SRM 4.0sp8. BUT... some vendors are not replicated, if I execute transacti
-
Problem in process chains in bw 3.5
Hi I am using 3.5 version I created process chain and process variant. After that I am specifying the info package which is used to load data to info cube After dragging and dropping the info package into right side panel when i m trying to join 'sta
-
Hello everybody, We have setup a UC540 at a clients office, and now they are asking if we can setup a Auto Dialer, so they can put a bunch of phone numbers and the system will call those phone numbers and read a small script. Basically like have the