public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem compiling on Linux
@ 2002-01-14 11:30 Frank Geck
  0 siblings, 0 replies; only message in thread
From: Frank Geck @ 2002-01-14 11:30 UTC (permalink / raw)
  To: GNU GCC help list



> 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-14 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-14 11:30 Problem compiling on Linux Frank Geck

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).