Problem with Pro*C/C++ complie in linux
I install Oracle8.1.7 in my Mandrake 7.2 ( like redhat7.1) , and it works well except with proc not works well.
when I complie the precomp demo program, it gives much errors. I note the proc config file length was zero.
The following is errors I get when do:
cd precomp/demo/proc
make -f demo_proc.mk sample1
it print very large errors, like follow:
Pro*C/C++: Release 8.1.7.0.0 - Production on PGFZNe 7TB 6 11:46:04 2001
(c) Copyright 2000 Oracle Corporation. All rights reserved.
System default option values taken from: /home/u01/precomp/admin/pcscfg.cfg
Error at line 33, column 11 in file /usr/include/stdio.h
# include <stddef.h>
..........1
PCC-S-02015, unable to open include file
Error at line 38, column 11 in file /usr/include/stdio.h
# include <stdarg.h>
..........1
PCC-S-02015, unable to open include file
Error at line 29, column 10 in file /usr/include/bits/types.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Error at line 14, column 10 in file /usr/include/_G_config.h
when I run proc without file, it print options as following:
Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Jul 9 11:19:38 2001
(c) Copyright 2000 Oracle Corporation. All rights reserved.
System default option values taken from: /home/u01/precomp/admin/pcscfg.cfg
Option Name Current Value Description
auto_connect no Allow automatic connection to ops$ account
char_map charz Mapping of character arrays and strings
close_on_commitno Close all cursors on COMMIT
code kr_c The type of code to be generated
comp_charset multi_byte The character set type the C compiler supports
config default Override system configuration file with another
cpp_suffix none Override the default C++ filename suffix
dbms native v6/v7/v8 compatibility mode
def_sqlcode no Generate '#define SQLCODE sqlca.sqlcode' macro
define none Define a preprocessor symbol
duration transaction Set pin duration for objects in the cache
dynamic oracle Specify Oracle or ANSI Dynamic SQL Semantics
errors yes Whether error messages are sent to the terminal
errtype none Name of the list file for intype file errors
fips none FIPS flagging of ANSI noncompliant usage
header none Specify file extension for Precompiled Headers
hold_cursor no Control holding of cursors in the cursor cache
iname none The name of the input file
include none Directory paths for included files
intype none The name of the input file for type information
lines no Add #line directives to the generated code
lname none Override default list file name
ltype none The amount of data generated in the list file
maxliteral 1024 Maximum length of a generated string literal
maxopencursors 10 Maximum number of cached open cursors
mode oracle Code conformance to Oracle or ANSI rules
nls_char none Specify National Language character variables
nls_local no Control how NLS character semantics are done
objects yes Support object types
oname none The name of the output file
oraca no Control the use of the ORACA
pagelen 80 The page length of the list file
parse full Control which non-SQL code is parsed
prefetch 1 Number of rows pre-fetched at cursor OPEN time
release_cursor no Control release of cursors from cursor cache
select_error yes Control flagging of select errors
sqlcheck syntax Amount of compile-time SQL checking
sys_include none Directory where system header files are found
threads no Indicates a multi-threaded application
type_code oracle Use Oracle or ANSI type codes for Dynamic SQL
unsafe_null no Allow a NULL fetch without indicator variable
userid none A username/password [@dbname] connect string
varchar no Allow the use of implicit varchar structures
version recent Which version of an object is to be returned
PCC-F-02135, CMD-LINE: User asked for help
How can I do to solve this problem now?
Note: I need pro*c/c++ to works well in my project.
Thank you very much for your kindly help!
chen chuanwen: [email protected]
null
Sorry! I have not explain it clearly.
To solve it , you do following :
1. locate stdarg.h ( or find /usr -name stdarg.h ), assume you find a stdarg.h in /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h
2.ln -s /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include/stdarg.h or cp /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include
( above 2 step was to make Pro*C can find stdarg.h in /usr/include )
3. for file stddef.h do like step 1,2
4. append a line in your Pro*C config file:
CODE=ANSI_C
null
Similar Messages
-
Installation problem with Siebel8.0 on Oracle Enterprise Linux 4 system
We are having installation problem with Siebel8.0 on Oracle Enterprise Linux 4 system.
Using interface, when installation come up to “Installing Wizard” window where Gateway Name Server Configuration window should take place, everything just freeze up
Using console, after installation we obtain following errors:
Installing Siebel Enterprise Server. Please wait...
unable to launch: "ksh export
LD_LIBRARY_PATH=/siebel/gtwysrvr/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
-Dtemp.dir=/root -cp /siebel/gtwysrvr/bin/setup.jar run -args LANG=ENU
MODE=LIVE MODEL_FILE=/siebel/gtwysrvr/admin/enterprise_console.scm" error code:
"236"(SBL-STJ-00152)
LD_LIBRARY_PATH=/siebel/siebsrvr/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
-Dtemp.dir=/root -cp /siebel/siebsrvr/bin/setup.jar run -args LANG=ENU
REPEAT=FALSE MODE=LIVE MODEL_FILE=/siebel/siebsrvr/admin/siebel_server.scm"
error code: "236"(SBL-STJ-00152)
LD_LIBRARY_PATH=/siebel/siebsrvr/mgmtagent/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
-Dtemp.dir=/root -cp /siebel/siebsrvr/mgmtagent/bin/setup.jar run -args
LANG=ENU MODE=LIVE
MODEL_FILE=/siebel/siebsrvr/mgmtagent/admin/mgmtagent_ses.scm" error code:
"236"(SBL-STJ-00152)
Running command :
./ssincfgw -is:javaconsole -console -args LANG=ENU MODE=LIVE MODEL_FILE=/siebel/gtwysrvr/admin/enterprise_console.scm
Infinite loop of following error pops out:
An error occurred during wizard bean change notification:
java.lang.NoClassDefFoundError
at ConfigInitialize.execute(ConfigInitialize.java:21)
at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:123)
Is there any clue how this error can be solved??
Thanks in advance!!
Gordon
Message was edited by:
user605023I'm facing the same error message while install Siebel 8.0 on OEL. But before I had this ksh problem, it complains about disc space first, and I actually has plenty of disk space under the directory (it needs only 0.7 G and I have 17G free). Anybody has encountered such problem before?
/net/sdcnas05/vol/engfs01/v_sia/8.0SIA[20405|http://forums.oracle.com/forums/]/Release/Linux/Server/Siebel_Enterprise_Server
-bash-3.00$ ./setuplinux -is:javaconsole -console
Initializing InstallShield Wizard........
Initializing InstallShield Wizard........
Launching InstallShield Wizard........
0% 25% 50% 75% 100%
Welcome to the InstallShield Wizard for Siebel Enterprise Server
The InstallShield Wizard will install Siebel Enterprise Server on your
computer.
To continue, choose Next.
Siebel Enterprise Server
Siebel Systems
Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]
Siebel Enterprise Server Install Location
Please specify a directory or press Enter to accept the default directory.
Directory Name: [siebel] /slot/ems1115/appmgr/20405
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
Please select the products you wish to install.
[ ] 1 - Gateway Name Server
[ ] 2 - Siebel Server
[ ] 3 - Database Configuration Utilities
[ ] 4 - EAI Connectors
To select an item enter its number, or 0 when you are finished: [0]: 1
[X] 1 - Gateway Name Server
[ ] 2 - Siebel Server
[ ] 3 - Database Configuration Utilities
[ ] 4 - EAI Connectors
To select an item enter its number, or 0 when you are finished: [0]: 2
[X] 1 - Gateway Name Server
[X] 2 - Siebel Server
[ ] 3 - Database Configuration Utilities
[ ] 4 - EAI Connectors
To select an item enter its number, or 0 when you are finished: [0]:
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
Configuring uninstallers. Please wait...
0% 25% 50% 75% 100%
Choose the setup type that best suits your needs.
[X] 1 - Typical
[ ] 2 - Compact
[ ] 3 - Custom
To select an item enter its number, or 0 when you are finished: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
Please select the languages you wish to install.
[X] 1 - enu - English (American)
[ ] 2 - fin - Finnish
[ ] 3 - kor - Korean
[ ] 4 - cht - Chinese (Traditional)
[ ] 5 - ita - Italian (Standard)
[ ] 6 - esn - Spanish (Modern)
[ ] 7 - deu - German (Standard)
[ ] 8 - chs - Chinese (Simplified)
[ ] 9 - tha - Thai
[ ] 10 - dan - Danish
[ ] 11 - heb - Hebrew
[ ] 12 - fra - French (Standard)
[ ] 13 - nld - Dutch (Standard)
[ ] 14 - ptb - Portuguese (Brazilian)
[ ] 15 - csy - Czech
[ ] 16 - jpn - Japanese
[ ] 17 - ptg - Portuguese (Standard)
[ ] 18 - ara - Arabic (Sa`udi)
[ ] 19 - sve - Swedish
To select an item enter its number, or 0 when you are finished: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
{color:#ff0000}*Drive "/slot/ems1115/appmgr/20405" does not have enough space to install the*
selected configuration. Please free up "766446" KB on drive
*"/slot/ems1115/appmgr/20405" before continuing.*{color}
-bash-3.00$ pwd
/slot/ems1115/appmgr/20405
-bash-3.00$ df -h .
Filesystem Size Used Avail Use% Mounted on
sdc1002nap-vlan1:/vol/ems_39426_1115
71G 55G 17G 77% /slot/ems1115 -
Problem with the renameTO method in the Linux environment
Hi
I got a problem with the renameTO method in the Linux environment. The file is not moving.
This method is returning false. the same code executed successfully in Windows environment.
Can anyone give some fix to this one or an alternate solution to move the files in both windows and Linux.
boolean success;
File root = new File(tempPath);
File f = new File(root, phyFileName);
File dest = new File(targetPath);
success = f.renameTo(new File(dest, actualFileName));actualFileName = 400.doc
dest = /home/jboss-4.0.3/axsscm_1.0/axsscmDocuments/xchange/fileup/fshare/PO/1786JITHENDRA wrote:
Thanks for the prompt replyNo problem.
>
Can u solve the below doubt.
Will renameTo method wont work in Linux? If so why?Did you not read what I said? I suspect you are trying to rename a file so that it actually has to be moved to a different volume (partition or hard disk) so it won't work. One would have the same problem on Windows trying to rename a file on the c: drive to a name on the d: drive.
>
>
Can u give a sample or good link to do the above work which works fine in all environments.?Just follow the pseudo code I gave. 15 minutes work. -
Problems with Pro Tools 8, is it the software?
Hello, I know this is "Apple Discussions", but since I'm using Pro tools 8 with the new macbook pro, I might get some answers here. I recently bought pro tools 8, I already have logic though, but wanted to be in the pro tools world too so, the thing is that every time I use Pro Tools 8 with the digi 003, the session Im working on will stop with just a few plugins, and man this happens a lot, on the other hand is that nothing happens when I use the digi 003 with Logic 8, I mean, I could have like 20 plugins and It would not stop at all. Can anyone identify with this problem with pro tools 8, Because people tell me that on pro tools 7.4 that doesnt happen at all.
Thank you...PT8 is much better with plug ins than PT7x, but is not in the league of Logic. I am a huge PT fan and use both Logic and PT8, and as much as I love the look and superior interface of PT8, Logic is like an ugly old car that goes 200 MPH. It's a performance beast. I've had ridiculous amounts of plug ins in Logic with not a whimper from the program.
PT8 is much more sensitive to things like whether you are using Firewire drives to record to (as opposed to internal SATAs on a Mac Pro), and many 3rd party plugs cause PT much grief. For high track counts and lots of plug ins, Logic is still King Kong.
TH
Message was edited by: Tom Hartman1 -
When trying to generate C-Code of the sample programs with the Pro*C compiler on a Redhat 9 Linux and Oracle 8.1.7, I have a problem with typedef __builtin_va_ as shown below. The $ORACLE_HOME/precomp/admin/pcscfg.cfg contains the following entries:
sys_include=(/usr/include,/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include)
include=(/usr/include/linux)
include=(/usr/lib/gcc-lib/i386-redhat-linux7/2.96/include)
include=(/usr/local/oracle/product/8.1.7/precomp/public)
include=/usr/local/oracle/product/8.1.7/precomp/syshdr
include=/usr/local/oracle/product/8.1.7/rdbms/public
include=/usr/local/oracle/product/8.1.7/rdbms/demo
ltype=short
================
Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Jun 7 13:26:06 2004
(c) Copyright 2000 Oracle Corporation. All rights reserved.
System default option values taken from: /usr/local/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
Syntax error at line 43, column 9, file /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:
Error at line 43, column 9 in file /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/incl
ude/stdarg.h
typedef __builtin_va_list __gnuc_va_list;
........1
PCC-S-02201, Encountered the symbol "__builtin_va_list" when expecting one of th
e following:
auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name,
The symbol "enum," was substituted for "__builtin_va_list" to continue.Sorry! I have not explain it clearly.
To solve it , you do following :
1. locate stdarg.h ( or find /usr -name stdarg.h ), assume you find a stdarg.h in /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h
2.ln -s /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include/stdarg.h or cp /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include
( above 2 step was to make Pro*C can find stdarg.h in /usr/include )
3. for file stddef.h do like step 1,2
4. append a line in your Pro*C config file:
CODE=ANSI_C
null -
Problem with Pro*C reading BLOB field from Oracle 10g
Hello Experts,
We have a Pro*c application which is reading the BLOB data fields (a PNG image file) from Oracle data base. It holds the BLOB fields returned from the SQL query into a Unsigned Char structure in Pro*C. The program used work fine on AIX 32 – bit 4.3 and Oracle 8.1 environment.
Recently, we have upgraded the environment to AIX 64-bit 5.3 and Oracle 10g.Since after the Pro*c program has problem in reading the Blob filed.
Below is the query we are trying to execute –
EXEC SQL
SELECT
signtre_image, image_file_name_ext
INTO
:msipLocalImage INDICATOR :msipLocalImage_i,
:file_name_ext INDICATOR :file_name_ext_i
FROM
dcs_sign
WHERE
signtre_nbr = :signtre_nbr;
Here signtre_image is the BLOB fields and msipLocalImage is a Pro*C structure define as below –
typedef struct tagSignImage
long len; /* Image length */
unsigned char img[1]; /* Pointer to first byte. */
} MOTS_SIGN_IMAGE;
The quesry does not give any error or exception message in the Pro*C , program just stops at the point of executing the quesry..When we run the query commenting the BLOB filed it works fine. Also, the query runs good when we run it in the Oracle editor.
There seems to be problem with the way we are reading the BLOB field in the new Oracle 10g enviromet.
Does any body have any idea what’s wrong with this query? We really need it to work.
Any Help will be greatly appreciated.
Thanks,
- Rajan YadavThanks a ton for your response.
We made the necessary changes as suggested by you.This time we got another flavour of error - SQL Error Code - Inconsistent error while reading BLOB.
Another thing we noticed is that the data field which we are trying to read is defined as LONG RAW instead of a BLOB in data base.
Are these two things related in any sense or is there anything else which is causing the error.
Once again Thanks for your help.
- Rajan Yadav -
Problem with install oracle on OEL5.3 linux
Hello,
Have some strange problem with oracle enterpise linux 5.3 32 bit, during install Oracle 10gR2 got link errors,
after founded what is problem with linking oracle executables:
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
relink oracle
/usr/bin/ld: cannot find -lskgxn2
all depended rpms and parameters are set, looks like missing some library, but cannot recognise with one.
Have somebody spoted souch error ?The zipfile on technet has a checksum:
Oracle Database 11g Release 1 (11.1.0.6.0) for Linux x86
linux_11gR1_database_1013.zip (1,844,527,800 bytes) (cksum - 1044354138)
When the zipfile is downloaded, you can check the zipfile on linux with the cksum command, it should be exactly the same as listed on technet, otherwise the zipfile is corrupted. -
External Hard Drive & Problems With Pro Tools LE
Alright... my friend has the same computer as me, Powerbook G4, with the same specs and everything (OSX 10.3.9), and has a Digi 002 Rack with Pro Tools LE 6.2.2 He can record and playback everything perfectly through his Lacie 150 GB external HD. However, when i installed the software on my laptop and tried to load the same files he was working on, i get an error message that tells me that the audio files are "unsuitable for playback" and that the Lacie HD is "not an audio playback volume", which it really is!! The only way to get the songs to play, is to copy all the files onto my internal HD... then it all works fine. (besides the fact that is uses up all my memory!!!) Is there any way to fix this problem?? Some update or driver that i'm missing?? I'm assuming it has something to do with my laptop software/hardware??? ALSO, i run Final Cut Pro, and it won't let me set my external HD as the target disk, because it is, again, unsuitable for playback!!! I have to import tapes to the internal, then send them to the external after the fact! really annoying....
ANY help would be greatly appreciated!!!!!!How big is the drive? It's possible that Spotlight indexing is running and slowing things down. If you are unplugging the drive when you run into problems, the indexing will never complete and will start again the next time you plug in the drive. You can exclude the external drive from being indexed in the Spotlight system preferences:
You might also want to use Disk Utility to check the disk for errors, especially if you've been unplugging it while activity has been going on. -
Finally got a Pro Mouse for my G4 (still non-mac keyboard though). But it seems that there is a problem with the mouse now. I got it second hand from a friend and saw it working on his computer, but I plug it in to mine and I get no response! I've tried plugging it into different ports and restarting the computer with no luck...any suggestions?
Thanks Barry,
I just tried to do what you said in your answer and after restarting the computer everything worked fine for a short period of time, after that everything was as before.
I took the magic mouse to an apple store a couple of days ago, they tried it in several computers and everything was fine. I also checked my macbook's bluetooth with other devices and I didn't find any problems.
I still have until monday to fix the issue before the 14 day trial period expires, so you are welcome if you have any more suggestions.
Thanks again to everybody trying to help
Miguel -
Problems with Pro*C and the double datatype
Hi!
I'm working with Pro*C 8.1.7 on HPUX 11.0, but I've a problem
with the datatype double.
On runtime, I got a Bus Error (core dumped) when try assign a
double bind_variable (Pro*C) with a double variable (ANSI_C)
For example:
typedef struct xxxx
float item_ANSI_C;
double variable_ANSI_C;
} xxxx;
void procedure_name()
EXEC SQL BEGIN DECLARE SECTION;
xxxx *POINTER;
double double_bind_variable_PRO*C;
EXEC SQL END DECLARE SECTION;
EXEC SQL WHENEVER SQLERROR DO (...);
for (i = 0; ; i++)
EXEC SQL WHENEVER NOT FOUND DO break;
EXEC SQL FETCH cursor INTO (...),
:double_bind_variable_PRO*C,
POINTER.item_ANSI_C = other_bind_variable_PRO*C;
(***)POINTER[i].variable_ANSI_C = double_bind_variable_PRO*C;
(***): In this point the program throw BusError(core dumped).
However, the float datatype does not.
------- End Example -------------
Somebody have any solution for this problem? Please.
Thanks, in advance.
Alex.Hi Franz,
Though it's a bit late, I'll leave this trace for those who follow.
IRecordset also has Fields->Item.
What might work is:
IField * field;
field = rec->Fields->Item(0);
field->get_Value(0); (or something similar for your environment).
I couldn't find any documentation either.
The C++ examples are not overwhelming, are they?
Worse, they are not supported. Otherwise SBO-support is very hilfsbereit.
Cheers,
Evert -
Hi,
I have had my MacBook Pro with Retina for about 48 hours and so far it has switched itself off about 9 times and gone to a white screen saying it has encountered a problem and needs to shut down and help would be amazing.......this is the error report
Interval Since Last Panic Report: 9163 sec
Panics Since Last Report: 4
Anonymous UUID: 985A1E2C-F455-46D1-8098-30852A3B1D86
Fri Aug 17 12:35:32 2012
panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f823d19b1, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x00000000feedbef7, CR3: 0x000000001442e003, CR4: 0x00000000001606e0
RAX: 0xffffff7f823d1a84, RBX: 0x0000000000000077, RCX: 0x00000000feedbeef, RDX: 0x0000000000ae85cc
RSP: 0xffffff80f434b9b0, RBP: 0xffffff80f434b9c0, RSI: 0xffffff801ad88a00, RDI: 0xffffff801acff000
R8: 0xffffff80e45c6670, R9: 0x0000000000000000, R10: 0xffffff7f823d2e6c, R11: 0xffffff8015e305e8
R12: 0xffffff80177b9988, R13: 0xffffff801acff000, R14: 0xffffff80d39cc000, R15: 0xffffff801acff000
RFL: 0x0000000000010282, RIP: 0xffffff7f823d19b1, CS: 0x0000000000000008, SS: 0x0000000000000010
CR2: 0x00000000feedbef7, Error code: 0x0000000000000002, Faulting CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff80f434b660 : 0xffffff8000220792
0xffffff80f434b6e0 : 0xffffff80002c4794
0xffffff80f434b890 : 0xffffff80002da55d
0xffffff80f434b8b0 : 0xffffff7f823d19b1
0xffffff80f434b9c0 : 0xffffff7f823d5f7d
0xffffff80f434bb00 : 0xffffff7f823d2ed4
0xffffff80f434bb60 : 0xffffff800065593e
0xffffff80f434bb80 : 0xffffff800065621a
0xffffff80f434bbe0 : 0xffffff80006569bb
0xffffff80f434bd20 : 0xffffff80002a3f08
0xffffff80f434be20 : 0xffffff8000223096
0xffffff80f434be50 : 0xffffff80002148a9
0xffffff80f434beb0 : 0xffffff800021bbd8
0xffffff80f434bf10 : 0xffffff80002af140
0xffffff80f434bfb0 : 0xffffff80002dab5e
Kernel Extensions in backtrace:
com.apple.driver.AppleIntelHD4000Graphics(7.2.8)[6B02D782-A79F-399C-81FD-353EBF F2AB81]@0xffffff7f823c9000->0xffffff7f8242ffff
dependency: com.apple.iokit.IOPCIFamily(2.7)[C0404427-3360-36B4-B483-3C9F0C54A3CA]@0xffffff 7f80829000
dependency: com.apple.iokit.IONDRVSupport(2.3.4)[474FE7E9-5C79-3AA4-830F-262DF4B6B544]@0xff ffff7f8088d000
dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[EF26EBCF-7CF9-3FC7-B9AD-6C0C27B89B2B]@0 xffffff7f80854000
BSD process name corresponding to current thread: Google Chrome He
Mac OS version:
11E2620
Kernel version:
Darwin Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012; root:xnu-1699.31.2~1/RELEASE_X86_64
Kernel UUID: 25EC645A-8793-3201-8D0A-23EA280EC755
System model name: MacBookPro10,1 (Mac-C3EC7CD22292981F)
System uptime in nanoseconds: 6563306129534
last loaded kext at 7357761562: com.apple.driver.AppleHWSensor 1.9.5d0 (addr 0xffffff7f824ed000, size 28672)
last unloaded kext at 100749901807: com.apple.iokit.IOEthernetAVBController 1.0.1b1 (addr 0xffffff7f818d7000, size 20480)
loaded kexts:
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AGPM 100.12.69
com.apple.driver.ApplePlatformEnabler 2.0.5d3
com.apple.driver.X86PlatformShim 5.0.0d8
com.apple.driver.AppleHDA 2.2.3f13
com.apple.driver.AppleMikeyDriver 2.2.3f13
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AppleIntelHD4000Graphics 7.2.8
com.apple.driver.AppleSMCPDRC 5.0.0d8
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.IOBluetoothSerialManager 4.0.7f2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.GeForce 7.2.8
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.driver.AudioIPCDriver 1.2.3
com.apple.driver.ApplePolicyControl 3.1.32
com.apple.driver.AppleMuxControl 3.1.32
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleIntelFramebufferCapri 7.2.8
com.apple.driver.AppleUSBTCButtons 227.6
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.7f2
com.apple.driver.AppleUSBTCKeyboard 227.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.0.4
com.apple.driver.AirPort.Brcm4331 560.7.21
com.apple.driver.AppleSDXC 1.2.2
com.apple.driver.AppleUSBHub 5.0.8
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleAHCIPort 2.3.0
com.apple.driver.AppleUSBEHCI 5.0.7
com.apple.driver.AppleUSBXHCI 1.0.7
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 1.5
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.5
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 195.0.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1.3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 195.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.2.1
com.apple.driver.DspFuncLib 2.2.3f13
com.apple.iokit.IOSurface 80.0.2
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.iokit.IOAudioFamily 1.8.6fc18
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 2.2.3f13
com.apple.iokit.IOHDAFamily 2.2.3f13
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.1.32
com.apple.driver.X86PlatformPlugin 5.1.1d6
com.apple.driver.AppleSMC 3.1.3d10
com.apple.driver.IOPlatformPluginFamily 5.1.1d6
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.nvidia.nvGK100hal 7.2.8
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.NVDAResman 7.2.8
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleUSBBluetoothHCIController 4.0.7f2
com.apple.iokit.IOBluetoothFamily 4.0.7f2
com.apple.driver.AppleThunderboltDPInAdapter 1.8.4
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.4
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.driver.AppleUSBMultitouch 230.5
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleUSBMergeNub 5.0.7
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IO80211Family 420.3
com.apple.iokit.IONetworkingFamily 2.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOAHCIFamily 2.0.8
com.apple.iokit.IOUSBFamily 5.0.8
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 177.5
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 331.7
com.apple.iokit.IOStorageFamily 1.7.2
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.5
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
Model: MacBookPro10,1, BootROM MBP101.00EE.B00, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.3f32
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.198.19.21)
Bluetooth: Version 4.0.7f2, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM256E, 251 GB
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2512, 0x1d180000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0263, 0x1d182000 / 5
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8286, 0x1d181300 / 8Do you have the very latest version of Google Chrome? There were some problems with it and the rMBP when it first came out...
Clinton -
Problem with Pro*C Precompiler in 10gR2
To test whether my pro*c precompiler was working, I copied a sample program and tried running it through the precompiler. I am running Fedora 6 on Linux X86-64
This was what I got.
proc iname=sample1.pc ltype=long
Pro*C/C++: Release 10.2.0.1.0 - Production on Sat Aug 18 01:53:49 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /u01/app/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg
Syntax error at line 72, column 26, file /usr/include/gconv.h:
Error at line 72, column 26 in file /usr/include/gconv.h
unsigned char **, size_t *, int, int);
.........................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 88, column 7, file /usr/include/gconv.h:
Error at line 88, column 7 in file /usr/include/gconv.h
size_t *);
......1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 97, column 6, file /usr/include/gconv.h:
Error at line 97, column 6 in file /usr/include/gconv.h
size_t *);
.....1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 106, column 3, file /usr/include/gconv.h:
Error at line 106, column 3 in file /usr/include/gconv.h
__gconv_trans_fct __trans_fct;
..1
PCC-S-02201, Encountered the symbol "__gconv_trans_fct" when expecting one of th
e following:
char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
Syntax error at line 0, column 0, file sample1.pc:
Error at line 0, column 0 in file sample1.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:
; : an identifier, end-exec, random_terminal
Error at line 0, column 0 in file sample1.pc
PCC-F-02102, Fatal error while doing C preprocessing
This is what I have in pcsfg.cfg
sys_include=(/build/s630/precomp/public,/usr/include,/opt/gcc33/lib64/gcc-lib/x86_64-suse-linux/3.3/include,/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include,/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/include,/usr/include/linux,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include)
ltype=short
define=__x86_64__
include=(/u01/app/oracle/product/10.2.0/db_1/precomp/public)
include=/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs
I would be very grateful for any help.
ThanksThanks very much for your help. With code=CPP the size_t error disappears. But will that produce Pro C code in C format ?
I ran into another problem.
[oracle@Falcon source]$ proc iname=sample1.pc ltype=long code=CPP
Pro*C/C++: Release 10.2.0.1.0 - Production on Sun Aug 19 08:33:31 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /u01/app/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg
Semantic error at line 19, column 22, file sample1.pc:
EXEC SQL CONNECT :userid;
.....................1
PCC-S-02322, found undefined identifier
Semantic error at line 25, column 23, file sample1.pc:
WHERE deptno = :dept_number;
......................1
PCC-S-02322, found undefined identifier
Semantic error at line 38, column 39, file sample1.pc:
EXEC SQL FETCH emp_cursor INTO :emp_name;
......................................1
PCC-S-02322, found undefined identifier
[oracle@Falcon source]$ vi sample1.pc
Where this is the code.
[oracle@Falcon source]$ cat sample1.pc
#include <stdio.h>
/* declare host variables */
char userid[18] = "PRODUSER/PRODUSER";
char emp_name[10];
int emp_number;
int dept_number;
char temp[32];
void sql_error();
/* include the SQL Communications Area */
#include <sqlca.h>
main()
{ emp_number = 7499;
/* handle errors */
EXEC SQL WHENEVER SQLERROR do sql_error("Oracle error");
/* connect to Oracle */
EXEC SQL CONNECT :userid;
printf("Connected.\n");
/* declare a cursor */
EXEC SQL DECLARE emp_cursor CURSOR FOR
SELECT ename
FROM emp
WHERE deptno = :dept_number;
printf("Department number? ");
gets(temp);
dept_number = atoi(temp);
/* open the cursor and identify the active set */
EXEC SQL OPEN emp_cursor;
printf("Employee Name\n");
printf("-------------\n");
/* fetch and process data in a loop
exit when no more data */
EXEC SQL WHENEVER NOT FOUND DO break;
while (1)
EXEC SQL FETCH emp_cursor INTO :emp_name;
printf("%s\n", emp_name);
EXEC SQL CLOSE emp_cursor;
EXEC SQL COMMIT WORK RELEASE;
exit(0);
void sql_error(msg)
char *msg;
char buf[500];
int buflen, msglen;
EXEC SQL WHENEVER SQLERROR CONTINUE;
EXEC SQL ROLLBACK WORK RELEASE;
buflen = sizeof (buf);
sqlglm(buf, &buflen, &msglen);
printf("%s\n", msg);
printf("%*.s\n", msglen, buf);
exit(1);
Why won't it recognize userid ? And that is a valid login/password. -
Problems with running a scipt in SuSE Linux
Hiya,
Need some help please. I'm writing an application in SuSE linux and I'm having trouble porting it over from my SuSE 9.1 Pro desktop - to my SuSE 9.2 laptop.
I'll try and keep it as brief and simple as possible so here goes;
Firstly, everything works perfectly on my desktop which is running SuSE 9.1 Pro (which the program was written in)
The problem is running the exact same code on my laptop which is running SuSE 9.2 Pro.
The line of code that is causing me the problem is this:
Runtime.getRuntime().exec("bash -c /home/bryan/.annwn/scripts/annwnCommand.gmt");As you can see, all I'm trying to do is run a simple script (that will execute a bunch of commands and create an image.)
Now, this code works perfectly when run on my desktop - but will not run on my laptop.
When I try to run the code with my program on my laptop, nothing happens. However, if I run this on the command line:
bash -c /home/bryan/.annwn/scripts/annwnCommand.gmtThe script is run - It works pefectly. It also works on the command line if I just do:
/home/bryan/.annwn/scripts/annwnCommand.gmtThe only difference in my development environment is SuSE 9.2 over SuSE 9.1 - but I cannot see how this would affect this command not running from within my application.
So, can you see any reason at all why the command would work perfectly on SuSE 9.1 (and through my application), and perfectly on the command line of SuSE 9.2 - but not when run through my application?
I know it's a long shot, and it's a pretty vague problem - but if you can think of anything. I'd be very, very grateful.
Hope this makes sense!
Many thanks!Thanks.
I'm running both applications as the same user. All other aspects of the application and code work perfectly - just running that script using the Runtime method.
Basically, everything is exactly the same between to the two machines - only the difference in OS version.
I'm guessing that it well may be a Linux problem, sorry if this is the wrong forum. I'm just at a complete loss with this! -
Having a problem with Pro Tools and Quiktime may be the cause. Need advice.
I recently installed Pro Tools recording software on my Mac and everytime I try and open the program I get a kernel panic "restart" screen. I have been told that it may have something to with my Quiktime version.
I am running
OSX version 10.4.7
Pro Tools version 7.1
and Quiktime version 7.0.4
Could this be my problem? thanksA fax file is simply a TIFF file. If you converted it to a PDF (you did not give any info on your workflow), then you have a graphic. The conversion to Excel will also be a bunch of graphics I guess. You would need to run OCR first. Even then you may not get the column information and may have to copy column by column using alt key when selecting the text. That allows you go copy a column.
-
Printing Problem with Pro 8 and Reader
I have this problem where when I print to any printer, from Acrobat pro, or reader, any sort of graphics/image in the PDF doesn't come out properly. For example, most of the graphics/image part looks solid black, or blocky. I usually take the same PDF, open it up on another computer, and print it to the same printer i normally print to, and it prints fine. I also can print from any other program other than acrobat/reader just fine.
So far, i have uninstalled Reader, and reinstalled Acrobat, with no result.
Any ideas?Not alot of information to go on but you might check to see if Print Color As Black is checked in the lower left corner of the Print dialog.
Maybe you are looking for
-
Firewire disconnects using motu 828 mkii and Mackie ONYX 1620i. Why?
Having replaced my trusted MOTU 828 mkii as it kept disconnecting itself and needed rebooting including removal and replacement of the firewire lead, I have encounted the very same problem with the Mackie ONYX 1620i. Interestingly it happened recentl
-
Configure ODBC to access a CSV file on Linux for access from BI Server
How to configure an ODBC connection to a CSV file on Linux for access from the BI Server Repository physical layer I am migrating a working windows OBIEE installation to Linux and can not seem to connect to csv files on Linux (from th BI server also
-
INSERT TAKING VERY LONG IN PROC
Hi All, I have a normal insert query that picks up data from one table over a database link and inserts it into a table on another database. We then picked up the query and put it in a stored procedure and the procedure is executed via scheduler so t
-
Airport in conjunction with Linksys
Im using an airport in conjunction with a linksys that is not wireless. The linksys is connected to 3 PC's via Ethernet, and the 4th port on the linksys is plugged into the airport. This produces internet that has no problems with our apple laptop. h
-
Hi I have a requirment to read the context node of type cl_bsp_wd_context_TV. How to read using bol programming? Any solutions. regards John