RE: [hlcoders] Linux DS Build problem
And found the bug. FYI in the Makefile you shouldn't be referencing tier0_i486.so and vstdlib_i486.so by $(GAME_DIR)/bin. As these symbolic links are made in the Makefile when you do a 'make mod' it will suffice to have it set to just 'tier0_i486.so' and 'vstdlib_i486.so'. If you do a 'ldd' on the server_i486.so file and you had $(GAME_DIR)/bin and you have $(GAME_DIR) set to ~/srcds_l (which is how most people have the Linux Dedicated Server setup) there won't be any issues as it will lookup the .so's fine. However, if you have it set to something else (as I did) that differed from the next machines setup it will cause weird crashes and stack traces. Mirroring the install directories and .so's to the way the build machine had it will solve this issue. But as stated, your best bet is to have tier0_i486.so and vstdlib_i486.so set with no path as then LD_LIBRARY_PATH will be able to look them up as it should. If that doesn't make any sense, lemme know and I'll do my best to explain. It's been a long night >_> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Everett Sent: Wednesday, January 10, 2007 9:35 PM To: hlcoders@list.valvesoftware.com Subject: RE: [hlcoders] Linux DS Build problem Woops, wrong call stack (and some additional info I neglected to add in). I've compiled the mod on linux and it runs great; however, running it on FreeBSD causes the segfault. Querying gdb for a stack trace results in no symbols loading. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Everett Sent: Wednesday, January 10, 2007 8:09 PM To: hlcoders@list.valvesoftware.com Subject: RE: [hlcoders] Linux DS Build problem Just tacking onto this thread... compiling my mod on linux and attempting to run it causes a seg fault. When attaching GDB and doing a stack trace I get the following: #0 0x in ?? () #1 0x02bf94b3 in CModAppSystemGroup::Create () from bin/engine_i686.so #2 0x02cfaeaf in CAppSystemGroup::Run () from bin/engine_i686.so #3 0x02bf9e1f in CDedicatedServerAPI::ModInit () from bin/engine_i686.so #4 0x0028328a in CDedicatedAppSystemGroup::Main () from bin/dedicated_i686.so #5 0x002b0dc3 in CAppSystemGroup::Run () from bin/dedicated_i686.so #6 0x002b0dc3 in CAppSystemGroup::Run () from bin/dedicated_i686.so #7 0x00283668 in main () from bin/dedicated_i686.so #8 0x0804909e in main () Any clues? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LDuke Sent: Sunday, January 07, 2007 8:35 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Linux DS Build problem -- [ Picked text/plain from multipart/alternative ] I downloaded one of the fedora images from http://www.thoughtpolice.co.uk/vmware/ and used yum to install a couple other items I needed. Was really quick and painless. On 1/7/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > > The idea is good, the only problem is my image is 20GB, so its a little to > much. But i can show > some link about tutorial how to setup it if poeples are interested. > > First you need Linux Slackware 11! Download the dvd image (3 GB) > > http://www.slackware.com/getslack/torrents.php > http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent > > I used bittorrent, the 3 GB taked 3-4 hours to get > > Installing Slackware 11 over VMWare (you need VMWare) > > http://howtoforge.org/slackware11_vmware_windows_xp > > Then you need to install VMWare Tools to speedup the graphic and mouse > driver > > http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html > > but read this first > http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-r c0-d-rc6-d-problem.html > > Installing srcds_l > > http://forums.srcds.com/viewtopic/1139 > > The only remaining thing is to install Xerces > > http://xml.apache.org/xerces-c/download.cgi > > Before executing the makefile you need to mount a drive over source sdk > where the real source is using samba and add env var > > mount -t smbfs -o username=xxx,password=xxx > //xp_computer_name/shared_network_drive_on_src /mnt > export LD_LIBRARY_PATH=.:/bin:./bin > ldconfig > > So what i have done is i have added another section in the makefile that > do the job for you. At the makefile end > after the check: ... add config: and add the 3 lines (mount, export, > ldconfig) > > Before you compile the mod, just call make config then make > > You also need to configurate your linux makefile using the correct path > > With this linux version (Slackware11) GCC are already fine, so you dont > need to
RE: [hlcoders] Linux DS Build problem
Woops, wrong call stack (and some additional info I neglected to add in). I've compiled the mod on linux and it runs great; however, running it on FreeBSD causes the segfault. Querying gdb for a stack trace results in no symbols loading. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Everett Sent: Wednesday, January 10, 2007 8:09 PM To: hlcoders@list.valvesoftware.com Subject: RE: [hlcoders] Linux DS Build problem Just tacking onto this thread... compiling my mod on linux and attempting to run it causes a seg fault. When attaching GDB and doing a stack trace I get the following: #0 0x in ?? () #1 0x02bf94b3 in CModAppSystemGroup::Create () from bin/engine_i686.so #2 0x02cfaeaf in CAppSystemGroup::Run () from bin/engine_i686.so #3 0x02bf9e1f in CDedicatedServerAPI::ModInit () from bin/engine_i686.so #4 0x0028328a in CDedicatedAppSystemGroup::Main () from bin/dedicated_i686.so #5 0x002b0dc3 in CAppSystemGroup::Run () from bin/dedicated_i686.so #6 0x002b0dc3 in CAppSystemGroup::Run () from bin/dedicated_i686.so #7 0x00283668 in main () from bin/dedicated_i686.so #8 0x0804909e in main () Any clues? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LDuke Sent: Sunday, January 07, 2007 8:35 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Linux DS Build problem -- [ Picked text/plain from multipart/alternative ] I downloaded one of the fedora images from http://www.thoughtpolice.co.uk/vmware/ and used yum to install a couple other items I needed. Was really quick and painless. On 1/7/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > > The idea is good, the only problem is my image is 20GB, so its a little to > much. But i can show > some link about tutorial how to setup it if poeples are interested. > > First you need Linux Slackware 11! Download the dvd image (3 GB) > > http://www.slackware.com/getslack/torrents.php > http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent > > I used bittorrent, the 3 GB taked 3-4 hours to get > > Installing Slackware 11 over VMWare (you need VMWare) > > http://howtoforge.org/slackware11_vmware_windows_xp > > Then you need to install VMWare Tools to speedup the graphic and mouse > driver > > http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html > > but read this first > http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-r c0-d-rc6-d-problem.html > > Installing srcds_l > > http://forums.srcds.com/viewtopic/1139 > > The only remaining thing is to install Xerces > > http://xml.apache.org/xerces-c/download.cgi > > Before executing the makefile you need to mount a drive over source sdk > where the real source is using samba and add env var > > mount -t smbfs -o username=xxx,password=xxx > //xp_computer_name/shared_network_drive_on_src /mnt > export LD_LIBRARY_PATH=.:/bin:./bin > ldconfig > > So what i have done is i have added another section in the makefile that > do the job for you. At the makefile end > after the check: ... add config: and add the 3 lines (mount, export, > ldconfig) > > Before you compile the mod, just call make config then make > > You also need to configurate your linux makefile using the correct path > > With this linux version (Slackware11) GCC are already fine, so you dont > need to worry about the version to use. > And over windows XP its very fast. > > Regards > > - Original Message - > From: "Benjamin Davison" <[EMAIL PROTECTED]> > To: > Sent: Sunday, January 07, 2007 9:28 AM > Subject: Re: [hlcoders] Linux DS Build problem > > > > -- > > [ Picked text/plain from multipart/alternative ] > > Just throwing out an idea here, I think it would be good if there was > just > > some vmware or VPC image that was already setup with all the perquisites > and > > we could just drop the source code in a folder and it would be all ready > > togo. > > > > I would do this myself but I have no idea how to compile the SDK for > linux > > :) > > > > On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > >> > >> Yeah Alfed helped me the last day, i finally installed a new linux > version > >> Slackware 11 with vmware on my xp and now everything work fine. > >> > >> - Original Message - > >> From: <[EMAIL PROTECTED]> > >> To: ; > > >> Sent: Saturday, January 06, 2007 6:41 PM > >> Subject: Re: [hlcoders] Linux DS Build problem > >> > >> > >> I saw a vcpm cra
RE: [hlcoders] Linux DS Build problem
Just tacking onto this thread... compiling my mod on linux and attempting to run it causes a seg fault. When attaching GDB and doing a stack trace I get the following: #0 0x in ?? () #1 0x02bf94b3 in CModAppSystemGroup::Create () from bin/engine_i686.so #2 0x02cfaeaf in CAppSystemGroup::Run () from bin/engine_i686.so #3 0x02bf9e1f in CDedicatedServerAPI::ModInit () from bin/engine_i686.so #4 0x0028328a in CDedicatedAppSystemGroup::Main () from bin/dedicated_i686.so #5 0x002b0dc3 in CAppSystemGroup::Run () from bin/dedicated_i686.so #6 0x002b0dc3 in CAppSystemGroup::Run () from bin/dedicated_i686.so #7 0x00283668 in main () from bin/dedicated_i686.so #8 0x0804909e in main () Any clues? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LDuke Sent: Sunday, January 07, 2007 8:35 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Linux DS Build problem -- [ Picked text/plain from multipart/alternative ] I downloaded one of the fedora images from http://www.thoughtpolice.co.uk/vmware/ and used yum to install a couple other items I needed. Was really quick and painless. On 1/7/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > > The idea is good, the only problem is my image is 20GB, so its a little to > much. But i can show > some link about tutorial how to setup it if poeples are interested. > > First you need Linux Slackware 11! Download the dvd image (3 GB) > > http://www.slackware.com/getslack/torrents.php > http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent > > I used bittorrent, the 3 GB taked 3-4 hours to get > > Installing Slackware 11 over VMWare (you need VMWare) > > http://howtoforge.org/slackware11_vmware_windows_xp > > Then you need to install VMWare Tools to speedup the graphic and mouse > driver > > http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html > > but read this first > http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-r c0-d-rc6-d-problem.html > > Installing srcds_l > > http://forums.srcds.com/viewtopic/1139 > > The only remaining thing is to install Xerces > > http://xml.apache.org/xerces-c/download.cgi > > Before executing the makefile you need to mount a drive over source sdk > where the real source is using samba and add env var > > mount -t smbfs -o username=xxx,password=xxx > //xp_computer_name/shared_network_drive_on_src /mnt > export LD_LIBRARY_PATH=.:/bin:./bin > ldconfig > > So what i have done is i have added another section in the makefile that > do the job for you. At the makefile end > after the check: ... add config: and add the 3 lines (mount, export, > ldconfig) > > Before you compile the mod, just call make config then make > > You also need to configurate your linux makefile using the correct path > > With this linux version (Slackware11) GCC are already fine, so you dont > need to worry about the version to use. > And over windows XP its very fast. > > Regards > > - Original Message - > From: "Benjamin Davison" <[EMAIL PROTECTED]> > To: > Sent: Sunday, January 07, 2007 9:28 AM > Subject: Re: [hlcoders] Linux DS Build problem > > > > -- > > [ Picked text/plain from multipart/alternative ] > > Just throwing out an idea here, I think it would be good if there was > just > > some vmware or VPC image that was already setup with all the perquisites > and > > we could just drop the source code in a folder and it would be all ready > > togo. > > > > I would do this myself but I have no idea how to compile the SDK for > linux > > :) > > > > On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > >> > >> Yeah Alfed helped me the last day, i finally installed a new linux > version > >> Slackware 11 with vmware on my xp and now everything work fine. > >> > >> - Original Message - > >> From: <[EMAIL PROTECTED]> > >> To: ; > > >> Sent: Saturday, January 06, 2007 6:41 PM > >> Subject: Re: [hlcoders] Linux DS Build problem > >> > >> > >> I saw a vcpm crasher on an older version of linux that had an > >> pre-requirements version of glibc in the lib path. It's probably > >> something > >> like that, if not that exact issue. See the SDK Linux wiki page. > >> > >> At 2007/01/05 01:42 PM, Sylvain Rochette wrote: > >> >Ok done, i downloaded the latest source from public/utils and builded > >> vcpm. > >> > > >> >I still got the same er
Re: [hlcoders] Linux DS Build problem - Thanks
Just thought I'd add... I've just set-up a Virtual Fedora Core 6 Linux box under VMWare and got it set-up for compiling the SDK fairly easily. I'm currently writing up all the stages under my Wiki sandbox page. There was only about 4 pre-requisist steps to get the relevant software installed and configured and when it came to compiling the SDK code the only "fixes" I had to make was to add the max/min fix, memoverride.cpp fix, fix a broken ; in the VS2005 solution and fix some filename case errors. I'll post a link when I've finished writing it up. - Jed On 09/01/07, Adam amckern Mckern <[EMAIL PROTECTED]> wrote: Hey Duke! Thanks for the link, i have always wanted to a VM of Linux for compiling, this is a ton of help! Adam --- LDuke <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > I downloaded one of the fedora images from > http://www.thoughtpolice.co.uk/vmware/ > and used yum to install a couple other items I > needed. > > Was really quick and painless. Nigredo Studios http://www.nigredostudios.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linux DS Build problem - Thanks
Hey Duke! Thanks for the link, i have always wanted to a VM of Linux for compiling, this is a ton of help! Adam --- LDuke <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > I downloaded one of the fedora images from > http://www.thoughtpolice.co.uk/vmware/ > and used yum to install a couple other items I > needed. > > Was really quick and painless. Nigredo Studios http://www.nigredostudios.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linux DS Build problem
-- [ Picked text/plain from multipart/alternative ] I downloaded one of the fedora images from http://www.thoughtpolice.co.uk/vmware/ and used yum to install a couple other items I needed. Was really quick and painless. On 1/7/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > > The idea is good, the only problem is my image is 20GB, so its a little to > much. But i can show > some link about tutorial how to setup it if poeples are interested. > > First you need Linux Slackware 11! Download the dvd image (3 GB) > > http://www.slackware.com/getslack/torrents.php > http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent > > I used bittorrent, the 3 GB taked 3-4 hours to get > > Installing Slackware 11 over VMWare (you need VMWare) > > http://howtoforge.org/slackware11_vmware_windows_xp > > Then you need to install VMWare Tools to speedup the graphic and mouse > driver > > http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html > > but read this first > http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-rc0-d-rc6-d-problem.html > > Installing srcds_l > > http://forums.srcds.com/viewtopic/1139 > > The only remaining thing is to install Xerces > > http://xml.apache.org/xerces-c/download.cgi > > Before executing the makefile you need to mount a drive over source sdk > where the real source is using samba and add env var > > mount -t smbfs -o username=xxx,password=xxx > //xp_computer_name/shared_network_drive_on_src /mnt > export LD_LIBRARY_PATH=.:/bin:./bin > ldconfig > > So what i have done is i have added another section in the makefile that > do the job for you. At the makefile end > after the check: ... add config: and add the 3 lines (mount, export, > ldconfig) > > Before you compile the mod, just call make config then make > > You also need to configurate your linux makefile using the correct path > > With this linux version (Slackware11) GCC are already fine, so you dont > need to worry about the version to use. > And over windows XP its very fast. > > Regards > > - Original Message - > From: "Benjamin Davison" <[EMAIL PROTECTED]> > To: > Sent: Sunday, January 07, 2007 9:28 AM > Subject: Re: [hlcoders] Linux DS Build problem > > > > -- > > [ Picked text/plain from multipart/alternative ] > > Just throwing out an idea here, I think it would be good if there was > just > > some vmware or VPC image that was already setup with all the perquisites > and > > we could just drop the source code in a folder and it would be all ready > > togo. > > > > I would do this myself but I have no idea how to compile the SDK for > linux > > :) > > > > On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > >> > >> Yeah Alfed helped me the last day, i finally installed a new linux > version > >> Slackware 11 with vmware on my xp and now everything work fine. > >> > >> - Original Message - > >> From: <[EMAIL PROTECTED]> > >> To: ; > > >> Sent: Saturday, January 06, 2007 6:41 PM > >> Subject: Re: [hlcoders] Linux DS Build problem > >> > >> > >> I saw a vcpm crasher on an older version of linux that had an > >> pre-requirements version of glibc in the lib path. It's probably > >> something > >> like that, if not that exact issue. See the SDK Linux wiki page. > >> > >> At 2007/01/05 01:42 PM, Sylvain Rochette wrote: > >> >Ok done, i downloaded the latest source from public/utils and builded > >> vcpm. > >> > > >> >I still got the same error when building my mod > >> > > >> >make: *** [mod] Segmentation fault > >> > > >> > > >> >- Original Message - > >> >From: "Alfred Reynolds" <[EMAIL PROTECTED]> > >> >To: > >> >Sent: Friday, January 05, 2007 1:41 PM > >> >Subject: RE: [hlcoders] Linux DS Build problem > >> > > >> > > >> >>Try "rm ./vcpm && make vcpm" and then run your make again. > >> >> > >> >>Sylvain Rochette wrote: > >> >>>I having hard time to build the linux version of our mod. > >> >>> > >> >>>One year ago, the linux build was building fine, but we did not use > >> >>>the > >> >>>linux the last year (2006). > >> >>>With
Re: [hlcoders] Linux DS Build problem
Here an idea of what Slackware 11 looks like http://ii.hl2files.com/stuffs/shot.jpg this is our dedicated server running on linux inside windows xp :) - Original Message - From: "Sylvain Rochette" <[EMAIL PROTECTED]> To: Sent: Sunday, January 07, 2007 11:28 AM Subject: Re: [hlcoders] Linux DS Build problem This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] The idea is good, the only problem is my image is 20GB, so its a little to much. But i can show some link about tutorial how to setup it if poeples are interested. First you need Linux Slackware 11! Download the dvd image (3 GB) http://www.slackware.com/getslack/torrents.php http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent I used bittorrent, the 3 GB taked 3-4 hours to get Installing Slackware 11 over VMWare (you need VMWare) http://howtoforge.org/slackware11_vmware_windows_xp Then you need to install VMWare Tools to speedup the graphic and mouse driver http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html but read this first http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-rc0-d-rc6-d-problem.html Installing srcds_l http://forums.srcds.com/viewtopic/1139 The only remaining thing is to install Xerces http://xml.apache.org/xerces-c/download.cgi Before executing the makefile you need to mount a drive over source sdk where the real source is using samba and add env var mount -t smbfs -o username=xxx,password=xxx //xp_computer_name/shared_network_drive_on_src /mnt export LD_LIBRARY_PATH=.:/bin:./bin ldconfig So what i have done is i have added another section in the makefile that do the job for you. At the makefile end after the check: ... add config: and add the 3 lines (mount, export, ldconfig) Before you compile the mod, just call make config then make You also need to configurate your linux makefile using the correct path With this linux version (Slackware11) GCC are already fine, so you dont need to worry about the version to use. And over windows XP its very fast. Regards - Original Message - From: "Benjamin Davison" <[EMAIL PROTECTED]> To: Sent: Sunday, January 07, 2007 9:28 AM Subject: Re: [hlcoders] Linux DS Build problem -- [ Picked text/plain from multipart/alternative ] Just throwing out an idea here, I think it would be good if there was just some vmware or VPC image that was already setup with all the perquisites and we could just drop the source code in a folder and it would be all ready togo. I would do this myself but I have no idea how to compile the SDK for linux :) On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: Yeah Alfed helped me the last day, i finally installed a new linux version Slackware 11 with vmware on my xp and now everything work fine. - Original Message - From: <[EMAIL PROTECTED]> To: ; Sent: Saturday, January 06, 2007 6:41 PM Subject: Re: [hlcoders] Linux DS Build problem I saw a vcpm crasher on an older version of linux that had an pre-requirements version of glibc in the lib path. It's probably something like that, if not that exact issue. See the SDK Linux wiki page. At 2007/01/05 01:42 PM, Sylvain Rochette wrote: >Ok done, i downloaded the latest source from public/utils and builded vcpm. > >I still got the same error when building my mod > >make: *** [mod] Segmentation fault > > >- Original Message - >From: "Alfred Reynolds" <[EMAIL PROTECTED]> >To: >Sent: Friday, January 05, 2007 1:41 PM >Subject: RE: [hlcoders] Linux DS Build problem > > >>Try "rm ./vcpm && make vcpm" and then run your make again. >> >>Sylvain Rochette wrote: >>>I having hard time to build the linux version of our mod. >>> >>>One year ago, the linux build was building fine, but we did not use >>>the >>>linux the last year (2006). >>>With the big sdk update from the last summer, stuff probably changed. >>>But i >>>am not sure if its related to that (i think not) >>> >>>Here the error, i am not sure if its related to the parsing with >>>hl_sdk or >>>its because i really miss the compiler. But i did not >>>change anything on this computer, the last time i open it (one year >>>ago) was >>>to compile the mod and was working fine. >>> >>>make >>> >>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; >>>exit; fi >>> >>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir >>>/home/srochette/srcds_l/ii/src/linux_ii;fi >>> >>>cd /home/srochette/srcds_l/ii/src/linux_ii >>> >>>if [ ! -f "tier0_i486.so" ]; then
Re: [hlcoders] Linux DS Build problem
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] The idea is good, the only problem is my image is 20GB, so its a little to much. But i can show some link about tutorial how to setup it if poeples are interested. First you need Linux Slackware 11! Download the dvd image (3 GB) http://www.slackware.com/getslack/torrents.php http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent I used bittorrent, the 3 GB taked 3-4 hours to get Installing Slackware 11 over VMWare (you need VMWare) http://howtoforge.org/slackware11_vmware_windows_xp Then you need to install VMWare Tools to speedup the graphic and mouse driver http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html but read this first http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-rc0-d-rc6-d-problem.html Installing srcds_l http://forums.srcds.com/viewtopic/1139 The only remaining thing is to install Xerces http://xml.apache.org/xerces-c/download.cgi Before executing the makefile you need to mount a drive over source sdk where the real source is using samba and add env var mount -t smbfs -o username=xxx,password=xxx //xp_computer_name/shared_network_drive_on_src /mnt export LD_LIBRARY_PATH=.:/bin:./bin ldconfig So what i have done is i have added another section in the makefile that do the job for you. At the makefile end after the check: ... add config: and add the 3 lines (mount, export, ldconfig) Before you compile the mod, just call make config then make You also need to configurate your linux makefile using the correct path With this linux version (Slackware11) GCC are already fine, so you dont need to worry about the version to use. And over windows XP its very fast. Regards - Original Message - From: "Benjamin Davison" <[EMAIL PROTECTED]> To: Sent: Sunday, January 07, 2007 9:28 AM Subject: Re: [hlcoders] Linux DS Build problem > -- > [ Picked text/plain from multipart/alternative ] > Just throwing out an idea here, I think it would be good if there was just > some vmware or VPC image that was already setup with all the perquisites and > we could just drop the source code in a folder and it would be all ready > togo. > > I would do this myself but I have no idea how to compile the SDK for linux > :) > > On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: >> >> Yeah Alfed helped me the last day, i finally installed a new linux version >> Slackware 11 with vmware on my xp and now everything work fine. >> >> - Original Message - >> From: <[EMAIL PROTECTED]> >> To: ; >> Sent: Saturday, January 06, 2007 6:41 PM >> Subject: Re: [hlcoders] Linux DS Build problem >> >> >> I saw a vcpm crasher on an older version of linux that had an >> pre-requirements version of glibc in the lib path. It's probably >> something >> like that, if not that exact issue. See the SDK Linux wiki page. >> >> At 2007/01/05 01:42 PM, Sylvain Rochette wrote: >> >Ok done, i downloaded the latest source from public/utils and builded >> vcpm. >> > >> >I still got the same error when building my mod >> > >> >make: *** [mod] Segmentation fault >> > >> > >> >- Original Message - >> >From: "Alfred Reynolds" <[EMAIL PROTECTED]> >> >To: >> >Sent: Friday, January 05, 2007 1:41 PM >> >Subject: RE: [hlcoders] Linux DS Build problem >> > >> > >> >>Try "rm ./vcpm && make vcpm" and then run your make again. >> >> >> >>Sylvain Rochette wrote: >> >>>I having hard time to build the linux version of our mod. >> >>> >> >>>One year ago, the linux build was building fine, but we did not use >> >>>the >> >>>linux the last year (2006). >> >>>With the big sdk update from the last summer, stuff probably changed. >> >>>But i >> >>>am not sure if its related to that (i think not) >> >>> >> >>>Here the error, i am not sure if its related to the parsing with >> >>>hl_sdk or >> >>>its because i really miss the compiler. But i did not >> >>>change anything on this computer, the last time i open it (one year >> >>>ago) was >> >>>to compile the mod and was working fine. >> >>> >> >>>make >> >>> >> >>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; >> >>>exit; fi >> >>> >> >>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir >&
Re: [hlcoders] Linux DS Build problem
-- [ Picked text/plain from multipart/alternative ] Just throwing out an idea here, I think it would be good if there was just some vmware or VPC image that was already setup with all the perquisites and we could just drop the source code in a folder and it would be all ready togo. I would do this myself but I have no idea how to compile the SDK for linux :) On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote: > > Yeah Alfed helped me the last day, i finally installed a new linux version > Slackware 11 with vmware on my xp and now everything work fine. > > - Original Message - > From: <[EMAIL PROTECTED]> > To: ; > Sent: Saturday, January 06, 2007 6:41 PM > Subject: Re: [hlcoders] Linux DS Build problem > > > I saw a vcpm crasher on an older version of linux that had an > pre-requirements version of glibc in the lib path. It's probably > something > like that, if not that exact issue. See the SDK Linux wiki page. > > At 2007/01/05 01:42 PM, Sylvain Rochette wrote: > >Ok done, i downloaded the latest source from public/utils and builded > vcpm. > > > >I still got the same error when building my mod > > > >make: *** [mod] Segmentation fault > > > > > >- Original Message - > >From: "Alfred Reynolds" <[EMAIL PROTECTED]> > >To: > >Sent: Friday, January 05, 2007 1:41 PM > >Subject: RE: [hlcoders] Linux DS Build problem > > > > > >>Try "rm ./vcpm && make vcpm" and then run your make again. > >> > >>Sylvain Rochette wrote: > >>>I having hard time to build the linux version of our mod. > >>> > >>>One year ago, the linux build was building fine, but we did not use > >>>the > >>>linux the last year (2006). > >>>With the big sdk update from the last summer, stuff probably changed. > >>>But i > >>>am not sure if its related to that (i think not) > >>> > >>>Here the error, i am not sure if its related to the parsing with > >>>hl_sdk or > >>>its because i really miss the compiler. But i did not > >>>change anything on this computer, the last time i open it (one year > >>>ago) was > >>>to compile the mod and was working fine. > >>> > >>>make > >>> > >>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; > >>>exit; fi > >>> > >>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir > >>>/home/srochette/srcds_l/ii/src/linux_ii;fi > >>> > >>>cd /home/srochette/srcds_l/ii/src/linux_ii > >>> > >>>if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi > >>> > >>>if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi > >>> > >>>./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj > >>> > >>>make: *** [mod] Segmentation fault > >>> > >>> > >>> > >>> > >>>___ > >>>To unsubscribe, edit your list preferences, or view the list > >>>archives, please visit: > >>>http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >>___ > >>To unsubscribe, edit your list preferences, or view the list archives, > >>please visit: > >>http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >> > > > > > >___ > >To unsubscribe, edit your list preferences, or view the list archives, > >please visit: > >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- - Benjamin Davison -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linux DS Build problem
Yeah Alfed helped me the last day, i finally installed a new linux version Slackware 11 with vmware on my xp and now everything work fine. - Original Message - From: <[EMAIL PROTECTED]> To: ; Sent: Saturday, January 06, 2007 6:41 PM Subject: Re: [hlcoders] Linux DS Build problem I saw a vcpm crasher on an older version of linux that had an pre-requirements version of glibc in the lib path. It's probably something like that, if not that exact issue. See the SDK Linux wiki page. At 2007/01/05 01:42 PM, Sylvain Rochette wrote: Ok done, i downloaded the latest source from public/utils and builded vcpm. I still got the same error when building my mod make: *** [mod] Segmentation fault - Original Message - From: "Alfred Reynolds" <[EMAIL PROTECTED]> To: Sent: Friday, January 05, 2007 1:41 PM Subject: RE: [hlcoders] Linux DS Build problem Try "rm ./vcpm && make vcpm" and then run your make again. Sylvain Rochette wrote: I having hard time to build the linux version of our mod. One year ago, the linux build was building fine, but we did not use the linux the last year (2006). With the big sdk update from the last summer, stuff probably changed. But i am not sure if its related to that (i think not) Here the error, i am not sure if its related to the parsing with hl_sdk or its because i really miss the compiler. But i did not change anything on this computer, the last time i open it (one year ago) was to compile the mod and was working fine. make if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; exit; fi if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir /home/srochette/srcds_l/ii/src/linux_ii;fi cd /home/srochette/srcds_l/ii/src/linux_ii if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi ./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj make: *** [mod] Segmentation fault ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linux DS Build problem
I saw a vcpm crasher on an older version of linux that had an pre-requirements version of glibc in the lib path. It's probably something like that, if not that exact issue. See the SDK Linux wiki page. At 2007/01/05 01:42 PM, Sylvain Rochette wrote: >Ok done, i downloaded the latest source from public/utils and builded vcpm. > >I still got the same error when building my mod > >make: *** [mod] Segmentation fault > > >- Original Message - >From: "Alfred Reynolds" <[EMAIL PROTECTED]> >To: >Sent: Friday, January 05, 2007 1:41 PM >Subject: RE: [hlcoders] Linux DS Build problem > > >>Try "rm ./vcpm && make vcpm" and then run your make again. >> >>Sylvain Rochette wrote: >>>I having hard time to build the linux version of our mod. >>> >>>One year ago, the linux build was building fine, but we did not use >>>the >>>linux the last year (2006). >>>With the big sdk update from the last summer, stuff probably changed. >>>But i >>>am not sure if its related to that (i think not) >>> >>>Here the error, i am not sure if its related to the parsing with >>>hl_sdk or >>>its because i really miss the compiler. But i did not >>>change anything on this computer, the last time i open it (one year >>>ago) was >>>to compile the mod and was working fine. >>> >>>make >>> >>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; >>>exit; fi >>> >>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir >>>/home/srochette/srcds_l/ii/src/linux_ii;fi >>> >>>cd /home/srochette/srcds_l/ii/src/linux_ii >>> >>>if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi >>> >>>if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi >>> >>>./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj >>> >>>make: *** [mod] Segmentation fault >>> >>> >>> >>> >>>___ >>>To unsubscribe, edit your list preferences, or view the list >>>archives, please visit: >>>http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >>___ >>To unsubscribe, edit your list preferences, or view the list archives, >>please visit: >>http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > >___ >To unsubscribe, edit your list preferences, or view the list archives, please >visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linux DS Build problem
Ok done, i downloaded the latest source from public/utils and builded vcpm. I still got the same error when building my mod make: *** [mod] Segmentation fault - Original Message - From: "Alfred Reynolds" <[EMAIL PROTECTED]> To: Sent: Friday, January 05, 2007 1:41 PM Subject: RE: [hlcoders] Linux DS Build problem Try "rm ./vcpm && make vcpm" and then run your make again. Sylvain Rochette wrote: I having hard time to build the linux version of our mod. One year ago, the linux build was building fine, but we did not use the linux the last year (2006). With the big sdk update from the last summer, stuff probably changed. But i am not sure if its related to that (i think not) Here the error, i am not sure if its related to the parsing with hl_sdk or its because i really miss the compiler. But i did not change anything on this computer, the last time i open it (one year ago) was to compile the mod and was working fine. make if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; exit; fi if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir /home/srochette/srcds_l/ii/src/linux_ii;fi cd /home/srochette/srcds_l/ii/src/linux_ii if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi ./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj make: *** [mod] Segmentation fault ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Linux DS Build problem
Try "rm ./vcpm && make vcpm" and then run your make again. Sylvain Rochette wrote: > I having hard time to build the linux version of our mod. > > One year ago, the linux build was building fine, but we did not use > the > linux the last year (2006). > With the big sdk update from the last summer, stuff probably changed. > But i > am not sure if its related to that (i think not) > > Here the error, i am not sure if its related to the parsing with > hl_sdk or > its because i really miss the compiler. But i did not > change anything on this computer, the last time i open it (one year > ago) was > to compile the mod and was working fine. > > make > > if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; > exit; fi > > if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir > /home/srochette/srcds_l/ii/src/linux_ii;fi > > cd /home/srochette/srcds_l/ii/src/linux_ii > > if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi > > if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi > > ./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj > > make: *** [mod] Segmentation fault > > > > > ___ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Linux DS Build problem
I having hard time to build the linux version of our mod. One year ago, the linux build was building fine, but we did not use the linux the last year (2006). With the big sdk update from the last summer, stuff probably changed. But i am not sure if its related to that (i think not) Here the error, i am not sure if its related to the parsing with hl_sdk or its because i really miss the compiler. But i did not change anything on this computer, the last time i open it (one year ago) was to compile the mod and was working fine. make if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined."; exit; fi if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir /home/srochette/srcds_l/ii/src/linux_ii;fi cd /home/srochette/srcds_l/ii/src/linux_ii if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi ./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj make: *** [mod] Segmentation fault ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders