Sponsored Content
Full Discussion: Suspect code in Speech Tools
Special Forums UNIX and Linux Applications Suspect code in Speech Tools Post 302383021 by slak0 on Monday 28th of December 2009 04:07:37 AM
Old 12-28-2009
Suspect code in Speech Tools

configure runs to completion with no warning/errors (flags being either) displayed to console.
The recommended procedure is to make a change to lines 18 & 64 in config/config.
In speech-tools directory I then examined config.log (which is supposed to be the output of the configure script) where I found the following errors (I'll show only 1 for brevity but they are all identical. Here is the requested error from config.log (sorry I said configure earlier, which it is, but the error is shown in config.log):

Code:
configure: In function 'main':
configure:1114: error: expected expression before ';' token
configure:1110: warning: unused variable 'j'
configure: failed program was:
#line 1107 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
int j= 
                #if __GNUC__ == 2 && __GNUC_MINOR__ == 95
                3;
                #endif 
; return 0; }

My recollection is that C would not like the ";" preceeding the return nor the embedded comment in the assignment statement. Is that correct?
As you can see this is a consequence of the configure script running i.e. configure:...
An alternative of this is that some mods were not made at run time to configure that should have fixed this to prevent these "errors"

My initial running of configure (since there were no errors on standard output) was followed by a make. Make produced (standard out) errors for -fno-shared-data option for the gcc compiler because that option is not available for version 4.3.3 of gcc.
This is yet to be resolved but it was reportedly fixed for the Debian distro but I presume it was not fixed for the .tar.gz files (Debian, I believe uses rpm or similar).

Just as I posted above I vaguely remembered that note you made about version.release.patch. The is what I was referring to as an alternate. My group & I quit using macros back as they caused too much confusion, we abandoned them. Yeh, I know the management mantra!
Since this is looking for an earlier version what can be done?? If I am forced to back up to release 95 of festival I going to junk this.

Last edited by pludi; 01-02-2010 at 09:58 AM.. Reason: code tags, please...
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Getting emials with SUSPECT: Prefix

I got some job running on Sun Unix system, which sends the email to outlook client on windows after completion. Few of the emails are coming with SUSPECT: prefixes. I am using unix command mailx to send the message. Messages are simple text Any idea on this Thanks Ashok (1 Reply)
Discussion started by: akrathi
1 Replies

2. UNIX for Dummies Questions & Answers

Tools for alignment of code?

Hello, Do we have any freeware which helps in alignment of code wrt spaces, sections etc? Thanks (6 Replies)
Discussion started by: eagercyber
6 Replies

3. Shell Programming and Scripting

I suspect a simple quesion

I bet this is really simple but I can only find silly long solutions. Im trying to read the second word of each line in a file and pipe it out, in Win32 it looks something like: for /F "tokens=2" %%b in (file.txt) do etc.. Sorry for the probably dumbass question! (1 Reply)
Discussion started by: joe19oo.c
1 Replies

4. Programming

Parallel computing for speech door access

Dear friend, Here im saathis, currently im doing my final year project in VB6. My project is speech door access system. Im using microsoft access 2007 as database platform which user detail and set password. User have to register first then they have to speech the password which fix in... (2 Replies)
Discussion started by: saathis
2 Replies

5. UNIX for Advanced & Expert Users

I suspect that my NIC is working in hybridization mode?

Hi, all: The physical network interface card should drop the packets if it doesn't match the MAC address of the NIC. In my PC, however, the packets which shoud be dropped trigger the interrupt function of my own driver and are recieved as skb to be transfered to the upper layer! Why? How... (1 Reply)
Discussion started by: liklstar
1 Replies

6. AIX

Code analysis tools for C programs

Hi I need a list of code analysis tools for C programs, that can work on AIX environment such as : dynamic or static code analysis Code Complexity Measures Test Coverage Analyzer Unit tests profiling tools Source code formatter I've found several tools but not compatible with AIX... (0 Replies)
Discussion started by: SteAlma
0 Replies
g-wrap-config(1)					      General Commands Manual						  g-wrap-config(1)

NAME
g-wrap-config - script to get information about the installed version of G-Wrap SYNOPSIS
g-wrap-config [ --version ] [ --c-compile-args LANG | --c-link-args LANG | --guile-module-directory ] DESCRIPTION
g-wrap-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link progams, libraries, and plugins that use G-Wrap. However, since G-Wrap 1.9, this tool has been deprecated in favor of pkg-config(1). New code should use the g-wrap-2.0-guile pkg-config module, g-wrap-config only exists for compatibility reasons. OPTIONS
--c-compile-args LANG Print the compiler flags that are necessary to compile a program or library that uses the G-Wrap language binding for LANG. --c-link-args LANG Print the linker flags that are necessary to link a program that uses the G-Wrap language binding for LANG. --version Prints the currently installed version of G-Wrap on standard output. EXAMPLES
gcc -o main.o $(g-wrap-config --c-compile-args guile) main.c is how you might use g-wrap-config to compile a C source file for an executable program. gcc -o my_app $(g-wrap-config --c-link-args guile) main.o util.o is how you might use g-wrap-config to link compiled objects into an executable program. AUTHOR
G-Wrap has been written by Andreas Rottmann, Rob Browning and Christopher Lee. This manual page was written by Andreas Rottmann, originally for the Debian Project. G-Wrap 1.9 2005-05-01 g-wrap-config(1)
All times are GMT -4. The time now is 02:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy