public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Frank Geck <fgeck@att.net>
To: GNU GCC help list <gcc-help@gcc.gnu.org>
Subject: Problem compiling on Linux
Date: Mon, 14 Jan 2002 11:30:00 -0000	[thread overview]
Message-ID: <3C43311A.B168402C@att.net> (raw)



> I have a makefile and C/C++ code that compiled fine under Solaris and I
> wanted to put it on linux but got the following error's using the gcc
> compiler.  Any thoughts?
>
> Thanks,
>
> Frank
>
> $ make -f Makefile_atd.linux
> g++ -g -o -DLINUX /home/atd/output/atd_sign_envlp
> /home/atd/src/add_recips.o  /h
> ome/atd/src/get_current_ip_str.o /home/atd/src/pkcs7_enc.o
> /home/atd/src/save_da
> ta.o /home/atd/src/sign_enveloped.o /home/atd/src/get_msg.o
> /home/atd/src/pkcs7_
> error.o /home/atd/src/save_pid.o /home/atd/src/verify_callback.o
> /home/atd/src/d
> isplay_data.o /home/atd/src/pkcs7_dec.o /home/atd/src/ProcessMsg.o
> /home/atd/src
> /saveMsg.o /home/atd/src/sign_data.o /home/atd/src/verify_sign.o
> /home/atd/src/a
> td_sign_envlp.o /home/atd/src/retrieve_file.o /home/atd/src/save_file.o
> /home/at
> d/src/pkcs7_sign.o /home/atd/src/get_cn.o \
> -I/home/atd/src -I/home/openssl-0.9.6b/include         \
> -L/home/openssl-0.9.6b -L/usr/lib -L/usr/X11R6/lib          \
> -lpthread -lcrypto -lfl -ltcl -ltk -ldl -lX11 -lnsl -lssl
> /home/atd/output/atd_sign_envlp: In function `_start':
> /home/atd/output/atd_sign_envlp(.text+0x0): multiple definition of
> `_start'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x0):
> first define
> d here
> /home/atd/output/atd_sign_envlp: In function `get_cn(char *, int)':
> /space/atd/src/get_cn.cpp:15: multiple definition of `_init'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o(.init+0x0):
> first define
> d here
> /home/atd/output/atd_sign_envlp: In function `get_cn(char *, int)':
> /space/atd/src/get_cn.cpp:15: multiple definition of `_fini'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o(.fini+0x0):
> first define
> d here
> /home/atd/output/atd_sign_envlp: In function `get_cn(char *, int)':
> /space/atd/src/get_cn.cpp:15: multiple definition of
> `_GLOBAL_OFFSET_TABLE_'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o(.got.plt+0x0):
> first def
> ined here

                 reply	other threads:[~2002-01-14 19:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C43311A.B168402C@att.net \
    --to=fgeck@att.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).