Sponsored Content
Top Forums Programming Request help to debug errors while running in 'C' Post 302216938 by jim mcnamara on Monday 21st of July 2008 02:21:09 PM
Old 07-21-2008
Those are linker errors. I don't know much about libgen, but this answer assumes there is a libgen.* file in the /usr/lib/ directory. If it is not you will have to find it and then learn how to get gcc to see it with -L
Code:
gcc gapw.c -lgen -o gapw
# you also have a syntax error in getkey.c  warnings mean it is wrong - you should fix it.
# look at line 65 in your code.
gcc getkey.c -lgen -o getkey

I added the -o <file> part because by default the compiler creates ./a.out each time you invoke the compiler. The second invocation of gcc will write over the first compile.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

errors when running a cron job

I am running some shell scripts through a foll cron job, the script works fine and there are no errors in the log file but I receive the following error in mail for the jobs: stty: no such device or address What does the above error indicate, here is the cron job: 0 22 * * 0... (2 Replies)
Discussion started by: knarayan
2 Replies

2. Post Here to Contact Site Administrators and Moderators

Database Errors - Post Info Here to Help Debug - Thanks

Please post the 'Style" you are using and what activity you were doing if have received any database error recently. I'm not getting any errors, but they are in the log files. Thanks, Neo (0 Replies)
Discussion started by: Neo
0 Replies

3. AIX

Running Installp in debug mode

Is there a way I can execute an installp command in debug mode, so that I can see whats happening when a fileset is being installed or updated? (What files are being replace etc etc). I have an installp command failing for unknown reason. (7 Replies)
Discussion started by: balaji_prk
7 Replies

4. Shell Programming and Scripting

surpressing errors while running script

I have written shell script to find out pairsuspends in our environment.But when i run the script iam getting an error for the Pair which are not active.Below are the error am getting pairvolchk -g up1012 -I11 pairvolchk : execution error. pairvolchk: Unmatched CTGID within the group Refer... (3 Replies)
Discussion started by: zeebala1981
3 Replies

5. Shell Programming and Scripting

how to debug an expect script running on a tomcat server

Hello everyone, I have a small expect script as follows; #!/usr/bin/expect -f set force_conservative 0 ;# set to 1 to force conservative mode even if ;# script wasn't run conservatively originally if {$force_conservative} { set send_slow {1 .1} proc send {ignore arg}... (1 Reply)
Discussion started by: randeel
1 Replies

6. Programming

Is there any possibility of running the PHP script in a debug mode ?

Is there any possibility of running the PHP script in a debug mode ? If so, do i have to download any package? Any free downloads available? Can anyone please guide me through? Am a newbie in PHP scripting. Thanks in Advance! (1 Reply)
Discussion started by: vidhyaS
1 Replies

7. Shell Programming and Scripting

Debug script already running

Hello, is it possible to debug a script that is already running "on-demand"? Somehow a command like "set -x" but once you've executed the script. And another one to disable debugging? Thank you (0 Replies)
Discussion started by: asanchez
0 Replies

8. Linux

Apache vhost - debug web request

Hello all, I have several vhost and not sure which vhost is serving the requests to my url http://www.mydomain.tld i have ssh access to the web server is there a way e.g curl to know exactly which vhost served the request. one of my friend suggested logs but i want to find another... (4 Replies)
Discussion started by: coolatt
4 Replies

9. Shell Programming and Scripting

Errors running perl statement

When I run this #!/bin/bash Block count: 421958912 Reserved block count: 4219589 perl -e "printf(\"%.1lf%%\n\", ($Reserved block count * 100.0 ) / $Block count);" I get these error messages. Can someone please help me? andyk_~/Downloads$ Show_Percent_Reserved_Blocks.sh... (4 Replies)
Discussion started by: drew77
4 Replies
iscsiuio(8)						      System Manager's Manual						       iscsiuio(8)

NAME
iscsiuio - iSCSI UserSpace I/O driver SYNOPSIS
iscsiuio [-d-f-v] DESCRIPTION
iscsiuio is the UserSpace I/O driver for the Broadcom NetXtreme II BCM5706/5708/5709 series PCI/PCI-X Gigabit Ethernet Network Interface Card (NIC) and for the Broadcom NetXtreme II BCM57710/57711/57712/57800/57810/57840 series PCI-E 10 Gigabit Ethernet Network Interface Card. The driver has been tested on 2.6.28 kernels and above. Refer to the README.TXT from the driver package on how to compile and install the driver. Refer to various Linux documentations on how to configure network protocol and address. DRIVER DEPENDENCIES
PARAMETERS
There are very few parameters when running this application. -d<debuglevel> This is to enable debug mode where debug messages will be sent to stdout The following debug modes are supported DEBUG 4 - Print all messages INFO 3 - Print messages needed to follow the uIP code (default) WARN 2 - Print warning messages ERROR 1 - Only print critical errors -f This is to enable forground mode so that this application doesn't get sent into the background. -v This is to print the version. -p<pidfile> Use pidfile (default /var/run/iscsiuio.pid ) -h Display this help and exit. AUTHOR
Benjamin Li - benli@broadcom.com Eddie Wai - eddie.wai@broadcom.com Broadcom Corporation 12/10/2013 iscsiuio(8)
All times are GMT -4. The time now is 08:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy