Sun

where is carmen libdwarf ?

Boy is Solaris fun !

Sun Studio 12.3 appears to be working. I grabbed a bit of code off the Innertubes for a test and ...
Code:
7% cc test.c
"test.c", line 1: warning: old-style declaration or incorrect type for: Display
"test.c", line 1: syntax error before or at: menu
"test.c", line 1: warning: old-style declaration or incorrect type for: menu
"test.c", line 1: warning: old-style declaration or incorrect type for: until
"test.c", line 1: warning: old-style declaration or incorrect type for: press
"test.c", line 1: warning: old-style declaration or incorrect type for: by
"test.c", line 1: warning: old-style declaration or incorrect type for: using
"test.c", line 1: warning: old-style declaration or incorrect type for: child
"test.c", line 7: warning: old-style declaration or incorrect type for: main
"test.c", line 12: newline in string literal
"test.c", line 14: syntax error before or at: Main
"test.c", line 15: newline in string literal
"test.c", line 16: newline in string literal
"test.c", line 17: newline in string literal
"test.c", line 18: newline in string literal
"test.c", line 19: newline in string literal
"test.c", line 20: newline in string literal
"test.c", line 21: newline in string literal
"test.c", line 22: newline in string literal
"test.c", line 23: newline in string literal
"test.c", line 24: newline in string literal
"test.c", line 25: newline in string literal
"test.c", line 26: newline in string literal
"test.c", line 27: newline in string literal
"test.c", line 30: newline in character constant
"test.c", line 38: "case" outside switch
"test.c", line 40: warning: implicit function declaration: wait
"test.c", line 44: "case" outside switch
"test.c", line 50: "case" outside switch
"test.c", line 52: "default" outside switch
"test.c", line 53: newline in string literal
"test.c", line 54: newline in string literal
"test.c", line 55: syntax error before or at:
"test.c", line 57: warning: syntax error:  empty declaration
"test.c", line 58: cannot recover from previous errors
cc: acomp failed for test.c

MIPSPro also gives a ton of errors on the same file. Interesting that they aren't exactly the same. Nice tutorial.

Anyhow, the compiler appears to be working. But all the apps I want complain about (config.log)
Code:
configure:2890: checking for gcc
configure:2920: result: no, thank god
configure:2983: checking for cc
configure:3004: found /opt/SunStudio/prod/bin/cc
configure:3027: result: cc
configure:3146: checking for C compiler version
configure:3155: cc --version >&5
cc: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
usage: cc [ options ] files.  Use 'cc -flags' for details
configure:3166: $? = 1
configure:3155: cc -v >&5
usage: cc [ options ] files.  Use 'cc -flags' for details
configure:3166: $? = 1
configure:3155: cc -V >&5
cc: Sun C 5.12 SunOS_sparc 2011/11/16
configure:3166: $? = 0
configure:3155: cc -qversion >&5
cc: Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise
usage: cc [ options ] files.  Use 'cc -flags' for details
configure:3166: $? = 1
configure:3186: checking whether the C compiler works
configure:3208: cc    conftest.c  >&5
"conftest.c", line 18: internal compiler error: DBGGEN ERROR: FILE="../src/dbg_libdwarf.c", LINE=46, Could not load dwarf library: libdwarf.so : ld.so.1: acomp: fatal: libdwarf.so: open failed: No such file or directory [DBG_GEN 5.3.3]
cc: acomp failed for conftest.c
configure:3212: $? = 2
configure:3250: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU make"
| #define PACKAGE_TARNAME "make"
| #define PACKAGE_VERSION "3.82"
| #define PACKAGE_STRING "GNU make 3.82"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "http://www.gnu.org/software/make/"
| #define PACKAGE "make"
| #define VERSION "3.82"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }

This isn't what I want but gmake should be a short simple test case to get the dumb thing running. It appears to want libdwarf. No problem, dload the source to libdwarf and configure ... oh-oh. Libdwarf also wants libdwarf to compile libdwarf. This could be a problem. I can't find stinking libdwarf anywhere on the Solaris CD's and no clue on the useless godforsaken Intertubes.

Where the hell is it ?

And here I thought MIPSPro was kind of a pain .... :(

(But I did discover that Sun likes to rename and reorganize every single part of their operating system for every release. Cool ! no wonder they went broke.)
libdwarf is in the packages SPROdwrfb and SPROdwrfx.

do # pkgchk SPROdwrfb SPROdwrfx
if not there, install the packages.

i dont know on which cd this crap is on, cause i only use jumpstart to install solaris machines., but when i comes to compiler deployment i would generally recommend to install ALL the packages.

_________________
no plan
yetanother**ixuser wrote:
libdwarf is in the packages SPROdwrfb and SPROdwrfx.

Thank you. I finally found them in the SunStudio stuff. A fresh download (500 megs) and a reinstall and I now have them. They should have installed the first time but stuff happens ...
Quote:
I dont know on which cd this crap is on, cause i only use jumpstart to install solaris machines.

Good idea. If I had to install Solaris on a regular basis I'd have myself pre-emptively committed. Nice software, TERRIBLE organization. And WHY do they have to change the names of everything every three weeks ? It's about as stupid as Firefox flipping the "cancel" and "save" pushbuttons or moving the settings from edit -> preferences to tools -> options. Serves no purpose except to annoy people and make everything that's already documented meaningless.Worse than meaningless, confusing. I'd love to go to their parking lot one lunchtime and move the gas pedal to the left, put the brake pedal on the passenger side and make the steering go left when you turn right and vice versa. Would be fun to watch when it was time to go home. Ha ha, would serve those jerks right.

If Oracle had spent as much time straightening things out as they did changing "Sun" to "Oracle" everywhere, Solaris could be pretty nice.

Quote:
but when i comes to compiler deployment i would generally recommend to install ALL the packages.

V100 is tiny. No room.

It's actually a surprisingly great little server. No nothing - no graphics, no scsi, no usb, no way to attach anything externally, no pci slot, slow cpu. Specs-wise it's a pitiful little thing. But it works good !

I think they effed up on that computer ... doing a Core (basic) Solaris install on a V100 installs Infiniband, Gigabyte ethernet, Fiber Channel, all kinds of things that are junk, as far as a V100 is concerned. And the V100 has a small disk. They sold the hardware, they should have made a special V100 Solaris Install Package that would go zoom-zoom onto the disk and given small businesses a running web / file server in three easy steps. The thing works nice but it's a nightmare to get into a usable running condition. And who thought up that horse's ass disk partitioning scheme, then made it the default ? What a mess.

Is this a clue to why Sun went broke ? An MBA can manage any business, eh Sky ?