SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-HELP Mailing List Archives

Return to [ 07 | January | 2002 ]

<< Previous Message << >> Next Message >>


Date: Mon, 7 Jan 2002 18:31:52 PST7
From: Harry Chris Motin <hmotin@attglobal.net >
Reply-To: scoug-help@scoug.com
To: SCOUG Help <scoug-help@scoug.com >
Subject: SCOUG-Help: WATCOM C Link Errors

Content Type: text/plain

=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================

HELP! My WATCOM C/C++ setup is not quite right. Any help would be muchly
appreciated.

I'm trying to learn C/C++ and to use the WATCOM download package. I'm
trying to create a sample 32bit OS/2 program, using the
C:\WATCOM\SRC\hello.c file and the linker. This is a sample exercise in
the Watcom C/C++ Programmer's Guide. Following the example in the guide
I entered the following into a commandline in the C:\WATCOM\SRC
subdirectory:

wcl386 /l=os2v2 hello.c

All I got was a ton of errors. I captured the log output of the linker
and put it in the attached file, LinkResult.TXT. The following is just a
few lines from that file:

Watcom C/C++32 Compile and Link Utility Version 11.0c
Copyright by Sybase, Inc., and its subsidiaries, 1988, 2000.
All rights reserved. Watcom is a trademark of Sybase, Inc.
wcc386 hello.c
Watcom C32 Optimizing Compiler Version 11.0c
Copyright by Sybase, Inc., and its subsidiaries, 1984, 2000.
All rights reserved. Watcom is a trademark of Sybase, Inc.
hello.c: 6 lines, included 477, 0 warnings, 0 errors
Code size: 24

WATCOM Linker Version 11.0c
Copyright by Sybase, Inc., and its subsidiaries, 1985, 2000.
All rights reserved. Watcom is a trademark of Sybase, Inc.
loading object files
searching libraries
Warning! W1008: cannot open os2386.lib : No such file or directory
Error! E2028: DosWrite is an undefined reference
Error! E2028: DosQuerySysInfo is an undefined reference
Error! E2028: DosSetRelMaxFH is an undefined reference
Error! E2028: DosExit is an undefined reference
Error! E2028: DosCloseMutexSem is an undefined reference
Error! E2028: DosCreateMutexSem is an undefined reference

It goes on with many more errors.

I should not get any errors by linking a sample WATCOM file. Anybody got
any ideas as to what's wrong? Thanks for your help.

HCM

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 07 | January | 2002 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.