I'm trying to compile tmda-cgi (from CVS) on a solaris 8/SPARC box. I'll
admit up front that I don't know too much about the specifics of compiling
and linking, etc... in fact, I know enough to be dangerous. ;-) In
general, on linux, I can make my way through most compilation errors.
However, I am new to building on Suns and I'm not quite sure I've got my
environment setup just right.

Here's the error message:
# gcc tmda-cgi.c -o tmda-cgi
/var/tmp/cc3dvNp7.o: In function `main':
/var/tmp/cc3dvNp7.o(.text+0x20): undefined reference to `setenv'
/var/tmp/cc3dvNp7.o(.text+0x3c): undefined reference to `setenv'
collect2: ld returned 1 exit status

(I commented out the "os.unlink("dirs.h")" line from compile so I could
remove as many variables as possible.)

Here are a few outputs that may or may not help:
# uname -a
SunOS x 5.8 Generic_108528-18 sun4u sparc SUNW,UltraSPARC-IIi-Engine Solaris

# /usr/local/bin/gcc --version
2.95.3

# /usr/local/bin/ld --version
GNU ld 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
   elf32_sparc
   elf64_sparc

Anything else that would be helpful to know?

I love TMDA and being able to reach my queue from anywhere would make my
online existence complete... So thanks in advance.

Dan

--------------------------------------------------------------------------
This email address is protected by a SPAM filter. You may need to confirm
any messages sent to this address. An automated email will be sent to your
address if confirmation is necessary.
--------------------------------------------------------------------------


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to