Forms 10g compile : syntax error near unexpected token `in
Hi,
I am writing a code to compile FORMS 10g(10.1.2.0.2) in HP_UX one by one.
this is the code---frm10g.sh
*#!/bin/ksh*
*# . ~oracle/forms/server/default.env*
*# . sid icache*
TERM=vt220
*if [ $# != 2 ]*
then
echo Usage : $0 module_name module_type
exit 1
fi
case $2 in
FORM|form|F|f) ext1='fmb' ;ext='fmx' ; modtyp='FORM' ;;
PLL|pll|p|lib|LIB) ext1='pll' ;ext='plx' ; modtyp='LIBRARY' ;;
MENU|menu|M|m) ext1='mmb' ;ext='mmx' ; modtyp='MENU' ;;
**) echo invalid parameter ; exit 1 ;*
esac
echo Generating $1.$ext
frmcmp module=$1.$ext1 userid=abc/abc@abc output_file=../$1.$ext module_type=$modtyp batch=NO compile_all=special > ./log/$1.log
when I try to excute above file frm10g.sh in command line i get following error. Please let me know how to fix it.
[abc]u01/app/oracle/product/10.1.2/forms/forms/Forms10g:. frm10g.sh INV FORM
: command not found
: command not found
'bash: ./frm10g.sh: line 13: syntax error near unexpected token `in
'bash: ./frm10g.sh: line 13: `case $2 in
I really aapreciate your help.
Thanks
Sandy
Sandy,
I must apologize. The Compile.sh does not come with the Oracle Dev Suite installation. However, the following is the contents of the compile.sh script we use. This script compiles a single form.
#!/usr/bin/ksh
ORACLE_HOME=/d01/oracle/ias1012;export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/ctx/lib:/usr/java1.2/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc:/usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ucblib:usr/ccs/lib; export LD_LIBRARY_PATH
MODULE_NAME=`echo $1|cut -d. -f1`
MODULE_SUFFIX=`echo $1|cut -d. -f2`
MODULE_MESG=${2:-"Compiling $1"}
OK_MESG=${3:-" Compiled sucessfully"}
. .setpass_cir
APP_PW='cir/'`eimauth -g cir`'@database'
echo "************************************************************************* "
echo ${MODULE_MESG}
frmcmp.sh module=/d01/oracle/forms/${MODULE_NAME}.fmb userid=${APP_PW} compile_all=yes batch=yes
RC=$?
case "$RC" in
0)
echo ${OK_MESG}
echo "Compile errors, return code: $RC "
cat ${MODULE_NAME}.err
echo "Compile errors in $1, press [enter] to continue.\c"
read x
esac
eval exit $RCYou should be able to modify this to suit your needs.
Craig...
Similar Messages
-
Syntax error near unexpected token `)'
I get that error sometimes when i try to complile. I was trying to use my Banshee1.5.1 PKGBUILD on my desktop (it works on my laptop) and i got that error again. But i don't think it's banshee cause i remember getting that same error when i wanted to complile Gnote.
Banshee
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
./configure: eval: line 2650: unexpected EOF while looking for matching `''
./configure: eval: line 2651: syntax error: unexpected end of file
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
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 intltool >= 0.35.0... 0.41.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /bin/install -c
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0... yes (version 2.22.2)
checking for GDK_X11... yes
checking for CLUTTER... yes
checking for GST... yes
checking for GST_PBUTILS... yes
checking for BNPX_GTK... yes
checking for X... libraries , headers
checking for XVIDMODE... yes
checking for MONO_MODULE... yes
checking for gmcs... /usr/bin/gmcs
checking for mono... /usr/bin/mono
checking for Mono 2.0 GAC for System.Data.dll... found
checking for Mono 2.0 GAC for System.Web.dll... found
checking for Mono 2.0 GAC for System.Web.Services.dll... found
checking for Mono 2.0 GAC for Mono.Cairo.dll... found
checking for Mono 2.0 GAC for Mono.Posix.dll... found
checking for Mono 2.0 GAC for ICSharpCode.SharpZipLib.dll... found
checking for NDESK_DBUS_GLIB... yes
checking for NDESK_DBUS... yes
checking for MONO_ADDINS... yes
checking for MONO_ADDINS_SETUP... yes
checking for MONO_ADDINS_GUI... yes
checking for NOTIFY_SHARP... yes
checking for BOO... yes
checking for monodocer... /usr/bin/monodocer
checking for mdassembler... /usr/bin/mdassembler
checking for NUNIT... no
checking for NUNIT... yes
checking for TAGLIB_SHARP... yes
checking for GTKSHARP... yes
checking for GLIBSHARP... yes
checking for SQLITE... yes
checking for GCONFSHARP... yes
checking for GNOMESHARP... yes
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for LIBMTP... yes
checking for struct LIBMTP_track_struct.modificationdate... no
checking for IPODSHARP... yes
checking for KARMASHARP... no
checking for MONO_ZEROCONF... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ar be@latin bg br ca cs da de dz en_CA en_GB es eu fi fr gl gu he hu it ja ko ky lt lv mk nb nl oc pa pl pt pt_BR ru sl sr sr@latin sv th uk vi zh_CN zh_HK zh_TW
checking for sed... /bin/sed
configure: creating ./config.status
./config.status: line 400: syntax error near unexpected token `)'
./config.status: line 400: ` *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;'
Gnote
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
./configure: eval: line 2411: unexpected EOF while looking for matching `''
./configure: eval: line 2412: syntax error: unexpected end of file
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for LIBGLIBMM... yes
checking for GTK... yes
checking for LIBGTKMM... yes
checking for LIBXML... yes
checking for LIBXSLT... yes
checking for GCONF... yes
checking for PCRE... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_unparse_lower in -luuid... yes
checking for LIBPANELAPPLETMM... yes
checking for GTKSPELL... yes
checking for Boost headers version >= 103400... yes
checking for Boost's header version... 1_39
checking boost/bind.hpp usability... yes
checking boost/bind.hpp presence... yes
checking for boost/bind.hpp... yes
checking boost/cast.hpp usability... yes
checking boost/cast.hpp presence... yes
checking for boost/cast.hpp... yes
checking boost/lexical_cast.hpp usability... yes
checking boost/lexical_cast.hpp presence... yes
checking for boost/lexical_cast.hpp... yes
checking for the toolset name used by Boost for g++... gcc44 -gcc
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... yes
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking for the Boost filesystem library... yes
checking boost/format.hpp usability... yes
checking boost/format.hpp presence... yes
checking for boost/format.hpp... yes
checking boost/test/unit_test.hpp usability... yes
checking boost/test/unit_test.hpp presence... yes
checking for boost/test/unit_test.hpp... yes
checking for the Boost unit_test_framework library... yes
checking tr1/memory usability... yes
checking tr1/memory presence... yes
checking for tr1/memory... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wextra... yes
checking whether gcc understands -Wsign-compare... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wchar-subscripts... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -Wunused... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wshadow... yes
checking whether gcc understands -fshow-column... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for sed... /bin/sed
configure: creating ./config.status
./config.status: line 400: syntax error near unexpected token `)'
./config.status: line 400: ` *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;'
Both get exactly the same error.I have tried downgrading bash and gcc, but no luck. I have also looked into some config files and stuff but i can't find anything. Maybe it's time for a reinstall.
-
I am trying to modify the unix script to auto start nodemanager on Oracle Linux server,however i am getting below error when ever i tried to start service nodemgr restart
here is script:
============
#!/bin/sh
# nodemgr Oracle Weblogic NodeManager service
# chkconfig: 345 85 15
# description: Oracle Weblogic NodeManager service
# The script needs to be saved as /etc/init.d/nodemgr and then issue chkconfig .add nodemgr as root
### BEGIN INIT INFO
# Provides: nodemgr
# Required-Start: $network $local_fs
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Short-Description: Oracle Weblogic NodeManager service.
# Description: Starts and stops Oracle Weblogic NodeManager.
### END INIT INFO
. /etc/rc.d/init.d/functions
export WLS_HOME=/u01/Oracle/Middleware/wlserver_10.3
export MW_HOME=/u01/Oracle/Middleware
export JAVA_HOME=/u01/Oracle/Middleware/jdk160_24
export IDM_HOME=/u01/Oracle/Middleware/Oracle_IDM1
export OAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
export ORACLE_INSTANCE=/u01/Oracle/Middleware/Oracle_IDM1
export IAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
export DOMAIN_HOME=/u01/Oracle/Middleware/user_projects/domains
DAEMON_USER="oracle"
PROCESS_STRING="^.*/u01/Oracle/Middleware/.*weblogic.NodeManager.*"
source $MW_HOME/wlserver_10.3/server/bin/setWLSEnv.sh > /dev/null
export NodeManagerHome="$WLS_HOME/common/nodemanager"
NodeManagerLockFile="$NodeManagerHome/nodemanager.log.lck"
PROGRAM="$MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh"
SERVICE_NAME=`/bin/basename $0`
LOCKFILE="/var/lock/subsys/$SERVICE_NAME"
RETVAL=0
start() {
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ ! -z "$OLDPID" ]; then
echo "$SERVICE_NAME is already running (pid $OLDPID) !"
exit
fi
echo -n $"Starting $SERVICE_NAME: "
/bin/su $DAEMON_USER -c "$PROGRAM &"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $LOCKFILE
stop() {
echo -n $"Stopping $SERVICE_NAME: "
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ "$OLDPID" != "" ]; then
/bin/kill -TERM $OLDPID
else
/bin/echo "$SERVICE_NAME is stopped"
fi
echo
/bin/rm -f $NodeManagerLockFile
[ $RETVAL -eq 0 ] && rm -f $LOCKFILE
restart() {
stop
sleep 10
start
case "$1. in
start)
start
stop)
stop
restart|force-reload|reload)
restart
condrestart|try-restart)
[ -f $LOCKFILE ] && restart
status)
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ "$OLDPID" != "" ]; then
/bin/echo "$SERVICE_NAME is running (pid: $OLDPID)!"
else
/bin/echo "$SERVICE_NAME is stopped"
fi
RETVAL=$?
echo $"Usage: $0 start"
exit 1
esac
exit $RETVAL
=================
here is error message
[root@oam init.d]# service nodemgr restart
/etc/init.d/nodemgr: line 96: syntax error near unexpected token `is'
/etc/init.d/nodemgr: line 96: `/bin/echo "$SERVICE_NAME is running ("pid: $OLDPID")"'It is necessary to post code between code tags, otherwise it screws up. See the FAQ.
What sticks out right away is your wrong case statement case *"$1.* which should read *case "$1"*. You are also missing ;; to terminate your default case statement. You should also put $RETVAL between quotes and remove the /bin paths. -
Syntax Error near Database name
Hi,
When i tried to take export from automated process (Not Manually) from a application its giving error like :
ERROR - 1242021 - (1) Syntax error near ['Currency'].
The type of database is Currency.
But if i take the export Manually form Essbase application Manager, i can sucessfully perform the activity.
Now ......
1.Type of database and Name (Currency) Can be Equal ??????
2.The Automated Process can't be wrong because export of different DB is sucessful with this Automated Process.
Please suggest.
Thanks,
KaashHi Kaash
I had a similar issue in when I used a db name of 'Volume', I also wonder whether there are certain restricted words that you shouldn't use due to conflicts with MaxL / Esscmd?
I overcame it by re-naming to 'Volumes'.
Hope this helps, or at least reassures you that you're not going mad!
Stuart -
ERROR - 1242021 - (1) Syntax error near ['security_file']
When invoking the command "export security_file to data_file essbase_security_file.txt;" I get the error message "ERROR - 1242021 - (1) Syntax error near \['security_file'\]". I get the same message from EAS when right clicking and exporting from the console. The end game here is that I want to dump the Essbase.sec file into a readable format.
Any help appreciated.
Thanks
-Kevin
Edited by: user5439694 on Dec 31, 2009 11:58 AM
Edited by: user5439694 on Dec 31, 2009 11:59 AMIT is easier to just go into EAS and select the Essbase server, then right click on Security and select export security file. Enter the file name you want it to go to. In Version 11 it puts the file in Arborpath\Products\Essbase\EssbaseServer\Bin
I also ran the following MaxL export security_file to data_file 'e:\datafiles\security_test.txt';
and it ran fine (It put the file onto the Essbase server in the specified directory) -
Syntax error near the ['on']
Can anyone please advise on how to resolve this issue, I created Dim load file but whenever I try loading the Dim it returns - syntax error near the ['on']
thanksI don't see the issue
Delimiter was set as comma, first line was ignored and it all loaded fine.
Cheers
John -
AIX C-Compiler Syntax Error osmm.h
Hello Forte-Users,
i have a problem on AIX 4.2 using the C/C++ Compiler.
I got the error:
"/forte/install/inc/cmn/osmm.h", line 4.1: 1506-166 (S) Definition of
function c
lass requires parentheses.
"/forte/install/inc/cmn/osmm.h", line 4.25: 1506-276 (S) Syntax error:
possible
missing '{'?
"/forte/install/inc/cmn/osmm.h", line 9.27: 1506-045 (S) Undeclared
identifier U
pdateFunction.
In this line is following:
class qqOS_HUGE qqsh_Task;
Does anyone knows wether some opten (qoption) is to set in /etc/xlC.cfg or
other solutions to fix this problem. I have already contacted Forte-Support
and they have no problem to compile my ~.pgf File on an RS6000.
I also try to use the same xlC.cfg as used from Forte-Support. I deinstall
and install the C-Compiler. Nothing helps.
Does anyone knows what may be wrong with my configuration?
Joseph Mirwald
Bachmeier & Sporrer
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hello Forte-Users,
i got only one reply on my problem, so i will explain the problem more
clearly.
in the include File: FORTE_ROOT/install/os/os.h
is a definition: '#define qqOS_HUGE'
The compiler fails in File: FORTE_ROOT/install/cmn/osmm.h line 4
in the Class Definition: 'class qqOS_HUGE qqsh_Task;'
with the following error:
FORTE_ROOT/install/inc/cmn/osmm.h", line 4.1: 1506-166 (S) Definition of
function class requires parentheses.
Does anyone know which option or failure in the environment of the
C-Compiler occures this error?
Works someone on a RS6000 with an AIX C-Compiler on AIX 4.2?
So please look at your configuration settings and help me.
I know that a function needs parentheses, but this code (everybody have the
same Header-Files on his/her machine) wants to define a class and no
parentheses are needed for class definition.
Joseph Mirwald
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
MySQl syntax error near " at line 1 and Unknown column. Please help
Hello again,
I have another question. Just to refresh I am using DWCS3 with MAMP on my MBP Leopard 10.5.6.
I have created a form with the form wizard and a Transitional <!DOCTYPE>
I have added the php validation code pages 481 to 485 The Essential Guide to Dreamweaver.
I saved it and uploaded it to the testing server clicked the "insert form" button,and I got;
You have an error in your SQL syntax; Check the manual that corresponds to your MySQL server version for the right syntax to use near " at line 1
The MySQL version I am using is 5.0.37. I have gone over and over the code and I can't find what is wrong with it.
Also for the username column, I am now getting a message;
'Unknown column' 'ella1' in 'where clause'
I have researched it on the web and possible answers are that my columns are misspelled, the column doesn't exist or username is not in the query.
I have checked all of these and I really can't see the problem, but there obviously is one.
Please can someone help.
Thanks again.
P.S. I have attached the page in a .zip file if anyone wouldn't mind having a look.No, I'm talking about the dot before.
Change this
.$row_detailsRS[$details_prodID] . "";
to this
. $row_detailsRS[$details_prodID] . "";
in both places. -
Re: Second Try: AIX C-Compiler Syntax Error osmm.h
Hello all,
thank you all for your reply. I will check all the possible solutions.
Joseph Mirwald
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hello Forte-Users,
i got only one reply on my problem, so i will explain the problem more
clearly.
in the include File: FORTE_ROOT/install/os/os.h
is a definition: '#define qqOS_HUGE'
The compiler fails in File: FORTE_ROOT/install/cmn/osmm.h line 4
in the Class Definition: 'class qqOS_HUGE qqsh_Task;'
with the following error:
FORTE_ROOT/install/inc/cmn/osmm.h", line 4.1: 1506-166 (S) Definition of
function class requires parentheses.
Does anyone know which option or failure in the environment of the
C-Compiler occures this error?
Works someone on a RS6000 with an AIX C-Compiler on AIX 4.2?
So please look at your configuration settings and help me.
I know that a function needs parentheses, but this code (everybody have the
same Header-Files on his/her machine) wants to define a class and no
parentheses are needed for class definition.
Joseph Mirwald
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
Hello,
I have a custom R component with a function that reads data from a hard configured file.
No database operations but I get this ODBC error that, I suppose, originates from PA talking to the IQ server it runs.
How can I find more about what PA tries to do, especially can I get a trace of the SQL it tries to execute?
Best regards,
AndreasHi Andreas,
You could start by looking at the logfiles that SAP PA produces.
From your Windows Explorer go to the directory: %temp%\sapvi\logs
Here you will find the logfiles that PA creates - as an example:
If this information is not covering your requirements turn to the SAP PA manuel on page 11, section 5.4 configuring logs where it is described how to do a custom tracing.
Good luck.
Best regards,
Kurt Holst -
Ati driver install warning unexpected token `}'
/var/lib/pacman/local/ati-drivers-8.22.5-4/install: line 32: syntax error near unexpected token `}' do I need to worry about this
it's not fixed at home :
[root@ElroCorp nico]# pacman -S ati-drivers
Targets: ati-drivers-8.22.5-4
Total Package Size: 9.1 MB
Proceed with upgrade? [Y/n]
checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
/tmp/pacman-j2SHLE/.INSTALL: line 32: syntax error near unexpected token `}'
/tmp/pacman-j2SHLE/.INSTALL: line 32: `}'
installing ati-drivers... done.
/var/lib/pacman/local/ati-drivers-8.22.5-4/install: line 32: syntax error near
nexpected token `}'
/var/lib/pacman/local/ati-drivers-8.22.5-4/install: line 32: `}' -
Makepkg syntax error - caused by POSIXLY_CORRECT
I'm new to arch linux and after installation of arch and the first steps with
makepkg I was confronted with following script error:
/usr/bin/makepkg: line 1545: syntax error near unexpected token `<'
/usr/bin/makepkg: line 1545: ` done < <(find . -type f -perm -u+w
-print0 2>/dev/null)'
After a long time checking the script I found the problem in my .zshenv where
the environment variable POSIXLY_CORRECT=1 was exported. After unsetting this,
makepkg worked well.
I've used this to force myself to write scripts that are portable between
different systems, and I'd like to keep this variable set also on my new arch
system. Wouldn't it be a good decision to change the makepkg script to also
work if POSIXLY_CORRECT is set? If the issue is known and POSIX does not
belong to the Arch Way, I'll accept that and will unset POSIXLY_CORRECT before
building a package.I think you should ask this on the ML or open a feture request on the bugtracker.
-
StartupItem with syntax error (sh script)
I'm comfy on the cli but still green with scripting it. I've followed the Apple tut on making a StartupItem, but I am getting simple (I hope) sh syntax errors when I run it. The three *Service functions are required, as they're called by the RunService function (from the sourced rc.common script) ... all per the Apple tutorial.
In any case, the error I get is:
line 7: syntax error near unexpected token `}'
/Library/StartupItems/blah/blah: line 7: `}'
The complaint is about the bracing earlier in execution than the 'tricky' stuff. I hope that suggests the problem is here and not in my Boot.bash script. I'll post that too if, as I'm noticing with scripting, the complaints about eofs and bracing and such are not where the real problem lies. I'm a bash person though so, especially if this is just an sh syntax misuse, feel free to give me what for.
Any thoughts, fixes, or straight advice appreciated,
Joel
#!/bin/sh
. /etc/rc.common
StopService() {
# nothing to kill
RestartService() {
StopService
StartService
StartService() {
/bin/bash /Library/Management/Boot.bash
RunService "$1"Hi Joel,
I've actually read a scripting guide that recommends defining functions with the "function" keyword and the norm is to put a space before and after the "()". However, your syntax is valid. In fact I see no errors at all; the script should work.
Thus, the problem is most likely something invisible. It's time to investigate the text editor you used to create the script. You should open the script in a UNIX text editor, like vim, and look for hidden characters or Mac line endings. An even better solution might be to get the free text editor TextWrangler, (or BBEdit if you have it) open the file and set it to show invisible characters. It will also tell you what kind of line endings are used in the file. You might also post a long listing of the StartupItem script.
Gary
~~~~
He's just a politician trying to save both his faces... -
Illegal register: "icc" : syntax error with Sun C 5.8 compiler
I wanted to compile my C file with compiler option "cc -c -Xc -mt -fast -xarch=amd64" on Solaris 10 amd64 machine but it failed with following error -
Assembler: abc.c
"/tmp/GAAOBain6", line 819 : Illegal register: "icc"
"/tmp/GAAOBain6", line 819 : Syntax error
Near line: " orq %icc,%r8 ;/ line : 210"
"/tmp/GAAOBain6", line 852 : Illegal register: "icc"
"/tmp/GAAOBain6", line 852 : Syntax error
Near line: " movzwq %icc,%r9 ;/ line : 215"
cc: ube failed for abc.c
*** Error code 2
I am using following sun C compiler -
/SS11/SUNWspro/bin/cc -V
cc: Sun C 5.8 Patch 121016-02 2006/03/31
Do anybody has idea about this issue?
Thanks
SguptaThanks Boris for your help.
My abc.c file is following -
struct struct_1 {
unsigned type:8;
unsigned level:5;
unsigned seen:1;
unsigned pad:2;
unsigned length:16;
void sample (unsigned char type)
struct struct_1 *q;
/*** Allocate and assign pBody here **/
q->type = type;
q->length = type;
==========================================
compiling this file with following option gives the error in Sol-10 amd64 -
/SS11/SUNWspro/bin/cc -c -Xc -mt -fast -xarch=amd64 abc.c
But compiling without "-fast" options work fine.
Thanks
Sgupta -
Row_number() function error in forms 10g
I used sentence below in forms 10g then an error occured.
row_number() over(partition by GROUP_L1 order by GROUP_L1, GROUP_L2) RN
error : Encountered the symbol "(" when expecting one of the following : , from
above sentence works well in the Toad (<= oracle client tool).
How can you solve this problem?
Edited by: user13763783 on 2011. 3. 8 오후 5:26Yes Ahmed's Point of View is Correct
you can write a stored procedure on the database and then return the result to Forms. Forms can then call this Stored Procedure.
Alternatively , i believe it's much more easy approach to define a view
view operates just like a table So you can reference this view in any Trigger or any Program Unit.
Hope this helps...
Regards,
Abdetu...
Maybe you are looking for
-
How to find a string from a set of records?
I am having a stored procedure which is used for creating a crystal report. When I run the stored procedure sometimes it gives more than one row of data. I want to check if a particular string exists in any row of a particular column. To make it clea
-
Can I still have multiple windows in new versions of iTunes as befire?
With previous versions of iTunes I was able to have the iTunes store, my library and other libraries in separate windows. It seems with newer versions that is no longer possible. Does anybody have figure out how to it?
-
Reading list not updating for ipad 2, 6.0
I had saved a few webpages to my reading list (ones that would usually work) and when I went back to my reading list, the page wasn't listed and all of the pages I had saved to my reading list after I updated to iOS 6 weren't listed. Instead, the sav
-
There is not enough free memory to load the entire file
I saw an older reference to this error in a previous post which apparently got resolved, but didn't explain precisely how it got resolved: Michael Kitzmiller, "There is not enough free memory to load the entire file" #, 27 Jul 2007 5:23 am I presume
-
Input language limitation?
Hi, I have tried but could not find any relevant thread on what seems to be a very essential limitation : Since the latest Xperia z tablet android update, it is no longer possible to select more than 3 input languages. I have currently selected Engli