Apache Compilation Problem: makes pointer from integer without a cast -HELP
Every time I try to compile apache with ssl I get this error message below. I'm pulling my hair out over it! I've installed current versions of gcc, libgcc, glib, make, m4, & flex.. which havent helped. I am running Solaris 9 sparc.
I'm honestly baffled by this error and have found no help on the web. Does anyone know what I need to do in order to fix this? Any specific libraries I need to install etc??
<apache compiles up to this point>
gcc -c -I../../os/unix -I../../include -DSOLARIS2=290 -DMOD_SSL=208116 -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fPIC -DSHARED_MODULE -DSSL_COMPAT -DSSL_ENGINE -I/tmp/web/sweeney/Third_Party/apache/openssl-0.9.7d/include -DMOD_SSL_VERSION=\"2.8.16\" ssl_expr_scan.c && mv ssl_expr_scan.o ssl_expr_scan.lo
lex.ssl_expr_yy.c:1900: parse error before numeric constant
lex.ssl_expr_yy.c: In function `ssl_expr_yy_scan_string':
lex.ssl_expr_yy.c:1901: number of arguments doesn't match prototype
lex.ssl_expr_yy.c:293: prototype declaration
lex.ssl_expr_yy.c:1903: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lex.ssl_expr_yy.c:1903: warning: passing arg 1 of `ssl_expr_yy_scan_bytes' makes pointer from integer without a cast
make[4]: *** [ssl_expr_scan.lo] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/tmp/apache_1.3.29/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp//apache_1.3.29'
make: *** [build] Error 2
they key being, "makes pointer from integer without a cast"
Help me Obi Wan Kenobi, you're my only hope! Thank you much!
I retried, here is the screen output:
util.c: In function `ap_find_token':
util.c:1367: error: `test_char_table' undeclared (first use in this function)
util.c:1367: error: (Each undeclared identifier is reported only once
util.c:1367: error: for each function it appears in.)
util.c:1367: error: `T_HTTP_TOKEN_STOP' undeclared (first use in this function)
util.c: In function `ap_escape_logitem':
util.c:1444: error: `test_char_table' undeclared (first use in this function)
util.c:1444: error: `T_ESCAPE_LOGITEM' undeclared (first use in this function)
util.c: In function `ap_escape_errorlog_item':
util.c:1496: error: `test_char_table' undeclared (first use in this function)
util.c:1496: error: `T_ESCAPE_LOGITEM' undeclared (first use in this function)
util.c: In function `ap_escape_shell_cmd':
util.c:1567: error: `test_char_table' undeclared (first use in this function)
util.c:1567: error: `T_ESCAPE_SHELL_CMD' undeclared (first use in this function)
util.c: In function `ap_escape_path_segment':
util.c:1671: error: `test_char_table' undeclared (first use in this function)
util.c:1671: error: `T_ESCAPE_PATH_SEGMENT' undeclared (first use in this function)
util.c: In function `ap_os_escape_path':
util.c:1700: error: `test_char_table' undeclared (first use in this function)
util.c:1700: error: `T_OS_ESCAPE_PATH' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `util.o'
Current working directory /source/apache_1.3.33/src/main
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /source/apache_1.3.33/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /source/apache_1.3.33/
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /appl/apa_ssl/apache_1.3.33/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /appl/apa_ssl/apache_1.3.33
*** Error code 1
make: Fatal error: Command failed for target `build'
root@host #
the include-line in util.c is:
#include "test_char.h" (vi: line 43)
file exists:
-rw-r--r-- 1 root other 0 Nov 8 16:02 test_char.h
but, as you can see, it is empty
Similar Messages
-
APACHE SSL: Problem in converting from HTTP to HTTPS
Hi,
I have installed apache on my system with openSA flavour with SSL.I need to host my site with https instead of http.While starting apache i get the following error:
[warn] pid file c:/opensa/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
OpenSA/1.0.4 /Apache/1.3.27 (Win32) PHP/4.2.2 mod_gzip/1.3.19.1a DAV/1.0.3 running...
OS is windows vista.
Please revert back for solution to the problem.
Best Regards,
AnjanWhat has this to do with JSP/JSTL?
Apache has it's own website and mailinglist. -
Storing Music on External Drive Access from iTunes without using HD HELP !!
I have a 160 gb external drive that I store all my music on, I have a 30gb HD on my computer, I am trying to update my iPod with the files that are on my External HD and not use up HD space on my computer, I cant get it and keep either using up all the HD space and getting error messages, I hate it right now and I cant even email apple as they just keep sending you round and round, I am about to bucket my iPod unless I get some help, please somone help me !!!!
60gb i{Pod Windows XPHi GL,
Your a Star, it was in General Tab but in the Advanced option, iTunes was set to my previous on my laptop which had the local HD capacity to hold the volume of info, I have now directed iTunes to look at the External drive and the folders with the music and it seems to be fine , I,m so happy as I need my ipod to keep sanity, cheers for your help, dont hesitate if you have any problems to ask!, Regards Kevin
Hi Kevin,
I can empathize with your frstrations. If I
understand your question, you want to be able to play
your music on your pc, but not copy the files to your
local HD? I can only tell you what I did... maybe
there is an easier way, if you can figure it out, I
only hope that youll share it with me when you do.
Here goes:
First, open itunes on your PC, and go to
(edit/preferences)
Click on the (general) tab, and you will see a box
entitled (itunes music folder location)
Click on (change) and select the drive that you want
to have your music read from - NOTE this drive will
have to be connected for you to be able to hear your
music then click ok ONCE
BEFORE CLICKING OK THE SECOND TIME----- DESELECT the
(copy files to itunes music folder when adding to
library)tab
Now you can click ok
NEXT... go to (file/add folder to library)
select the folder you want to add to your PC library
- ideally your library should be empty or it will be
VERY DIFFICULT to determine which songs are on which
drive if you are using multiple drives for storage -
and click ok
what happens next is that itunes will scan the folder
and add all the titles to your library without adding
them to your HD.
I hope this helps.
GL -
Problem running Itunes from external hard drive- Please Help!
So, last night I transferred my entire music folder over to an external hard drive. It copied all the files and I then proceeded to tell itunes where my new music folder was located. The problem I ran into was when I actually deleted the music files from my internal hard drive my library won't automatically find the files. When I click on a song it comes up with an error message saying, "original file cannot be found, would you like to locate file?". If I tell it yes, I can then manually tell it where the file is, and it will play. I'm really hoping there is an easier way around this issue because going in and doing this for every song in my library would take years. Should I clear out the library and then drag it from the external hard drive? Any help would be greatly appreciated. Thanks a lot.
SeanI am experiencing a similar problem. I already had all my files on an external drive, where I had transfered them a few months back, and everything was working fine. I have now moved them, again, to a larger external drive, did everything the same, but now receive the message "original file cannot be found, would you like to locate file?" I was advised to use the "add to library" button under "FILE" in the menu bar and all the music was finally imported into iTunes, but the problem now is that the new data on the music files is missing all the metadata, and I am still stuck with all the original files with the "!" in front of each file that is going to have to be manually deleted one file at a time, all 30,000 of them. I would like a way to start over and get it right the first time. Anyone have any solutions? I have found a program, "Super Remove Dead Tracks" which should solve the problem of eliminating the "!" tracks, but so too all the metadata. Ideally I'd like to be able to locate the original files with all the attached metadata and get back to where I was 24 hours ago.
-
Recover from hotbackup without archivelog-for help
Because user error, three tables are deleted on may 1,2007. so, I restore db datafiles from tape, which is hot backup on apri 21,2007.
Copy the datafiles to other os,and recover.
But, the archivelog required is lost.as follows:
$ sqlplus "/ as sysdba"
SQL*Plus: Release 8.1.7.0.0 - Production on Fri Jun 15 09:54:50 2007
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 79408828 bytes
Fixed Size 102076 bytes
Variable Size 22364160 bytes
Database Buffers 56762368 bytes
Redo Buffers 180224 bytes
Database mounted.
SQL> select to_char(checkpoint_change#) from v$database;
TO_CHAR(CHECKPOINT_CHANGE#)
9216842117529
SQL> select file#,to_char(checkpoint_change#) from v$datafile_header;
FILE# TO_CHAR(CHECKPOINT_CHANGE#)
1 9216842117530
2 9216842117572
3 9216843490042
4 9216843490496
5 9216843490502
6 9216843490513
7 9216843490525
8 9216842117536
9 9216842117548
10 9216843490536
10 rows selected.
SQL> show parameter _all
NAME TYPE VALUE
allowresetlogs_corruption boolean TRUE
fast_start_parallel_rollback string LOW
optimizer_percent_parallel integer 0
parallel_adaptive_multi_user boolean FALSE
parallel_automatic_tuning boolean FALSE
parallel_broadcast_enabled boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_max_servers integer 5
parallel_min_percent integer 0
parallel_min_servers integer 0
NAME TYPE VALUE
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
recovery_parallelism integer 0
SQL> alter session set events '10015 trace name adjust_scn level 10';
Session altered.
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 9216842117530 generated at 04/21/2007 05:42:05 needed for
thread 1
ORA-00289: suggestion : /home/newdb/newdb_arch/arch_1_12320.arc
ORA-00280: change 9216842117530 for thread 1 is in sequence #12320
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/disk1/oradata/orcl/system01.dbf'
ORA-01112: media recovery not started
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
Alert_orcl.log as follows:
SMON: enabling cache recovery
Fri Jun 15 11:10:23 2007
Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
Fri Jun 15 11:10:23 2007
ARC0: Completed archiving log# 1 seq# 2
Fri Jun 15 11:10:24 2007
Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
Fri Jun 15 11:10:24 2007
Error 600 happened during db open, shutting down database
USER: terminating instance due to error 600
Instance terminated by USER, pid = 20312
ORA-1092 signalled during: alter database open.
Can you give some suggestion?I have used hidden parameter:_allow_resetlogs_corruption.but,it is not usefull.
the datafiles have been consistent.
i have used command as follows:
alter session set events '10015 trace name adjust_scn level 10';
why not can open the db?
Message was edited by:
[email protected] -
Having problems syncing iTunes from mac to iPhone. Help?
Trying to a sync an itunes genius playlist from mac to iphone. Message appears on iphone that says"88 items could not be synced. See iTunes for more info." Any advice?
There were 95 songs in playlist, some did transfer while others didn't. Not sure where to look at "itunes for more info".Are you syncing contacts direct with the Address Book on your Mac via the iTunes sync process, or over the air with MM on your iPhone?
If you are doing the former, this has nothing to do with a problem with your MM online address book.
If you are doing the former, try resetting the sync history on your Mac, which is done via iSync preferences with the iSync application located in your Applications folder.
Quit iTunes and launch iSync.
At iSync preferences, select reset sync history.
Restart your Mac and try syncing with iTunes again. -
Problem copying centents from bold to curve please help
Hi, hope you can help me. I am trying to transfer all my info from my old blackberry to my new one. The old phone was broken so the shop has taken it, but I was able to do a backup before. The BB desktop is saying that I have to connect my old device, which I don't have anymore and copy the info over. Is there anyway I can do this not have my old phone.
Two posts on the same subject? Not necessary.
Have a look at my response in your other thread:
http://supportforums.blackberry.com/t5/BlackBerry-Bold/Copy-contents-from-bold-to-curve/td-p/1680313
I hope that helps you.
- If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated. -
Compilation problem on solaris9 x86
I am working on JAVA/J2EE . Am new to solaris9 . My requirement is to compile a source distribution of MOD-JK 1.2.21 (apache 2.0 server connector)and to produce binary distribution (*.so file) in solaris9 X86 box. But i got only source distribution of solaris10 X86 platform . Even with this source i tried to compile in solaris9 box its giving some error message and i can't able to make a executable file. Below i pasted the error message .
# ./configure -with-apxs=/usr/apache2/bin/apxs
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install... scripts/build/unix/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Can any body help me in this regards. Even i don't know, am proceeding in right direction to compile this file. If any body having the binary distribution for the same MOD-JK1.2.21 on solaris9 or solaris10 X86 platform for apache2.0 . please help me to compile this file .I given below the config.log file entries also.
Thanks in advance..........
karthikeyan.u
[email protected]
AIM or AOL :: karthikeyanu
CONFIG.log entries......
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure -with-apxs=/usr/apache2/bin/apxs
## Platform. ##
hostname = Solaris
uname -m = i86pc
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_118844-26
/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = Solaris
Release = 5.10
KernelID = Generic_118844-26
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
/bin/arch = i86pc
/usr/bin/arch -k = i86pc
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/openwin/bin
PATH: /usr/ucb
## Core tests. ##
configure:1546: checking build system type
configure:1564: result: i386-pc-solaris2.10
configure:1572: checking host system type
configure:1586: result: i386-pc-solaris2.10
configure:1594: checking target system type
configure:1608: result: i386-pc-solaris2.10
configure:1640: checking for a BSD-compatible install
configure:1695: result: scripts/build/unix/install-sh -c
configure:1706: checking whether build environment is sane
configure:1749: result: yes
configure:1814: checking for gawk
configure:1843: result: no
configure:1814: checking for mawk
configure:1843: result: no
configure:1814: checking for nawk
configure:1830: found /usr/bin/nawk
configure:1840: result: nawk
configure:1850: checking whether make sets $(MAKE)
configure:1874: result: no
configure:2085: checking for gcc
configure:2114: result: no
configure:2165: checking for cc
configure:2181: found /usr/ucb/cc
configure:2191: result: cc
configure:2355: checking for C compiler version
configure:2358: cc --version </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2361: $? = 1
configure:2363: cc -v </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2366: $? = 1
configure:2368: cc -V </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2371: $? = 1
configure:2394: checking for C compiler default output file name
configure:2397: cc conftest.c >&5
/usr/ucb/cc: language optional software package not installed
configure:2400: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mod_jk"
| #define VERSION "1.2.21"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2439: error: C compiler cannot create executables
See `config.log' for more details.
## Cache variables. ##
ac_cv_build=i386-pc-solaris2.10
ac_cv_build_alias=i386-pc-solaris2.10
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-pc-solaris2.10
ac_cv_host_alias=i386-pc-solaris2.10
ac_cv_prog_AWK=nawk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_make_make_set=no
ac_cv_target=i386-pc-solaris2.10
ac_cv_target_alias=i386-pc-solaris2.10
## Output variables. ##
ACLOCAL='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run tar'
APACHE20_OEXT=''
APACHE_CONFIG_VARS=''
APACHE_DIR=''
APXS=''
APXSCFLAGS=''
APXSCPPFLAGS=''
APXSLDFLAGS=''
AR=''
AUTOCONF='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoconf'
AUTOHEADER='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoheader'
AUTOMAKE='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run automake-1.9'
AWK='nawk'
CC='cc'
CCDEPMODE=''
CFLAGS=''
CP=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTALL_TYPE=''
JAVA_HOME=''
JK_JNI_WORKER=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_JK_TYPE=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run makeinfo'
MAKE_DYNAMIC_APACHE_FALSE=''
MAKE_DYNAMIC_APACHE_TRUE=''
MKDIR=''
OBJEXT=''
OS=''
PACKAGE='mod_jk'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
RANLIB=''
RM=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/bash'
STRIP=''
TEST=''
VERSION='1.2.21'
WEBSERVER=''
ac_ct_AR=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
apache_include=''
bindir='${exec_prefix}/bin'
build='i386-pc-solaris2.10'
build_alias=''
build_cpu='i386'
build_os='solaris2.10'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-pc-solaris2.10'
host_alias=''
host_cpu='i386'
host_os='solaris2.10'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/install-sh'
int32_t_fmt=''
int32_value=''
int64_t_fmt=''
int64_value=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(install_sh) -d'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-pc-solaris2.10'
target_alias=''
target_cpu='i386'
target_os='solaris2.10'
target_vendor='pc'
uint32_t_fmt=''
uint32_t_hex_fmt=''
uint64_t_fmt=''
uint64_t_hex_fmt=''
## confdefs.h. ##
#define PACKAGE "mod_jk"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.2.21"
configure: exit 77You need to make sure the source is for the same version i.e. if you run apache 2.0.52 you need the source of 2.0.52. I successfully ran mixed installs, but I would not recommend it. You can download the required source from Apache.
As for your compiler problem, make sure you have �/usr/ccs/bin/� in the your path, if you do not have it installed you will have to add the pkg �SUNWsprot�. You do not have 'make' in yout path.
Make sure you have the following packages installed:
SUNWbtool, SUNWsprot, SUNWtoo
SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
SUNWxglh,SUNWarcx, SUNWbtoox, SUNWdplx,
SUNWscpux, SUNWsprox, SUNWlmsx, SUNWlmx
SUNWlibCx, SUNWtoox, SUNWsra, SUNWsrh -
Run a LabVIEW VI from VB without compiling
I've got a couple of LabVIEW VI's that I want to run from VB without having to compile them. I can run them fine on the development machine using:
CreateObject("LabVIEW.Application")
When I try this command on another machine that has the LV Runtime Engine installed it returns a run-time error "429: ActiveX component can't create component"
I've read a few posts with similar problems however they don't seem to provide any real solutions.
All tips/help are greatly welcome.
WoodyHey Woody,
this is an extract from a example of a VB app using LV VIs.
'Create a reference to LabVIEW
Set lvApp = CreateObject("ETLKWP.Application")
'Assign an object reference to VI
Set VI_open = lvApp.GetVIReference("ETLKWPOpenCommunication.vi")
Set VI_close = lvApp.GetVIReference("ETLKWPCloseCommunication.vi")
Set VI_DeviceType = lvApp.GetVIReference("ETLKWPDeviceType.vi")
This code will load the application, here ETLKWP, and three VIs. These VIs will be found by the app on the VI search path. Since one part of the search path is "all subfolders" you can place them in any subfolder of the folder where your app is.
Private Sub DeviceType_Click()
Dim ParamNames(0 To 8) As String
Dim ParamVals(0 To 8) As Variant
ParamNames(0) = "PrimTarget"
ParamNames(1) = "PrimIndex"
ParamNames(2) = "Source"
ParamNames(3) = "DeviceType"
ParamNames(4) = "DeviceIndex"
ParamNames(5) = "Syyy"
ParamNames(6) = "Hyyy"
ParamNames(7) = "SerialID"
ParamNames(8) = "ErrorNumber"
ParamVals(0) = PrimTarget
ParamVals(1) = PrimIndex
ParamVals(2) = 0
ParamVals(3) = 81
ParamVals(4) = 1
Call VI_DeviceType.Call(ParamNames, ParamVals)
SW_Stand = ParamVals(5)
HW_Stand = ParamVals(6)
Serienid = ParamVals(7)
End Sub
This part of code will call the VI DeviceType.vi. The parameters 0 - 4 are controls and 5 - 8 are indicators which are connected with the connector pane. This VI will send a message over a serial connection to an external device and the device will answer with its firmware, hardware and serial information. This information is now available in the VB program.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
Please help!
It would be tremendously helpful to be able to access, set restrictions, and make changes from the parents device, to all devices under the same iTunes account, so that I could make changes to my kids devices without physical access.
I understand that I can set up a different Apple ID for the kids devices, or take physical control of the device and make the changes myself. However, my teenage son is technically savvy enough to have a job in Silicon Valley, as are most young people these days. However, in order to access his devices the current way, I first have to bypass the four digit pass code. This starts a fight of why I need in the device and continues to escalate. The argument that I am the parent will gain access but the fight is simply exhausting, and quite frankly shouldn't have to happen at all. He is not yet an adult, he did not pay for his iPad or iPhone and I, as a parent, should have not only have the right to change options at will, and from anywhere, but look at history or current activity when I feel like it.
I currently have the settings where app and in-app purchases require my password to be put in, and he must come to me to type it in, but I need more control and would like, and should be able to access any of our six devices and make individual changes simply by logging in to my account, with my password.
If I can see all my devices on the "Lost My iPhone" app, this technology should be easy to make happen.
C'mon parents! I have a pretty good kid, given all things that they can get into, but I am not stupid. For everything I see has been done, there is much more I haven't seen. I want my children to be kept safe and be able to know what they are looking at or listening to. We parents are the only ones who know our beliefs and what our kids can handle and when.
Thanks for any support or information that I may be missing in order to fulfill my request.There are mobile device management solutions that can do this, including in Apple's OS X Server system, but most parents generally find that setting this up is more work than it's worth. If you're interested, though, there are a couple that at least purport to be free (I don't know if there are any hidden "gotchas"):
http://www.unwireddevicelink.com/features/
https://meraki.cisco.com/products/systems-manager
and Apple's system:
http://www.apple.com/osx/server/features/#profile-manager
I don't think any, however, allow you to see current activity or browser history. iOS doesn't expose those to access from MDM solutions, to the best of my knowledge.
Regards. -
Problem connecting wirelessly from iMac to NETGEAR router, get invalid password message with WPA and WPA-2 encryption in place but if I remove them, so no security, can connect without a problem. Help!!
Thank you for your suggestion but I have already had a couple of phone sessions with NETGEAR support and they don't see any problems with the router settings etc. They referred me to Apple support, who helped me discover that it is possible to communicate with the router but only if I turn off the encryption/security software, which I don't want to do. The frustrating thing is that I can connect wirelessly from a laptop running Windows 7 and two Anroid smart phones, with WPA-2 in place, without a problem. Do you have any other ideas?
-
How can I make albums from events then delete events without deleting the album?
Hey, just need a little help!
How can I make albums from events then delete events without deleting the album?
Many thanksYou'll be more likely to get help with this if you ask in the iPhoto forum:
https://discussions.apple.com/community/ilife/iphoto
You'll need to tell people what version of iPhoto you have so they can give you correct advice.
Regards. -
How can i make still from 16:9 film tot bitmap without distortion?
how can I make stills from my 16:9 movie to bitmap without having distortion?
! work with Adobe Premiere Elements 10Bernard Bussemaker
If you really have a 720 x 576 Standard Widescreen Video 16:9 (PAR = 1.4587) and you want a jpg still capture from it using Premiere Elements 10, then I suggest the following:
Premiere Elements 10
Project Preset = PAL DV Widescreen
Place the Timeline Indicator to the frame that you want as a jpg image.
Go to
Share
Computer
Image
and there set Presets = DV PAL SD (it is long story, but you do not have much choice at that level), so
you could experiment with JPEG - HD 1920 x 1080 but no sure how that is going to look going from 720 x 576 to 1920 x 1080, so
Under the Advanced Button/Video Tab of that preset, set
Frame Width 1024 or 1050 pixels
Frame Width 576 pixels
Aspect = Square (1.0)
("or" relates to....if you just want a 16:9 jpg still, then 1024 will do fine. If you want a 16:9 jpg still that will present in a Premiere Elements project to fill the Edit Mode monitor, then 1050.
1024 x 576 is the square pixel version of the non square pixel version 720 x 576 widescreen which is stretched for display after encoding.
Image can resize downward if necessary. More details on that later.)
If the details of what I have suggested are too much, then just try the suggestion step by step and then let us know if it works for you. If any questions or you need clarification on anything written, please do not hesitate to ask.
If you are really dealing with a 720 x 576 4:3 standard video, we can go through that next.
But the answers are in the details.
Thanks.
ATR -
Problems and Workarounds from Sun Workshop[tm] 6 update 2 C++ Compiler Read
Hello out here,
the Sun Workshop[tm] 6 update 2 C++ Compiler Readme says
in Chapter E. Problems and Workarounds
and
Topic 4. Reference From Template to Non-Global File-Scope object is Not Supported:
A program using templates and static objects causes link-time errors of undefined
symbols. The compiler currently does not support reference to non-global file-scope
objects from templates.
So my problem is:
I have static tyname objects in Templates and get that link-time errors of undefined
symbols.
And I do not know how to get rid of that static typename objects.
Is there a Workaround?
Which?
P l e a s e h e l p.
If you need further information, please let me know.
Any help is appreciated.
Thanks in advance.
Yours truly
Karsten J. MartinHello,
Thank you for your detailed answer!
Unfortunately there has arosen another problem while
migrating from 4.2 to SunWorkshop[tm] 6 update 2 C++ Compiler.
Here comes the original(4.2) code:
template <class PersistObject>
class DIDDatabaseInterface : public DIDPersistenceInterface<PersistObject>
private:
DIDTableObject<PersistObject> m_tableObject;
public:
It does not compile under Version 6.
Now the new version:
template <class PersistObject>
class DIDDatabaseInterface : public DIDPersistenceInterface<PersistObject>
private:
typedef DIDTableObject<PersistObject> PersistTable;
static typename DIDDatabaseInterface::PersistTable m_tableObject;
public:
That compiles until...
"did_factory.cc", line 73: Information: Instantiating DIDDatabaseInterface<Devx003>::DIDDatabaseInterface(const RWDBConnection&)
"did_persist.cc", line 81: DIDDatabaseInterface<Devx003>::m_tableObject cannot be initialized in a constructor.
Here comes line 81 and surroundings(compiles under 4.2):
template <class PersistObject>
DIDDatabaseInterface<PersistObject>::DIDDatabaseInterface(const RWDBConnection &c)
: DIDPersistenceInterface<PersistObject>(),
m_tableObject(c)
Any idea?
I would be grateful if you could help.
Thank you so much.
Sincerely yours
Karsten J. Martin -
Why cant I receive email coming from Australia when there are no problems with email from Singapore. E-mail sent by myself to Australia arrive without
problem. I just dont seem able to recieve answers?Hi BobTheFisherman
Thanks for responding to my query. I.ve already done as you suggested. The thing is in a test, which included the same email to my daughter ,where we asked the Australian recipient to type the return address - My daughter received the answer - but I did not. I'm thinking is there something I need to untick on my Mac? At first I thought it was because the computer in Australia wasn't a Mac - but as I say my daughter has the same model as me and she is receiving the reply's Any more thoughts?
Maybe you are looking for
-
This happened when I was using OS X 10.7.4. All of a sudden my internet slowed down. Initially I though it was my modem. But when I used my iPod touch and the PC, internet worked fine. Fast as usual. So I though it might be a bug or something with 10
-
IE8 crashes printing to Acrobat 9 from Yahoo message
Anyone who belongs to a Yahoo list area is probably familiar with the print command to print a message either to a printer or to Acrobat (this is not the print command at the top of IE to print the whole page). With IE7, I had no problems printing to
-
Forms compatibility between Acrobat Pro 8 and Reader 9
Hi everyone. I have a problem to resolve as quick as I can. I haven't find any answers yet, maybe someone will know what's going on with my forms. I'm working on a document made by another graphic designer, I can't reach this person. When I use his f
-
Using Acrobat artwork in an InDesign file
Hi, Hope you're doing well. I was sent a final logo as a PDF to use on a poster I have created in InDesign. The way I chose to bring it into InDesign was to take a screen shot of in in Adobe Acrobat, save it as a tiff and place it in the InDesign fil
-
Lion thinks I have two monitors connected
I have a MacPro 2008 with the ATI Radeon HD 2600 XT. I have two monitors, a Phillips 27" and a Samsung 19" I set up the system with the two monitors connected to the graphics card and everything was fine. I have since disconnected the Samsung monitor