[bf1942] Freebsd rehashed

Charles "wokka" Goldsmith wokka at justfamily.org
Sat Jun 25 12:52:19 EDT 2005


Thanks for the help Mick, but I'm core dumping after trying those 3 
files (tried libz.so.1)...  I can't go to base_linux-9 unless I go up to 
bsd 5...  this is my production mail/web server and I don't wanna break 
that stuff

This is what I'm getting now if anyone has ideas :

gdb -c bf2_f.core bin/ia-32/bf2_f
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read 
called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dwarf2read.c 
line 3049 in dwarf2_read_section

Core was generated by `bf2_f'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /data1/games/bf2/bin/ia-32/libz.so.1...done.
Reading symbols from /usr/lib/libncurses.so.5...done.
Reading symbols from /data1/games/bf2/bin/ia-32/libdice_py_f.so...done.
Reading symbols from /data1/games/bf2/bin/ia-32/libstdc++.so.5...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /data1/games/bf2/bin/ia-32/libgcc_s.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /lib/libutil.so.1...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /data1/games/bf2/pb/pbsv.so...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /lib/libnss_dns.so.2...done.
Reading symbols from /lib/libresolv.so.2...done.
#0  0x8434434 in 
dice::hfe::io::SocketManager::sleep(std::vector<dice::hfe::io::ISocket*, 
std::allocator<dice::hfe::io::ISocket*> >&, float) ()
(gdb) q

# ls -al bin/ia-32/
-rwxr-xr-x  1 wokka  wheel  14967393 Jun 23 23:16 bf2_f*
-rwxr-xr-x  1 wokka  wheel   6426107 Jun 23 23:16 libaidll_f.so*
-rwxr-xr-x  1 wokka  wheel    640141 Jun 23 23:16 libcprts.so.5*
-rwxr-xr-x  1 wokka  wheel    180026 Jun 23 23:16 libcxa.so.5*
-rwxr-xr-x  1 wokka  wheel   1802147 Jun 23 23:16 libdice_py_f.so*
-rwxr-xr-x  1 wokka  wheel     33324 Jun 25 11:41 libgcc_s.so.1*
-rwxr-xr-x  1 wokka  wheel   1881287 Jun 23 23:16 libimf.so*
-rwxr-xr-x  1 wokka  wheel    706700 Jun 25 11:41 libstdc++.so.5*
-rwxr-xr-x  1 wokka  wheel     25058 Jun 23 23:16 libunwind.so.5*
-rwxr-xr-x  1 wokka  wheel     60702 Jun 25 11:36 libz.so.1*

Thanks

mickdunde wrote:

>> On Sat, 25 Jun 2005, Charles "wokka" Goldsmith wrote:
>>
>>
>>> According to a thread on lightcubed.com, someone got the current 
>>> version
>>> of the linux binary to run on FreeBSD 4.11.  However, that website
>>> appears to be down.
>>>
>>> From what I remember of it, he's using the linux_base-rh-8.8 package,
>>> and copied 2 files off his debian box, libstdc++.so.5 and libgcc_s.so.1
>>> and put into his /usr/compat/lib directory
>>>
>>> I don't have a handy debian or linux box, so if anyone has one with
>>> these 2 files, could you share them please?  I'd like to try this 
>>> setup.
>>
>>
>>
>> Or you just run the linux_base-rh9 port instead.
>>
>> /Bjorn
>
>
> That was me..
>
> I have no admin rights, so only way was to copy the libs to the 
> bin/ia-32 directory. Afterwards I got the following:
>
> bf1 at www2:~/bf2/bf2> gdb -c bf2_f.core bin/ia-32/bf2_f
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and 
> you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for 
> details.
> This GDB was configured as "i386-unknown-freebsd"...Deprecated 
> bfd_read called at 
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dwarf2read.c 
> line 3049 in dwarf2_read_section
>
> Core was generated by `bf2_f'.
> Program terminated with signal 11, Segmentation fault.
> /usr/lib/libz.so.1: No such file or directory.
> #0  0x28c5d986 in ?? ()
>
> copied libz.so.1 also to ia-32, anyone knows for what this lib is needed?
>
> mickdunde





More information about the Bf1942 mailing list