Sponsored Content
Full Discussion: Help wanted
Top Forums Programming Help wanted Post 6014 by czer on Tuesday 28th of August 2001 11:49:32 AM
Old 08-28-2001
c programming in unix environment

so, here is the source you ben generated. please see the message 'parameters must
have types'. you haven't type down your 'line 121' for details. but let us just see the others more careful. visit the page below for more explaination.


cc mythread.c -lthread


"/usr/include/pthread.h", line 120: syntax error before or at: *
"/usr/include/pthread.h", line 121: function cannot return function or array
"/usr/include/pthread.h", line 121: syntax error before or at: void
"/usr/include/pthread.h", line 121: warning: syntax error: empty declaration
"/usr/include/pthread.h", line 123: syntax error before or at: void
"/usr/include/pthread.h", line 124: warning: function prototype parameters must
have types
"/usr/include/pthread.h", line 125: syntax error before or at: *
"/usr/include/pthread.h", line 126: syntax error before or at: *
"/usr/include/pthread.h", line 127: syntax error before or at: *
"/usr/include/pthread.h", line 128: syntax error before or at: *
"/usr/include/pthread.h", line 129: syntax error before or at: *
"/usr/include/pthread.h", line 131: syntax error before or at: *
"/usr/include/pthread.h", line 133: syntax error before or at: *
"/usr/include/pthread.h", line 134: syntax error before or at: *
"/usr/include/pthread.h", line 135: syntax error before or at: *
"/usr/include/pthread.h", line 136: syntax error before or at: *
"/usr/include/pthread.h", line 137: syntax error before or at: *
"/usr/include/pthread.h", line 137: function cannot return function or array
"/usr/include/pthread.h", line 137: syntax error before or at: )
"/usr/include/pthread.h", line 137: warning: syntax error: empty declaration
"/usr/include/pthread.h", line 138: cannot recover from previous errors

I am using DYNIX/ptx, v 4.5

.
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

WANTED: Load Generator

Hi, someone knows about a Load Generator for web?, I´ve been searching the web and I found "Astra Test", but I doesn´t work. Thanks! :) (3 Replies)
Discussion started by: momo
3 Replies

2. UNIX for Dummies Questions & Answers

Suggestions wanted ...

All, Have an AMD-K6/2 PC, 20G.Hd along with RH7.2. Wanting to know what I should do in terms of setup (workstation/server) and then what I can do with it? I'd like to learn a DBMS and SQL - can I do this using RedHat? Any suggestions with how I can use/ what I can do with this appreciated. (3 Replies)
Discussion started by: Cameron
3 Replies

3. UNIX for Advanced & Expert Users

help wanted kernel avi

Hello there! Slightly off topic maybe, but maybe someone can help us. For a videoshow which will be called reality 6.1 we need a video file from a unix kernel that is compiling. Does anyone know how to capture this, or does anyone have such a vid? cheers, iuno (www.iuno.nl) (2 Replies)
Discussion started by: iuno
2 Replies

4. Shell Programming and Scripting

help wanted to understand MQ script

hi , i am writing a script to copy the MQ messages from onw queue to another. The following i got from one site, but i di not understand , can anyone explain. /root/scripts/sap/q -m$Q_MANAGER -i$Q_NAME_SRC_1 -F/logs/mq/MQ_COPYdump_$Q_NAME_SRC_1.$$ /root/scripts/sap/q -m$Q_MANAGER... (0 Replies)
Discussion started by: Satyak
0 Replies

5. SCO

N1 sco unix R3.2 V4.2 WANTED!!

Hi guys!!! i have a sco unix 3.2 v4.2 floppy's but i don't have N1 boot disk!! how to find it??? :confused: thanks!! (sorry for my bad english!) (4 Replies)
Discussion started by: panos_pit
4 Replies

6. Programming

Minix help wanted

Hi to all, i am trying to make a kernel call that will display the number of times each kernel call was called. Any idea where to look? I can't find the right files and also how to get all those values. Already made a kernel call that displays how many kernel calls are in the system. I am using... (6 Replies)
Discussion started by: hariscy
6 Replies

7. What is on Your Mind?

Just wanted to say thanks!!!

Greetings all!! Have only recently signed up to this forum and I must say I am thoroughly impressed! :D Everyone has been nothing but amazingly helpful and I haven't been made to feel like the newbie that I am. I will definately be becoming a daily user of this site not only for help... (1 Reply)
Discussion started by: U_C_Dispatj
1 Replies
All times are GMT -4. The time now is 07:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy