On Thu, 22 Apr 1999, Johannes Erdfelt wrote:
(cut off all before)
> 
> That is a good question then, could you show me the complete command
> line you use?
>
Volontierment:
....
gcc -c   -DWITHLOG  -DLinux_OS -D_REENTRANT -I.. -o Logger.o Logger.cc
gcc -c   -DWITHLOG  -DLinux_OS -D_REENTRANT -I.. -o Market.o Market.cc
gcc -c   -DWITHLOG  -DLinux_OS -D_REENTRANT -I.. -o Matcher.o Matcher.cc
gcc -c   -DWITHLOG  -DLinux_OS -D_REENTRANT -I.. -o Mutex.o Mutex.cc
....
gcc  -lpthread -I.. -o Market.Linux ../Log.o ../Lock.o ../Time.o
../Net.o ../Crc.o ../Buffer.o ../BuffLog.o ../Error.o ../Global.o
../Daemonize.o ../GenericList.o ../PacketLog.o Logger.o Market.o
Matcher.o Mutex.o Receiver.o Sender.o
/usr/lib/libpthread.so: the `gets' function is dangerous and should not
be used.
/usr/lib/libpthread.so: undefined reference to `__libc_rewinddir'
/usr/lib/libpthread.so: undefined reference to `__libc_readdir_r'
/usr/lib/libpthread.so: undefined reference to `__libc_opendir'
/usr/lib/libpthread.so: undefined reference to `__libc_seekdir'
/usr/lib/libpthread.so: undefined reference to `__libc_readdir'
/usr/lib/libpthread.so: undefined reference to `__libc_telldir'
/usr/lib/libpthread.so: undefined reference to `_IO_perror'
make: *** [Market.Linux] Error 1
 
> I know pthreads work fine since I compile pthreads programs everyday
> without any problems.
> The same code compiled on Sun Solaris does not make any problems...

Lukas

--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to