/usr/ccs/bin/ld: Unsatisfied symbols: while compiling PRO*C

I have a PROC*C program that I am trying to compile and I get this error:
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (daemon.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
line (data)
print_header (code)
bmargin (data)
pagesize (data)
lmargin (data)
*** Error exit code 1
Stop.
The program exits with 1, but it also generates the executable which works fine.
Am I missing something ? How can I get it to compile with any errors.
Thanks,
GP

I don't see a specific Proc or precompiler forum around here.
Perhaps your best bet would be at [Call interface (OCI)|http://forums.oracle.com/forums/forum.jspa?forumID=67] forum or maybe [SQL and PL/SQL|http://forums.oracle.com/forums/forum.jspa?forumID=75] since it's more of a developers' forum.

Similar Messages

  • Problems with /usr/ccs/bin/ld -z rescan in Solaris 10 5/08 x86

    When linking in Solaris 10 5/08 and using the '-z rescan' option, I receive the following error:
    ld: elf error: file libMyLibrary.a: elf_begin: Request error: archive/member fildes mismatch
    This only occurs when there are dependencies within other object files that require the archive to actually be scanned twice to resolve all symbols.
    The problem is specific to Solaris 5/08 (prior releases link correctly). Examining ld with truss seems to show the issue is related to not closing some file descriptors. I noticed in elf_begin that there is [a check that two file descriptors are the same|http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/sgs/libelf/common/begin.c#65] which results in the error message I'm getting. Compare the two truss outputs:
    Older revision of Solaris 10:
    13093: open("libMyLibrary.a", O_RDONLY) = 4
    13093: close(4) = 0
    ...snip...
    13093: open("/usr/lib/amd64/crtn.o", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("/lib/amd64/libmp.so.2", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("/lib/amd64/libmd5.so.1", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("/lib/amd64/libscf.so.1", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("/lib/amd64/libaio.so.1", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("/lib/amd64/libdoor.so.1", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("/lib/amd64/libuutil.so.1", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("libMyLibrary.a", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("/lib/gcc/amd64/libgcc.a", O_RDONLY) = 4
    13093: close(4) = 0
    13093: open("libMyLibrary.a", O_RDONLY) = 4
    13093: close(4) = 0
    Solaris 10 5/08
    21931: open("libMyLibrary.a", O_RDONLY) = 4
    21931: close(4) = 0
    ...snip...
    21931: open("/lib/gcc/amd64/libgcc.a", O_RDONLY) = 4
    21931: close(4) = 0
    21931: open("/lib/gcc/amd64/crtend.o", O_RDONLY) = 4
    21931: close(4) = 0
    21931: open("/usr/lib/amd64/crtn.o", O_RDONLY) = 4
    21931: close(4) = 0
    21931: open("/lib/amd64/libmp.so.2", O_RDONLY) = 4
    21931: open("/lib/amd64/libscf.so.1", O_RDONLY) = 5
    21931: open("/lib/amd64/libmd.so.1", O_RDONLY) = 6
    21931: open("/lib/amd64/libaio.so.1", O_RDONLY) = 7
    21931: open("/lib/amd64/libdoor.so.1", O_RDONLY) = 8
    21931: open("/lib/amd64/libuutil.so.1", O_RDONLY) = 9
    21931: open("/lib/amd64/libgen.so.1", O_RDONLY) = 10
    21931: open("libMyLibrary.a", O_RDONLY) = 11
    21931: close(11)
    You'll notice that the /lib/amd64 shared libraries are not closed, which leads to the file descriptor number changing, which could trigger this error. Is anyone else experiencing this issue or know why it has started happening with Solaris 5/08?
    Edited by: bennett.schneider on Jun 25, 2008 4:07 PM

    No problem.
    Both the 32-bit and 64-bit ld return:
    -bash-3.00$ mcs -p /usr/ccs/bin/amd64/ld
    /usr/ccs/bin/ld:
    @(#)SunOS 5.10 Generic 127128-11 Mar 2008For comparison, a machine which works has:
    -bash-3.00$  mcs -p /usr/ccs/bin/amd64/ld
    /usr/ccs/bin/amd64/ld:
    @(#)SunOS 5.10 Generic 118855-36 Dec 2006There's a tremendous amount of output from the truss command, but here are the highlights. The libraries are slightly different, as I had to recreate the simple example. (filtered for only open, close, libld:process_req_lib, libld:ld64_process_open, libld:ld64_finish_libs, process_archive and process_files; if more is needed don't hesitate to ask):
    23646:  open("/var/ld/64/ld.config", O_RDONLY)          = 3
    23646:  close(3)                                        = 0
    23646:  open("/usr/ccs/bin/amd64/../../../../lib/amd64/libc.so.1", O_RDONLY) = 3
    23646:  close(3)                                        = 0
    23646/1:        open("/usr/ccs/bin/amd64/../../../../lib/amd64/libld.so.4", O_RDONLY) = 3
    23646/1:        close(3)                                        = 0
    23646/1:        open("/lib/amd64/liblddbg.so.4", O_RDONLY)      = 3
    23646/1:        close(3)                                        = 0
    23646/1:        open("/lib/amd64/libelf.so.1", O_RDONLY)        = 3
    23646/1:        close(3)                                        = 0
    23646/1:        open("/usr/lib/64/libldstab.so.1", O_RDONLY)    = 3
    23646/1:        close(3)                                        = 0
    23646/1@1:        -> libld:ld64_open_outfile(0xfffffd7fff117020, 0xfffffd7fff1182d0, 0xfffffd7fff1182f0, 0x0, 0xfffffd7fff2406c0, 0x6d646f6e6364ff33)
    23646/1:        open("testldD", O_RDWR|O_CREAT|O_TRUNC, 0777)   = 3
    23646/1@1:        <- libld:ld64_open_outfile() = 1
    23646/1@1:        -> libld:ld64_process_files(0xfffffd7fff117020, 0xa, 0xfffffd7fffdff8b8, 0x0, 0x0, 0x0)
    23646/1@1:          -> libld:process_files_com(0xfffffd7fff117020, 0xa, 0xfffffd7fffdff8b8, 0x0, 0x0, 0x0)
    23646/1:        open("testld.D.o", O_RDONLY)                    = 4
    23646/1@1:            -> libld:ld64_process_open(0xfffffd7fffdffb0e, 0x0, 0xfffffd7fffdff75c, 0xfffffd7fff117020, 0x3, 0xfffffd7fffdff760)
    23646/1@1:              -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff700, 0xfffffd7fffdff708, 0xfffffd7fffdff75c, 0x3, 0xfffffd7fffdff710)
    23646/1@1:              <- libld:ld64_sup_open() = 4
    23646/1@1:            <- libld:ld64_process_open() = 0xfffffd7fff118338
    23646/1:        close(4)                                        = 0
    23646/1:        open("../../../../x64-SunOS/lib/libtest1-x64-SunOSD.a", O_RDONLY) = 4
    23646/1@1:            -> libld:ld64_process_open(0xfffffd7fffdffb23, 0x0, 0xfffffd7fffdff75c, 0xfffffd7fff117020, 0x3, 0xfffffd7fffdff760)
    23646/1@1:              -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff700, 0xfffffd7fffdff708, 0xfffffd7fffdff75c, 0x3, 0xfffffd7fffdff710)
    23646/1@1:              <- libld:ld64_sup_open() = 4
    23646/1@1:                -> libld:ld64_process_archive(0xfffffd7fffdffb23, 0x4, 0xfffffd7fff11acd0, 0xfffffd7fff117020, 0x0, 0xfffffd7fff387b80)
    23646/1@1:                <- libld:ld64_process_archive() = 1
    23646/1@1:            <- libld:ld64_process_open() = 1
    23646/1:        close(4)                                        = 0
    23646/1:        open("../../../../x64-SunOS/lib/libtest2-x64-SunOSD.a", O_RDONLY) = 4
    23646/1@1:            -> libld:ld64_process_open(0xfffffd7fffdffb53, 0x0, 0xfffffd7fffdff75c, 0xfffffd7fff117020, 0x3, 0xfffffd7fffdff760)
    23646/1@1:              -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff700, 0xfffffd7fffdff708, 0xfffffd7fffdff75c, 0x3, 0xfffffd7fffdff710)
    23646/1@1:              <- libld:ld64_sup_open() = 4
    23646/1@1:                -> libld:ld64_process_archive(0xfffffd7fffdffb53, 0x4, 0xfffffd7fff11ad50, 0xfffffd7fff117020, 0x0, 0xfffffd7fff387b80)
    23646/1@1:                  -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff550, 0xfffffd7fffdff558, 0xfffffd7fffdff564, 0xa, 0xfffffd7fffdff568)
    23646/1@1:                  <- libld:ld64_sup_open() = 4
    23646/1@1:                <- libld:ld64_process_archive() = 1
    23646/1@1:            <- libld:ld64_process_open() = 1
    23646/1:        close(4)                                        = 0
    23646/1:        open("/lib/64/librt.so", O_RDONLY)              = 4
    23646/1@1:                  -> libld:ld64_process_open(0xfffffd7fff11c2a0, 0x8, 0xfffffd7fffdff22c, 0xfffffd7fff117020, 0x2, 0xfffffd7fffdff690)
    23646/1@1:                    -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff1d0, 0xfffffd7fffdff1d8, 0xfffffd7fffdff22c, 0x2, 0xfffffd7fffdff1e0)
    23646/1@1:                    <- libld:ld64_sup_open() = 4
    23646/1@1:                  <- libld:ld64_process_open() = 0xfffffd7fff11c2c0
    23646/1:        close(4)                                        = 0
    23646/1@1:          <- libld:process_files_com() = 1
    23646/1@1:          -> libld:ld64_finish_libs(0xfffffd7fff117020, 0xfffffd7fffdff8b8, 0xa, 0x1, 0xfefeffffffffffff, 0xfffffd7fff3878a0)
    23646/1@1:            -> libld:process_req_lib(0xfffffd7fff11ce68, 0xfffffd7fff247fc0, 0xfffffd7fff2531b5, 0xfffffd7fff117020, 0xfffffd7fffdff760, 0xfffffd7fff3878a0)
    23646/1:        open("/lib/64/libaio.so.1", O_RDONLY)           = 4
    23646/1@1:              -> libld:ld64_process_open(0xfffffd7fff128ba0, 0x8, 0xfffffd7fffdff2bc, 0xfffffd7fff117020, 0x0, 0xfffffd7fffdff760)
    23646/1@1:                -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff250, 0xfffffd7fffdff258, 0xfffffd7fffdff2bc, 0x0, 0xfffffd7fffdff260)
    23646/1@1:                <- libld:ld64_sup_open() = 4
    23646/1@1:              <- libld:ld64_process_open() = 0xfffffd7fff128bc0
    23646/1@1:            <- libld:process_req_lib() = 0xfffffd7fff128bc0
    23646/1@1:            -> libld:process_req_lib(0xfffffd7fff11cf10, 0xfffffd7fff247fc0, 0xfffffd7fff2531c1, 0xfffffd7fff117020, 0xfffffd7fffdff760, 0xffffffffffffffff)
    23646/1:        open("/lib/64/libc.so.1", O_RDONLY)             = 5
    23646/1@1:              -> libld:ld64_process_open(0xfffffd7fff12d458, 0x8, 0xfffffd7fffdff2bc, 0xfffffd7fff117020, 0x0, 0xfffffd7fffdff760)
    23646/1@1:                -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff250, 0xfffffd7fffdff258, 0xfffffd7fffdff2bc, 0x0, 0xfffffd7fffdff260)
    23646/1@1:                <- libld:ld64_sup_open() = 5
    23646/1@1:              <- libld:ld64_process_open() = 0xfffffd7fff12d478
    23646/1@1:            <- libld:process_req_lib() = 0xfffffd7fff12d478
    23646/1@1:            -> libld:process_req_lib(0xfffffd7fff128b30, 0xfffffd7fff247fc0, 0xfffffd7fff2531d5, 0xfffffd7fff117020, 0xfffffd7fffdff760, 0x302d6e722d636c61)
    23646/1:        open("/lib/64/libmd.so.1", O_RDONLY)            = 6
    23646/1@1:              -> libld:ld64_process_open(0xfffffd7ffeca9af8, 0x8, 0xfffffd7fffdff2bc, 0xfffffd7fff117020, 0x0, 0xfffffd7fffdff760)
    23646/1@1:                -> libld:ld64_sup_open(0xfffffd7fff117020, 0xfffffd7fffdff250, 0xfffffd7fffdff258, 0xfffffd7fffdff2bc, 0x0, 0xfffffd7fffdff260)
    23646/1@1:                <- libld:ld64_sup_open() = 6
    23646/1@1:              <- libld:ld64_process_open() = 0xfffffd7ffeca9b18
    23646/1@1:            <- libld:process_req_lib() = 0xfffffd7ffeca9b18
    23646/1@1:          <- libld:ld64_finish_libs() = 1
    23646/1:        open("../../../../x64-SunOS/lib/libtest1-x64-SunOSD.a", O_RDONLY) = 7
    23646/1@1:          -> libld:ld64_process_archive(0xfffffd7fffdffb23, 0x7, 0xfffffd7fff11acd0, 0xfffffd7fff117020, 0xffffffffffff0000, 0x2d636c61686aff38)
    23646/1@1:          <- libld:ld64_process_archive() = 0
    23646/1:        close(7)                                        = 0
    23646/1@1:        <- libld:ld64_process_files() = 1same filter on a working machine:
    7205:   open("/var/ld/64/ld.config", O_RDONLY)          = 3
    7205:   close(3)                                        = 0
    7205:   open("/usr/ccs/bin/amd64/../../../../lib/amd64/libc.so.1", O_RDONLY) = 3
    7205:   close(3)                                        = 0
    7205/1:         open("/usr/lib/locale/en_US.UTF-8/amd64/en_US.UTF-8.so.3", O_RDONLY) = 3
    7205/1:         close(3)                                        = 0
    7205/1:         open("/usr/lib/locale/en_US.UTF-8/amd64/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
    7205/1:         close(3)                                        = 0
    7205/1:         open("/usr/ccs/bin/amd64/../../../../lib/amd64/libld.so.3", O_RDONLY) = 3
    7205/1:         close(3)                                        = 0
    7205/1:         open("/lib/amd64/libelf.so.1", O_RDONLY)        = 3
    7205/1:         close(3)                                        = 0
    7205/1:         open("/usr/lib/64/libldstab.so.1", O_RDONLY)    = 3
    7205/1:         close(3)                                        = 0
    7205/1:         open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_SGS.mo", O_RDONLY) Err#2 ENOENT
    7205/1@1:         -> libld:open_outfile(0xfffffd7ffefc96c0, 0xfffffd7ffef16f20, 0xfffffd7ffef16f40, 0x0, 0xfffffd7fff240970, 0x6e64ff33356d6e68)
    7205/1:         open("testldD", O_RDWR|O_CREAT|O_TRUNC, 0777)   = 3
    7205/1@1:         <- libld:open_outfile() = 1
    7205/1@1:         -> libld:process_files(0xfffffd7ffefc96c0, 0xa, 0xfffffd7fffdff9b8, 0x0, 0x0, 0x0)
    7205/1@1:           -> libld:process_files_com(0xfffffd7ffefc96c0, 0xa, 0xfffffd7fffdff9b8, 0x0, 0x0, 0x0)
    7205/1:         open("testld.D.o", O_RDONLY)                    = 4
    7205/1@1:             -> libld:process_open(0xfffffd7fffdffbc6, 0x0, 0x4, 0xfffffd7ffefc96c0, 0x3, 0xfffffd7fffdff850)
    7205/1@1:             <- libld:process_open() = 0xfffffd7ffef16f88
    7205/1:         close(4)                                        = 0
    7205/1:         open("../../../../x64-SunOS/lib/libtest1-x64-SunOSD.a", O_RDONLY) = 4
    7205/1@1:             -> libld:process_open(0xfffffd7fffdffbdb, 0x0, 0x4, 0xfffffd7ffefc96c0, 0x3, 0xfffffd7fffdff850)
    7205/1@1:                 -> libld:process_archive(0xfffffd7fffdffbdb, 0x4, 0xfffffd7ffef19668, 0xfffffd7ffefc96c0, 0x4191d8, 0x0)
    7205/1@1:                 <- libld:process_archive() = 1
    7205/1@1:             <- libld:process_open() = 1
    7205/1:         close(4)                                        = 0
    7205/1:         open("../../../../x64-SunOS/lib/libtest2-x64-SunOSD.a", O_RDONLY) = 4
    7205/1@1:             -> libld:process_open(0xfffffd7fffdffc0b, 0x0, 0x4, 0xfffffd7ffefc96c0, 0x3, 0xfffffd7fffdff850)
    7205/1@1:                 -> libld:process_archive(0xfffffd7fffdffc0b, 0x4, 0xfffffd7ffef196e8, 0xfffffd7ffefc96c0, 0x419348, 0x0)
    7205/1@1:                 <- libld:process_archive() = 1
    7205/1@1:             <- libld:process_open() = 1
    7205/1:         close(4)                                        = 0
    7205/1:         open("/lib/64/librt.so", O_RDONLY)              = 4
    7205/1@1:                   -> libld:process_open(0xfffffd7ffef1ac38, 0x8, 0x4, 0xfffffd7ffefc96c0, 0x2, 0xfffffd7fffdff780)
    7205/1@1:                   <- libld:process_open() = 0xfffffd7ffef1ac58
    7205/1:         close(4)                                        = 0
    7205/1@1:           <- libld:process_files_com() = 1
    7205/1@1:             -> libld:process_req_lib(0xfffffd7ffef1b800, 0xfffffd7ffefc7ae0, 0xfffffd7fff2631b5, 0xfffffd7ffefc96c0, 0xfffffd7fffdff850, 0xfffffd7fff3728a0)
    7205/1:         open("/lib/64/libaio.so.1", O_RDONLY)           = 4
    7205/1@1:               -> libld:process_open(0xfffffd7ffef27570, 0x8, 0x4, 0xfffffd7ffefc96c0, 0x0, 0xfffffd7fffdff850)
    7205/1@1:               <- libld:process_open() = 0xfffffd7ffef27590
    7205/1:         close(4)                                        = 0
    7205/1@1:             <- libld:process_req_lib() = 0xfffffd7ffef27590
    7205/1@1:             -> libld:process_req_lib(0xfffffd7ffef1b8a8, 0xfffffd7ffefc7ae0, 0xfffffd7fff2631c1, 0xfffffd7ffefc96c0, 0xfffffd7fffdff850, 0x0)
    7205/1:         open("/lib/64/libmd5.so.1", O_RDONLY)           = 4
    7205/1@1:               -> libld:process_open(0xfffffd7ffef2be28, 0x8, 0x4, 0xfffffd7ffefc96c0, 0x0, 0xfffffd7fffdff850)
    7205/1@1:               <- libld:process_open() = 0xfffffd7ffef2be48
    7205/1:         close(4)                                        = 0
    7205/1@1:             <- libld:process_req_lib() = 0xfffffd7ffef2be48
    7205/1@1:             -> libld:process_req_lib(0xfffffd7ffef1b950, 0xfffffd7ffefc7ae0, 0xfffffd7fff2631cd, 0xfffffd7ffefc96c0, 0xfffffd7fffdff850, 0xffffffffffffffff)
    7205/1:         open("/lib/64/libc.so.1", O_RDONLY)             = 4
    7205/1@1:               -> libld:process_open(0xfffffd7ffef2d020, 0x8, 0x4, 0xfffffd7ffefc96c0, 0x0, 0xfffffd7fffdff850)
    7205/1@1:               <- libld:process_open() = 0xfffffd7ffef2d040
    7205/1:         close(4)                                        = 0
    7205/1@1:             <- libld:process_req_lib() = 0xfffffd7ffef2d040
    7205/1:         open("../../../../x64-SunOS/lib/libtest1-x64-SunOSD.a", O_RDONLY) = 4
    7205/1@1:           -> libld:process_archive(0xfffffd7fffdffbdb, 0x4, 0xfffffd7ffef19668, 0xfffffd7ffefc96c0, 0xffffffffffffff00, 0xfefffefffefefeff)
    7205/1@1:           <- libld:process_archive() = 1
    7205/1:         close(4)                                        = 0
    7205/1:         open("../../../../x64-SunOS/lib/libtest2-x64-SunOSD.a", O_RDONLY) = 4
    7205/1@1:           -> libld:process_archive(0xfffffd7fffdffc0b, 0x4, 0xfffffd7ffef196e8, 0xfffffd7ffefc96c0, 0x415980, 0xfffffd7ffef196a8)
    7205/1@1:           <- libld:process_archive() = 1
    7205/1:         close(4)                                        = 0
    7205/1:         open("../../../../x64-SunOS/lib/libtest1-x64-SunOSD.a", O_RDONLY) = 4
    7205/1@1:           -> libld:process_archive(0xfffffd7fffdffbdb, 0x4, 0xfffffd7ffef19668, 0xfffffd7ffefc96c0, 0x415980, 0xfffffd7ffef196a8)
    7205/1@1:           <- libld:process_archive() = 1
    7205/1:         close(4)                                        = 0
    7205/1:         open("../../../../x64-SunOS/lib/libtest2-x64-SunOSD.a", O_RDONLY) = 4
    7205/1@1:           -> libld:process_archive(0xfffffd7fffdffc0b, 0x4, 0xfffffd7ffef196e8, 0xfffffd7ffefc96c0, 0x415980, 0xfffffd7ffef196a8)
    7205/1@1:           <- libld:process_archive() = 1
    7205/1:         close(4)                                        = 0
    7205/1@1:         <- libld:process_files() = 1The command run to generate both of these was:
    /usr/ccs/bin/amd64/ld -o testldD -m64 testld.D.o -z rescan ../../../../x64-SunOS/lib/libtest1-x64-SunOSD.a ../../../../x64-SunOS/lib/libtest2-x64-SunOSD.a -lrtlibtest2 has depends on symbols in libtest1.
    Thanks for all the help on this.

  • /usr/ccs/bin/ld: Can't find library: "clntsh"

    i've read all your post, and i still having this error
    1: when i do make i get this:
    make -f demo_proc.mk INAME=sample1.pc
    `/bpi/orabpi/product/lib/libclntsh.sl' is up to date.
    why???
    than i use proc sample1.pc, and the proc create sample1.c
    than i do cc -lclntsh -I$ORACLE_HOME/precomp/public sample1.c
    and in return i get: /usr/ccs/bin/ld: Can't find
    library: "clntsh"
    i really don't know what problem is this...
    can you help????
    Paulo Aboim Pinto
    [email protected]
    Portugal

    i've read all your post, and i still having this error
    1: when i do make i get this:
    make -f demo_proc.mk INAME=sample1.pc
    `/bpi/orabpi/product/lib/libclntsh.sl' is up to date.
    why??? Are you by any chance using the example makefile supplied with Oracle? This has a line in it that calls a makefile called env_precomp.mk.
    Get rid of this line---it is used (I think) for the initial setup of ProC/C++ and is superflous for building user programs.
    If you want I can supply you with a template makefile for 8.0.5 that will do the complete build for you, including handling ProC++ files, additional C/C++ source files and header files. e-mail me off list if you want this and I'll send it to you.
    Alastair
    than i use proc sample1.pc, and the proc create sample1.c
    than i do cc -lclntsh -I$ORACLE_HOME/precomp/public sample1.c
    and in return i get: /usr/ccs/bin/ld: Can't find
    library: "clntsh"
    i really don't know what problem is this...
    can you help????
    Paulo Aboim Pinto
    [email protected]
    Portugal

  • Error while compiling Pro*C program

    Hi,
    I get the following error while compiling and linking Pro*C program.
    /home/barts/builddir $ make build_get_plc_data
    Making Object files for get_plc_data.c
    /usr/ccs/bin/cc -c +DD64  -I. -I../lib  -I/u01/dba/oracle/product/1012ias/precomp/public get_plc_data.c
    /usr/ccs/bin/cc -o get_plc_data get_plc_data.o -L/u01/dba/oracle/product/1012ias/lib -lclntsh +DD64
    ld: Unsatisfied symbol "sqlcx2t" in file get_plc_data.o
    ld: Unsatisfied symbol "main" in file <no file>
    2 errors.
    *** Error exit code 1 (ignored)
    /bin/rm -f get_plc_data.o
    Please suggest what could be causing this issue?
    Regrads,
    Dhivya

    I don't see a specific Proc or precompiler forum around here.
    Perhaps your best bet would be at [Call interface (OCI)|http://forums.oracle.com/forums/forum.jspa?forumID=67] forum or maybe [SQL and PL/SQL|http://forums.oracle.com/forums/forum.jspa?forumID=75] since it's more of a developers' forum.

  • Error while compiling pro*c code in oracle 11gR2 on AIX6.1 (64bit)..

    Hi ,
    We are migrating from oracle 10gR2 on AIX 5.3 to oracle 11gR2 on AIX 6.1 (64bit Kernal) . As pat of this , we need to migrate all the pro*c codes and for that we are trying to complie those files on the new server . But while compiling , we are getting error as :
    *1586-119 (U) The 32-bit file "/lib/crt0_64.o" is being linked in 64-bit mode, or vice versa.*
    We have only one library in $ORACLE_HOME which is lib..Lib32 is not present .
    Could you please help me in resolving this error ?
    The details , that I feel will be helpful ,is provided below :
    COMP_PROC ]>echo $ORACLE_HOME
    */data/oracle/product/11.2.0.2*
    */COMP_PROC ]>echo $LD_LIBRARY_PATH*
    */data/oracle/product/11.2.0.2/lib*
    COMP_PROC ]>echo $LIBPATH
    */data/oracle/product/11.2.0.2/lib*
    COMP_PROC ]>echo $PATH
    */data/oracle/product/11.2.0.2:/data/oracle/product/11.2.0.2/bin:/applications/tf3/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/bin:.::/dbjobs/utils/adsm:.:/applications/tf3/bin:/applications/tf3/bin/ctm/source:/usr/vac/bin:/applications/tf3/bin:/usr/lib:/tshome/tfapp:/tshome/tfapp/app/genio::/tshome/tfapp/app/genio/odbc:/tshome/tfapp/app/genio/odbc/lib:/data/oracle/product/11.2.0.2/lib:/data/oracle/product/11.2.0.2/bin:/tshome/tf01/:/usr/bin:/etc:/usr/sbin:/usr/ucb:/tshome/tfapp/bin:/usr/bin/X11:/sbin*
    Compiler version :
    COMP_PROC ]>cc -v
    exec: /usr/bin/pg(/usr/bin/pg,/usr/vac/exe/default_msg/vac.help,NULL)
    C for AIX Compiler, Version 6
    os version :
    COMP_PROC ]>uname -a
    AIX 1 6 00F6249E4C00
    Make file :
    # File : makeheader.h #
    # Description : #
    # The target 'build' puts together an executable $(EXE) from the .o files
    # in $(OBJS) and the libraries in $(PROLDLIBS). It is used to build the
    # c sample programs. The rules to make .o files from .c and .pc files are
    # later in this file.
    # ($(PROLDLIBS) includes the client shared library, and $(STATICPROLDLIBS) does
    # not.)
    # Here are some rules for converting .pc -> .c -> .o and for .typ -> .h.
    # If proc needs to find .h files, it should find the same .h files that the
    # c compiler finds. We use a macro named INCLUDE to hadle that. The general
    # format of the INCLUDE macro is
    # INCLUDE= $(I_SYM)dir1 $(I_SYM)dir2 ...
    # Normally, I_SYM=-I, for the c compiler. However, we have a special target,
    # pc1, which calls $(PROC) with various arguments, include $(INCLUDE). It
    # is used like this:
    # $(MAKE) -f $(MAKEFILE) <more args to make> I_SYM=include= pc1
    # This is used for some of $(SAMPLES) and for $(OBJECT_SAMPLE).
    USERID=xxxxx/yyyyy@zzzzzzz
    SHELL=/bin/ksh
    MQMLIBS=/usr/lpp/mqm/lib/libmqm.a
    MQMCLIENTLIBS=/usr/lpp/mqm/lib/libmqic.a
    #MQMLIBS=/pvcs/compile/proc/libmqm.a
    CONVLIBS=/usr/lib/libiconv.a
    NETWORKHOME=$(ORACLE_HOME)/network/
    PLSQLHOME=$(ORACLE_HOME)/plsql/
    #INCLUDE=$(I_SYM). $(I_SYM)$(PRECOMPHOME)public $(I_SYM)$(RDBMSHOME)public $(I_SYM)$(RDBMSHOME)demo $(I_SYM)$(PLSQLHOME)public $(I_SYM)$(NETWORKHOME)public
    I_SYM=-I
    AS_EXT=s
    LIB_EXT=a
    OBJ_EXT=o
    PLB_EXT=plb
    SO_EXT=so
    LOCK_EXT=lk
    SQL_EXT=sql
    SYM_EXT=sym
    LIB_PREFIX=lib
    LDLIBFLAG=-l
    LDPATHFLAG=-L
    AS=as
    AWK=awk
    CAT=cat
    CC=/usr/vac/bin/cc
    CD=cd
    CHMOD=chmod
    CP=cp
    CPP=cpp
    DATE=date
    ECHO=echo
    ECHON=echo -n
    EXEC=exec
    FIND=find
    FOLLOW=-follow
    NOLEAF=-noleaf
    GREP=grep
    KILL=kill
    SLEEP=sleep
    LD=ld
    LMAKE=make
    LN=ln
    LNS=ln -s
    MKDIR=mkdir
    MKDIRP=mkdir -p
    MV=mv
    NM=nm
    PERL=perl
    RM=rm
    RMF=rm -f
    RMRF=rm -rf
    SED=sed
    SORT=sort
    TOUCH=touch
    XARGS=xargs
    LS=ls
    SPFLAGS=
    MATHLIB=-lm
    LOCALLIBS=
    OPTIMIZE=-O5
    OTHERLIBS = `cat $(ORACLE_HOME)/lib/sysliblist`
    CCFLAGS= -g
    SO=a
    LLIBTHREAD=-lpthreads
    EXOSLIBS=
    LIBBSD=
    SECLIBS=
    M6LIBS=
    LIBHOME=$(ORACLE_HOME)/lib
    VER =11
    BASENAME =n
    NETWORKHOME = $(ORACLE_HOME)/network/
    NETWORKLIB = $(NETWORKHOME)lib/
    RONAME=${BASENAME}ro${VER}
    PFLAGS=
    PFLAGS= $(INCLUDE) $(SPFLAGS) $(LPFLAGS)
    RDBMS_VERSION = 11
    LIBSERVERNAME=server$(RDBMS_VERSION)
    LIBSERVER=$(LIBHOME)$(LIB_PREFIX)$(LIBSERVERNAME).$(LIB_EXT)
    LLIBSERVER=$(LDLIBFLAG)$(LIBSERVERNAME)$(LIB_SUFFIX)
    LIBCLIENTNAME=client$(RDBMS_VERSION)
    LIBCLIENT=$(LIBHOME)$(LIB_PREFIX)$(LIBCLIENTNAME).$(LIB_EXT)
    LLIBCLIENT=$(LDLIBFLAG)$(LIBCLIENTNAME)
    LIBGENERICNAME=generic$(RDBMS_VERSION)
    LIBGENERIC=$(LIBHOME)$(LIB_PREFIX)$(LIBGENERICNAME).$(LIB_EXT)
    LLIBGENERIC=$(LDLIBFLAG)$(LIBGENERICNAME)
    LIBDSBTSHNAME=dsbtsh$(RDBMS_VERSION)
    LIBDSBTSH=$(RDBMSLIB)$(LIB_PREFIX)$(LIBDSBTSHNAME).$(SO_EXT)
    LIBSKGXPNAME=skgxp$(RDBMS_VERSION)
    LIBSKGXP=$(LIBHOME)$(LIB_PREFIX)$(LIBSKGXPNAME).$(SKGXP_EXT)
    LLIBSKGXP=$(LDLIBFLAG)$(LIBSKGXPNAME)
    LIBCOMMONNAME=common$(RDBMS_VERSION)
    LIBCOMMON=$(LIBHOME)$(LIB_PREFIX)$(LIBCOMMONNAME).$(LIB_EXT)
    LLIBCOMMON=$(LDLIBFLAG)$(LIBCOMMONNAME)
    LIBVSNNAME=vsn$(RDBMS_VERSION)
    LIBVSN=$(LIBHOME)$(LIB_PREFIX)$(LIBVSNNAME).$(LIB_EXT)
    LLIBVSN=$(LDLIBFLAG)$(LIBVSNNAME)
    LIBAGENTNAME=agent$(RDBMS_VERSION)
    LIBAGENT=$(LIBHOME)$(LIB_PREFIX)$(LIBAGENTNAME).$(LIB_EXT)
    LLIBAGENT=$(LDLIBFLAG)$(LIBAGENTNAME)
    LIBDBTOOLSNAME=dbtools$(RDBMS_VERSION)
    LIBDBTOOLS=$(RDBMSLIB)$(LIB_PREFIX)$(LIBDBTOOLSNAME).$(LIB_EXT)
    #DEF_ON= $(RDBMSLIB)kpudfo.$(OBJ_EXT)
    #DEF_OFF= $(RDBMSLIB)kpundf.$(OBJ_EXT)
    #DEF_OPT= $(RDBMSLIB)defopt.$(OBJ_EXT)
    LIBSLAXNAME=slax8
    LIBSLAX=$(LIBHOME)$(LIB_PREFIX)$(LIBSLAXNAME).$(LIB_EXT)
    LLIBSLAX=$(LDLIBFLAG)$(LIBSLAXNAME)
    LIBSQLNAME=sql11
    LIBSQL=$(LIBHOME)/$(LIB_PREFIX)$(LIBSQLNAME).$(LIB_EXT)
    LLIBSQL=$(LDLIBFLAG)$(LIBSQLNAME)
    #SCOREPT = $(LIBHOME)/scorept.$(OBJ_EXT)
    #SSCOREED = $(LIBHOME)/sscoreed.$(OBJ_EXT)
    LIBORA=$(LIBCLIENT) $(LIBCOMMON) $(LIBGENERIC)
    LLIBORA=$(LLIBCLIENT) $(LLIBCOMMON) $(LLIBGENERIC)
    LIBSQLNET = $(LDFLAGSLIST) $(ANOLIBD) $(PROTOCOLLIBD) $(NATIVELIBD) $(NATIVESYSLIBD) $(LIBNETWORK) $(LIBNL)
    LLIBSQLNET = $(LDFLAGSLIST) $(ANOLIBS) $(PROTOCOLLIBS) $(NATIVELIBS) $(NATIVESYSLIBS) $(LLIBNETWORK) $(LLIBNL)
    LIBRPC = $(LIBHOME)$(LIB_PREFIX)$(RONAME).$(LIB_EXT)
    LLIBRPC = $(LDLIBFLAG)$(RONAME)
    NETLIBS = $(LLIBSQLNET) $(LLIBRPC) $(LLIBSQLNET)
    NETLIBD = $(LIBSQLNET) $(LIBRPC)
    LDFLAGSFILE=$(NETWORKLIB)ldflags
    LDFLAGSLIST=`$(CAT) $(LDFLAGSFILE)`
    LDFLAGSLIST=
    LIBNLSRTLNAME = nls11
    LIBNLSRTL= $(LIBHOME)$(LIB_PREFIX)$(LIBNLSRTLNAME).$(LIB_EXT)
    LLIBNLSRTL= $(LDLIBFLAG)$(LIBNLSRTLNAME)$(LIB_SUFFIX)
    CORE_LIB_VER = 11
    CORE_LIB_NAME = core
    LIBCORE = $(LIBHOME)$(LIB_PREFIX)$(CORE_LIB_NAME)$(CORE_LIB_VER).$(LIB_EXT)
    LLIBCORE = $(LDLIBFLAG)$(CORE_LIB_NAME)$(CORE_LIB_VER)
    RDBMSHOME=$(ORACLE_HOME)/rdbms/
    RDBMSLIB=$(RDBMSHOME)lib/
    RDBMSADMIN=$(RDBMSHOME)admin/
    LIBCLNTSHNAME=clntsh
    LIBCLNTSH=$(LIBHOME)$(LIB_PREFIX)$(LIBCLNTSHNAME).$(SO_EXT)
    LLIBCLNTSH=$(LDLIBFLAG)$(LIBCLNTSHNAME)
    LIBAGTSHNAME=agtsh
    LIBAGTSH=$(LIBHOME)$(LIB_PREFIX)$(LIBAGTSHNAME).$(SO_EXT)
    LLIBAGTSH=$(LDLIBFLAG)$(LIBAGTSHNAME)
    LIBKNLOPTNAME=knlopt
    LIBKNLOPT=$(RDBMSLIB)$(LIB_PREFIX)$(LIBKNLOPTNAME).$(LIB_EXT)
    LLIBKNLOPT=$(LDLIBFLAG)$(LIBKNLOPTNAME)
    #LIBTRACENAME=trace9
    #LIBTRACE=$(LIBHOME)$(LIB_PREFIX)$(LIBTRACENAME).$(LIB_EXT)
    #LLIBTRACE=$(LDLIBFLAG)$(LIBTRACENAME)$(LIB_SUFFIX)
    #LIBEPC=$(LIBHOME)$(LIB_PREFIX)$(LIBTRACENAME).$(LIB_EXT)
    #LLIBEPC=$(LDLIBFLAG)$(LIBTRACENAME)$(LIB_SUFFIX)
    CORELIBS = $(LLIBNLSRTL) $(LLIBCV6) $(LLIBCORE) $(LLIBNLSRTL) $(LLIBCORE) \
    $(LLIBNLSRTL)
    OTHERLIBS=`cat $(ORACLE_HOME)/lib/sysliblist`
    DEVTTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
    $(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) `cat $(ORACLE_HOME)/lib/sysliblist` $(MATHLIB)
    CC=/usr/vac/bin/cc
    PCC=proc
    PROC=proc CODE=ANSI_C define=_64BIT_ define=_IBM_C define=_LONG_LONG sqlcheck=full userid=$(USERID) oraca=yes mode=oracle unsafe_null=yes dbms=v8
    PCCINCLUDE=include=$(ORACLE_HOME)/precomp/lib
    PCCFLAGS=$(PCCINCLUDE) sqlcheck=full ltype=none parse=full userid=$(USERID) lines=yes unsafe_null=yes dbms=v8
    CFLAGS= $(GFLAG) -qmaxmem=8192 $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS) -L$(LIBHOME)
    ECHO=
    STATICPROLDLIBS=$(LLIBCLIENT) $(LIBSQL) $(SCOREPT) $(SSCOREED) $(DEF_ON) $(DEVTTLIBS) $(LLIBTHREAD)
    PROLDLIBS=$(LLIBCLNTSH) $(STATICPROLDLIBS)
    Tail of make.log :
    [applications/tf3/bin/COMP_PROC ]>echo $ORACLE_HOME
    /data/oracle/product/11.2.0.2
    [applications/tf3/bin/COMP_PROC ]>cd $ORACLE_HOME
    [data/oracle/product/11.2.0.2 ]>cd install
    [data/oracle/product/11.2.0.2/install ]>tail -15 make.log
    mv: cannot rename /data/oracle/product/11.2.0.2/bin/nmo to /data/oracle/product/11.2.0.2/bin/nmo0:
    No such file or directory
    mv /data/oracle/product/11.2.0.2/sysman/lib/nmo /data/oracle/product/11.2.0.2/bin/
    make: The error code from the last command is 1.
    make: Ignored error code 1 from last command.
    /bin/make -f /data/oracle/product/11.2.0.2/sysman/lib/ins_emagent.mk relink_exe EXENAME=nmhs
    ld -b64 -o /data/oracle/product/11.2.0.2/sysman/lib/nmhs -L/data/oracle/product/11.2.0.2/lib/ -L/data/oracle/product/11.2.0.2/sysman/lib/ -lld -lm `cat /data/oracle/product/11.2.0.2/lib/sysliblist` -lm /data/oracle/product/11.2.0.2/sysman/lib/s0nmhs.o -lnmhs -lcore11 -lld -lm `cat /data/oracle/product/11.2.0.2/lib/sysliblist` -lm
    rm -f /data/oracle/product/11.2.0.2/bin/nmhs.0
    cp /data/oracle/product/11.2.0.2/sysman/lib/nmhs /data/oracle/product/11.2.0.2/bin/nmhs.0
    mv -f /data/oracle/product/11.2.0.2/bin/nmhs /data/oracle/product/11.2.0.2/bin/nmhs0
    mv: cannot rename /data/oracle/product/11.2.0.2/bin/nmhs to /data/oracle/product/11.2.0.2/bin/nmhs0:
    No such file or directory
    make: The error code from the last command is 1.
    make: Ignored error code 1 from last command.
    mv /data/oracle/product/11.2.0.2/sysman/lib/nmhs /data/oracle/product/11.2.0.2/bin/
    Edited by: Minu on Dec 3, 2011 12:36 AM

    Apparently you are trying to mix 32-bit code and 64-bit code. You must ensure that the 32-bit or 64-bit option is used consistently on every command, compiling and linking. The form of the option can depend on the version of the C compiler you are using, and whether you are on an x86 or sparc system. Consult the Pro*C and C compiler documentation.

  • PLS-S-00487, Invalid reference to variable while compiling PRO*C program

    Hi,
    I am writing a PRO*C code and get an error in compilation.
    Code is as below:
    +#include <stdio.h>+
    +#include <string.h>+
    EXEC SQL INCLUDE sqlca.h;
    int main(int argc , char **argv)
    +{+
    int i;
    EXEC SQL BEGIN DECLARE SECTION;
    VARCHAR connString[100];
    struct emp_record
    +{+
    char name[25];
    char dept[10];
    int id;
    int salary;
    int comm;
    int tot_sal;
    +}e1;+
    EXEC SQL END DECLARE SECTION;
    strcpy (connString.arr, "abcd/efgh@ijkl");
    connString.len = strlen ( connString.arr);
    +printf("\n Connection is [%d][%s]",connString.len,connString.arr);+
    +EXEC SQL CONNECT :connString;+
    +if(sqlca.sqlcode!=0)+
    +{+
    +printf("\nFailed to Connect, sqlcode is %d\n",sqlca.sqlcode);+
    +printf("\nOracle Message = %s", sqlca.sqlerrm.sqlerrmc);+
    +exit(-1);+
    +}+
    +else+
    +{+
    +printf("\nConnected\n");+
    +}+
    +EXEC SQL EXECUTE+
    +BEGIN+
    +emp_calc ( :e1.name,+
    +:e1.id,+
    +:e1.salary,+
    +:e1.tot_sal+
    +);+
    +END;+
    +END-EXEC;+
    +if(sqlca.sqlcode!=0)+
    +{+
    +printf("Oracle Error:[%d][%s]",sqlca.sqlcode,sqlca.sqlerrm.sqlerrmc);+
    +}+
    +}+
    Procedure code is:
    +CREATE OR REPLACE PROCEDURE "EMP_CALC" (+
    +pi_empname in emp.ename%type,+
    +pi_empno in emp.empno%type,+
    +pi_sal in emp.sal%type,+
    +po_totsal out NUMBER)+
    +is+
    +begin+
    +po_totsal := 1.1 * pi_sal;+
    +dbms_output.put_line('Total Salary is:' || po_totsal);+
    +end;+
    *My main aim is to use elements of a structure in procedure call as parameters*
    *But when I compile I get error on such usage as follows:*
    Pro*C/C++: Release 11.2.0.3.0 - Production on Tue Apr 30 16:59:22 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
    System default option values taken from: /mtsapp1/ora11g/product/11.2.0.3/dbhome_1/precomp/admin/pcscfg.cfg
    Error at line 52, column 20 in file singleStructOra.pc
    emp_calc ( :e1.name,
    ...................1
    PLS-S-00487, Invalid reference to variable 'E1'
    Error at line 52, column 1 in file singleStructOra.pc
    emp_calc ( :e1.name,
    1
    PLS-S-00000, Statement ignored
    Semantic error at line 50, column 1, file singleStructOra.pc:
    BEGIN
    1
    PCC-S-02346, PL/SQL found semantic errors
    *I would like to know how to resolve this compilation error and how do I use members of structures in such a procedure call.*
    Thanks....

    Sadly PL/SQL blocks do not understand structs (or arrays). DML statements do understand them.
    This is not very clearly stated in the manual, but it does say:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e10825/pc_08arr.htm#autoId33
    Restrictions on Arrays of Structs
    The following restrictions apply to the use of arrays of structs in Pro*C/C++:
    Arrays of structs (just as with ordinary structs) are not permitted inside an embedded PL/SQL block.
    http://docs.oracle.com/cd/E11882_01/appdev.112/e10825/pc_07pls.htm#autoId13
    Do not use C pointer or array syntax in PL/SQL blocks. The PL/SQL compiler does not understand C host-variable expressions and is, therefore, unable to parse them.
    Although the example uses an array of structs, simple structs also fail. I have always had to copy the fields to and from simple variables when calling stored procedures.
    regards,
    David

  • Error While compiling Pro*C in sun solaris

    hi,
    i am using solaris 5.8 , Pro*C - 1.6 and Oracle-7.3 versions.i am not able to compile a proc program in these combination of versions.
    pls give the details regarding the compilation scripts and the configurations to be done prior to the compilation.
    rgds
    Dileep.S

    Pro*C is Oracle's Precompiler Product.
    You probably should ask the vendor.
    Rose

  • Unsatisfied symbols ???

    Hi,
    I need helb for the following error while compiling a tuxedo server:
    /usr/ccs/bin/ld: Unsatisfied symbols:
    SQLCA (data)
    Does somebody have any idea?
    Thanks
    Kevin

    Dick,
    The recommended way to link Tuxedo clients and servers is to use the
    buildobjclient and buildobjserver commands for CORBA clients and servers,
    and to use the buildclient and buildserver commands for ATMI clients and
    servers. Using these commands will ensure that the required Tuxedo
    libraries are linked into your client or server.
    <Dirk Kruger> wrote in message news:[email protected]..
    I have a similar problem. I am using Tuxedo 8.1 on an HPUX11i machine, Ihave developed an agent to monitor various activities in Tuxedo, when I try
    to compile by using the "make" command, I get a message stating "Unsatisfied
    Symbols" and then goes on to complain about Fldid32, Fget32 and a few
    others. The FML.H file is included in the source code along with some other
    bits. Does anybody have any suggestions on how to go about compiling this?
    My current makefile looks like this:
    >
    CC = cc
    AWF_LIB = ${AGENTWORKS_DIR}/factory/lib
    AWF_INC = ${AGENTWORKS_DIR}/factory/include
    TUX_INC = ${TUXDIR}/include
    TUX_LIB = ${TUXDIR}/lib
    CFLAGS = -g -w1 -Ae +DAportable -I$(AWF_INC) -I$(TUX_INC)
    PATH_SHL = -Wl,+b /opt/CA/AWSlib:/usr/local/AWSlib:/usr/lib
    LD = $(CC) -g $(PATH_SHL)
    all: caitux
    caitux: caitux.o
    $(LD) -dynamic caitux.o -L${TUX_LIB} -L$(AWF_LIB) -lfactory -o $@
    # End of file
    Please, any help would be greatly appreciated.
    Thanks in advance!

  • Error while compiling BerkeleyDB: Command failed for target `util_sig.lo'

    Hi,
    While trying to compile BerkeleyDB on Solaris 10 x86 ( is there an easier way to get BerkeleyDB running than compiling from source? ) I was confronted with the error message appended.
    I used Berkeley 4.4.20 and configured by executing
    PATH=/usr/ccs/bin:${PATH} # for ar
    cd build_unix
    CC=gcc ../dist/configure
    Here the error message:
    UNIX /app/berkeleydb/db/4.4.20/build_unix
    $ make
    /usr/bin/sh ./libtool --mode=compile gcc -c -I. -I../dist/..  -D_REENTRANT -O2 ../common/util_sig.c
    gcc -c -I. -I../dist/.. -D_REENTRANT -O2 ../common/util_sig.c -fPIC -DPIC -o .libs/util_sig.o
    In file included from /usr/include/sys/signal.h:34,
    from /usr/include/signal.h:26,
    from ../common/util_sig.c:15:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/signal.h:26,
    from ../common/util_sig.c:15:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../common/util_sig.c:15:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `util_sig.lo'
    Thanks, Dietrich
    PS:
    I need the LDAP server for playing with a JAAS LDAP login module and something minimal would be enough. Is there something easier to install than OpenLDAP?

    I fail to understand why you're taking all this trouble. Both the Berkeley DB as OpenLDAP are both shipped with Solaris 10/x86 natively. Look into the so called companion cd / dvd. That makes setting all of this up a piece of cake.
    Another option could be looking into Blastwave or Sun Freeware.

  • Problems with /usr/ccs/lib/cpp

    HI,
    I have problems with /usr/ccs/lib/cpp
    I want get the pre-compiled program
    I used a simple program
    $ cat x.p
    #include <stdio.h>
    main()
    printf ( "Process\n" );
    When I used the command
    $ /usr/ccs/lib/cpp x.p > y.c
    The file y.c has 0 bytes.
    Pls your help. I am using Sun forte 6 Update 2

    You should also consider whether you should be using cpp at all.
    /usr/ccs/bin/cpp is the old K&R prepocessor, not the standard C preprocessor that is part of the C compiler. To use the standard C preprocessor, run "cc" using the -P or -E option.
    The -P option creates a .i file and includes only the prepocessed code.
    The -E option writes to standard output, and include file and line directives showing the source of all included text.

  • Error while compiling TestInstallSQLJ

    dear all,
    i don't konw why the translator produced the follwoing errors when i tried to translate the example TestInstallSQLJ.sqlj:
    java.lang.ExceptionInInitializerError: java.lang.NullPointerException
    at sqlj.framework.ClassFileReader.attribute_info(Compiled Code)
    at sqlj.framework.ClassFileReader.readClass(Compiled Code)
    at sqlj.framework.ClassFileReader.describeClass(Compiled Code)
    at sqlj.framework.ClassFileReader.getDeclaringClass(Compiled Code)
    at sqlj.framework.JSClass$ClassWrapper.getDeclaringClass(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1542)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveIfNonNull(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveIfNonNull(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1542)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1504)
    at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1531)
    at sqlj.framework.JSClass.resolveClassReferences(Compiled Code)
    at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1505)
    at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1510)
    at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1490)
    at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1510)
    at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1490)
    at sqlj.framework.JSClass.reflectSystemClass(JSClass.java:1340)
    at <Unloaded Method>
    at sqlj.javac.Token.getType(Token.java:288)
    at sqlj.javac.LiteralNode.<init>(LiteralNode.java:17)
    at sqlj.javac.StringLiteralNode.<init>(StringLiteralNode.java:14)
    at sqlj.javac.JavaParserImpl.Literal(JavaParserImpl.java:3421)
    at sqlj.javac.JavaParserImpl.PrimaryPrefix(JavaParserImpl.java:3288)
    at sqlj.javac.JavaParserImpl.PrimaryExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.PostfixExpression(JavaParserImpl.java:3179)
    at sqlj.javac.JavaParserImpl.UnaryExpressionNotPlusMinus(JavaParserImpl.java:3166)
    at sqlj.javac.JavaParserImpl.UnaryExpression(JavaParserImpl.java:3099)
    at sqlj.javac.JavaParserImpl.MultiplicativeExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.AdditiveExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.ShiftExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.RelationalExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.InstanceOfExpression(JavaParserImpl.java:2882)
    at sqlj.javac.JavaParserImpl.EqualityExpression(Compiled Code)
    at sqlj.javac .JavaParserImpl.AndExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.ExclusiveOrExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.InclusiveOrExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.ConditionalAndExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.ConditionalOrExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.ConditionalExpression(JavaParserImpl.java:2703)
    at sqlj.javac.JavaParserImpl.Expression(JavaParserImpl.java:2622)
    at sqlj.javac.JavaParserImpl.ArgumentList(Compiled Code)
    at sqlj.javac.JavaParserImpl.Arguments(JavaParserImpl.java:3458)
    at sqlj.javac.JavaParserImpl.PrimarySuffix(JavaParserImpl.java:3388)
    at sqlj.javac.JavaParserImpl.PrimaryExpression(Compiled Code)
    at sqlj.javac.JavaParserImpl.StatementExpression(JavaParserImpl.java:3993)
    at sqlj.javac.JavaParserImpl.Statement(JavaParserImpl.java:3674)
    at sqlj.javac.JavaParserImpl.BlockStatement(JavaParserImpl.java:3792)
    at sqlj.javac.JavaParserImpl.Block(Compiled Code)
    at sqlj.javac.JavaParserImpl.TryStatement(Compiled Code)
    at sqlj.javac.JavaParserImpl.Statement(JavaParserImpl.java:3709)
    at sqlj.javac.JavaParserImpl.BlockStatement(JavaParserImpl.java:3792)
    at sqlj.javac.JavaParserImpl.Block(Compiled Code)
    at sqlj.javac.JavaParserImpl.MethodDeclaration(Compiled Code)
    at sqlj.javac.JavaParserImpl.ClassBodyDeclaration(JavaParserImpl.java:1370)
    at sqlj.javac.JavaParserImpl.ClassBody(Compiled Code)
    at sqlj.javac.JavaParserImpl.UnmodifiedClassDeclaration(Compiled Code)
    at sqlj.javac.JavaParserImpl.ClassDeclaration(Compiled Code)
    at sqlj.javac.JavaParserImpl.TypeDeclaration(JavaParserImpl.java:828)
    at sqlj.javac.JavaParserImpl.CompilationUnit(Compiled Code)
    at sqlj.javac.JavaParserSub.parseSQLJUnit(JavaParserSub.java:111)
    at sqlj.translator.Translator.addUnit(Translator.java:124)
    at sqlj.translator.Main.translate(Compiled Code)
    at sqlj.translator.Main.runTranslation(Main.java:92)
    at sqlj.translator.Main.runTranslation(Main.java:85)
    at sqlj.tools.Sqlj.statusMain(Compiled Code)
    at sqlj.tools.Sqlj.main(Sqlj.java:117)
    TestInstallSQLJChecker.sqlj: Error: Exception caught:
    Total 1 error.
    thank you for your help
    null

    thank you for your reply.
    I didn't install sqlj 8.1.5, i just downloaded the translator sqlj 8.0.5 and tried to run it. I don't know where to download sqlj 8.1.5 after long search on the Oracle website. Therefor after I updated
    with the sqlj 8.1.6 sdk patch, sqlj -version still showed version 8.0.5
    Actually i am using Oracle 8.0.5 database, Java 1.2.1 on a solaris. I use DRIVER=oracle.jdbc.driver.OracleDriver,
    URL=jdbc:oracle:thinh:@localhost:1530:DBdata
    PATH=usr/java/bin:/usr/local/stronghold/ssl/bin:/usr/local/sbin:/usr/local/bin:/bin:/sbin:/etc:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ucb:/usr/sbin:/usr/X11/bin:/usr/openwin/ bin:/opt/gnu/bin:/opt/hpnp/bin:/usr/lib/nis:/home/thinh/bin:.:/opt/SUNWspro/bin:/home/thinh//sqlj/sqlj/bin
    CLASSPATH= very long classpath + /home/thinh/sqlj/sqlj/lib/translator.zip:/home/thinh/sqlj/sqlj/lib/runtime.zip
    thank you very much for your help

  • Problem compiling Pro*C programs

    Hello Pro*C experts,
    I am checking my Pro*C on my server where we just installed
    9iAS. The following error message when i try to compile one of
    the demos:
    ============================================================
    L1000: d05/9iAS/6iserver/precomp/demo/proc>make -f demo_proc.mk
    sample9
    /usr/ccs/bin/make -
    f /d05/9iAS/6iserver/precomp/demo/proc/demo_proc.mk
    OBJS=sample9.o EXE=sample9 build
    /usr/ccs/bin/make -
    f /d05/9iAS/6iserver/precomp/demo/proc/demo_proc.mk
    USER=scott/tiger SCRIPT=calldemo sqlplus_
    # You must run the .sql script, calldemo,
    # before precomping this sample.
    proc sqlcheck=full userid=scott/tiger iname=sample9
    Pro*C/C++: Release 8.0.6.3.0 - Production on Tue Nov 27 14:19:34
    2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    System default option values taken
    from: /d05/9iAS/6iserver/precomp/admin/pcscfg.cfg
    INTERNAL ERROR: Failed assertion [PGE Code=90105]
    sh: 21550 Bus error
    *** Error exit code 138
    Stop.
    *** Error exit code 1
    Stop.
    ============================================================
    any idea?
    regards
    Yogeeraj

    it's ok now.
    The problem was with the environment of the user who was trying
    to compile the programs. Oracle environments were not well set.
    Sqlplus itself was not working!!
    thanks for your time
    kind regards
    yogeeraj

  • [SOLVED] Strange error while compiling packages via AUR

    I've been facing this error while compiling packages via AUR. I'm also posting the output of my /etc/makepkg.conf
    Error
    ==> Starting build()...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether cc supports -O2... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for GSTREAMER... yes
    checking for GSTREAMER_GTK... yes
    checking for XOpenDisplay in -lX11... yes
    checking for ncursesw5-config... /usr/bin/ncursesw5-config
    checking for initscr in -lncurses... yes
    checking whether gcc supports -Wall... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating docs/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    fatal: Not a git repository (or any of the parent directories): .git
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/yaourt-tmp-hellknight/aur-gst123/src/gst123-0.2.0/build-aux/missing --run aclocal-1.11 -Wno-portability
    sh: autom4te: command not found
    aclocal-1.11: autom4te failed with exit status: 127
    make: *** [aclocal.m4] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build gst123.
    ==> Restart building gst123 ? [y/N]
    ==> -------------------------------
    ==>
    /etc/makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=amdfam10 -mtune=generic -O2 -pipe"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j8"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Directories to be searched for the strip option (if strip is specified)
    STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Last edited by tarun.hellknight (2011-04-12 15:45:26)

    That's strange... it wasn't installed.. although I had never,ever faced a problem while compiling packages via AUR.. maybe, I should be careful when uninstalling orphans.. thanks for the help..

  • How to put g95 in usr/local/bin?

    Hi all,
    I am trying to compile a program called elmerice.  When I type the "make compile" command, I get the following message:
    elmerf90-nosh -c Solvers/AIFlowSolve_nlD2.f90 -o Solvers/AIFlowSolve_nlD2.o
    /usr/local/bin/g95 -O5 -ffast-math -ftree-vectorize -march=nocona -fprefetch-loop-arrays -fomit-frame-pointer -fstrict-aliasing -momit-leaf-frame-pointer -falign-loops -I. -Ibinio -I/Applications/ElmerGUI.app/Contents//share/elmersolver/include -c Solvers/AIFlowSolve_nlD2.f90 -o Solvers/AIFlowSolve_nlD2.o
    /Applications/ElmerGUI.app/Contents/bin/elmerf90-nosh: line 18: /usr/local/bin/g95: No such file or directory
    I did install (I think successfully) g95 using macports, i.e. the command "sudo port install g95" but apparently it is not in /usr/local/bin, which seems to be where elmerice wants to find it.
    One complicating factor might be that /usr/local/bin does have gfortran it.
    It seems like elmerice will only use g95.  Can I put g95 in the /usr/local/bin directory from wherever I have it now, and if so, how?  Or can I just reinstall g95 in that directory?
    Thanks,

    Try creating a symbolic link from /usr/local/bin/g95 to wherever MacPorts put it. That is probably the easiest solution. Ideally, you would fix the makefile, but that wouldn't be easy.

  • "/usr/lib is not a symbolic link" and testify+libjpeg7 problem

    everytime I update pacman or do a "ldconfig" I get this:
    /sbin/ldconfig: /usr/lib/ is not a symbolic link
    this appeared by the time i installed libjpeg7 from aur (though I'm not 100% sure libjpeg7 is responsible). I've looked through google trying to find out what it means and if it is a problem, but nada! but, while at libjpeg, even though I installed libjpeg7 I can't compile testify (spotify linux-client). I get this error:
    In file included from image.c:31:
    jmemsrc.h:26: error: conflicting types for 'jpeg_mem_src'
    /usr/include/jpeglib.h:959: note: previous declaration of 'jpeg_mem_src' was here
    make: *** [image.o] Error 1
    make: *** Waiting for unfinished jobs....
    when i make /usr/include/jpeglib.h link to /usr/include/libjpeg7/jpeglib.h the compile and install is successful, BUT, testify crashes telling me:
    Wrong JPEG library version: library is 80, caller expects 70
    if more info's required, I'll provide andif I'm raising a problem already raised (I know there's been a lot of hassle since the upgrade), I'll gladly follow a link to solution.
    edit: the "not a symbolic link" appeared after installing libspotify0.0.3. installed it on another computer, and same thing appeared. though, would still like to know why it appears...
    Last edited by serein (2010-03-27 17:09:58)

    Mr.Elendig wrote:Whatever you are trying to build has to be patched for libjpeg8
    to much to do to get libjpeg7 working the way i want it to?
    i've looked through the source, but i don't know enough to get it working... crap.
    and its xtestify i'm trying to build: http://xtestify.sourceforge.net/

Maybe you are looking for

  • My subscribed calendar does not display in today view in iOS7. Does anyone know how to make it show up?

    I have a subscribed calendar on my iPhone. The today view in notification center shows that I have an event at xxxx and tomorrow view says I have x events but the calendar day view does not display any of the events. I need this so I can easily see w

  • Trying to read from a socket character by character

    Hi all, I have a problem with reading from a socket character by character. In the code shown below I try and read each character, and then write it to a file. The information sent to a socket sent from a file, and EOF is marked with character of asc

  • Upgrade from 10G windows 32-bit to 11G linux 64-bit

    Hi, I am moving a 10g database on windows 32-bit environment to 11G linux 64-bit environment. I am using rman to restore the database on the new environment. The restore completes successfully after which when I open the database in upgrade mode and

  • A Valid Address is needed to purchase

    Mind you before I hooked up my Apple TV I deauthroized my MacBook Air because I sold it. I bought the Apple TV 2 the other day on Sunday. 08, 2011.  I enjoyed renting one movie and watched a few Netflix movies.  This was after I ran the update to App

  • Network Organisation Setup

    Hi, When i created a new inv network organisation in IC . Oracle Inventory defaults the shipping information I entered in the Organization Parameters window . When i create a new organization i would like to change the default intransit account. ( Bu