display_dialog.cpp - undefined reference

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).

display_dialog.cpp - undefined reference

Postby Mets » Sat Jun 05, 2010 6:14 am

Trying to build the latest version of SVN (r12793) under Debian and I run into the following error. I ran configure with --disable-client, so I'm surprised it's trying to compile anything in regards to display (this is a headless box). Any ideas on how to fix this?

Code: Select all
setup/src/include/vssetup-display_dialog.o: In function `ShowMainMenu(char**, char*, char*)':
display_dialog.cpp:(.text+0x281): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x29d): undefined reference to `dialog_state'
display_dialog.cpp:(.text+0x2aa): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x2af): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x2b8): undefined reference to `dialog_state'
display_dialog.cpp:(.text+0x2c1): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x2cb): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x2d5): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x2e0): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x2ea): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x2ef): undefined reference to `dlg_put_backtitle'
display_dialog.cpp:(.text+0x34b): undefined reference to `dialog_menu'
setup/src/include/vssetup-display_dialog.o: In function `ShowSubMenu(char**, char*, char*, char const*)':
display_dialog.cpp:(.text+0x38c): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x3a8): undefined reference to `dialog_state'
display_dialog.cpp:(.text+0x3b5): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x3ba): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x3c3): undefined reference to `dialog_state'
display_dialog.cpp:(.text+0x3cc): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x3d4): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x3de): undefined reference to `dialog_vars'
display_dialog.cpp:(.text+0x42d): undefined reference to `dlg_put_backtitle'
display_dialog.cpp:(.text+0x486): undefined reference to `dialog_menu'
setup/src/include/vssetup-display_dialog.o: In function `ShowMain()':
display_dialog.cpp:(.text+0x98a): undefined reference to `dlg_clear'
display_dialog.cpp:(.text+0x995): undefined reference to `dlg_killall_bg'
display_dialog.cpp:(.text+0x99a): undefined reference to `end_dialog'
display_dialog.cpp:(.text+0x9df): undefined reference to `dlg_exit'
setup/src/include/vssetup-display_dialog.o: In function `InitGraphics(int*, char***)':
display_dialog.cpp:(.text+0xa05): undefined reference to `init_dialog'
collect2: ld returned 1 exit status
make[1]: *** [vssetup] Error 1
make: *** [all] Error 2
Mets
Mercenary
Mercenary
 
Posts: 115
Topics: 9
Joined: Mon Jun 09, 2008 5:52 pm

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: display_dialog.cpp - undefined reference

Postby klauss » Mon Jun 07, 2010 9:14 am

That's vssetup.

You could try "make vegaserver", so it only builds the server.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: display_dialog.cpp - undefined reference

Postby Mets » Mon Jun 07, 2010 12:48 pm

klauss wrote:That's vssetup.

You could try "make vegaserver", so it only builds the server.


Thanks, that gets it to compile, however, I now get the following when I run vegaserver:

Code: Select all
Attempt to call ReadFull on a bad file units.csv
Only read 832126 out of -1 bytes of units.csv
!!! ERROR/WARNING VSFile : on ReadFull : File not found
*** glibc detected *** ./vegaserver: free(): invalid next size (fast): 0x0aae78e8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7c50845]
/lib/libc.so.6(cfree+0x9c)[0xb7c526ec]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7e272e1]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xb7e2733d]
./vegaserver(_ZN12VSFileSystem6VSFile8ReadFullEv+0x212)[0x864f6fa]
./vegaserver(_ZN8CSVTableC1ERN12VSFileSystem6VSFileESs+0x139)[0x83c3f41]
./vegaserver(_Z14InitUnitTablesv+0x5b5)[0x863f369]
./vegaserver(_ZN9NetServer5startEiPPc+0x34e)[0x8751eba]
./vegaserver(main+0xe8)[0x8766342]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7bfc455]
./vegaserver(_ZNSt8ios_base4InitD1Ev+0x8d)[0x83291b1]
======= Memory map: ========
08048000-0889d000 r-xp 00000000 09:02 64225285                           /home/cfw/vegastrike/vegastrike/vegaserver
0889d000-088a1000 rw-p 00855000 09:02 64225285                           /home/cfw/vegastrike/vegastrike/vegaserver
088a1000-088c5000 rw-p 088a1000 00:00 0
0a86e000-0ac9b000 rw-p 0a86e000 00:00 0                                  [heap]
b5a00000-b5a21000 rw-p b5a00000 00:00 0
b5a21000-b5b00000 ---p b5a21000 00:00 0
b5ba1000-b5ce3000 rw-p b5ba1000 00:00 0
b5d1d000-b5d1e000 rw-p b5d1d000 00:00 0
b5d1e000-b5d53000 r--s 00000000 09:02 48464032                           /var/cache/nscd/passwd
b5d53000-b7be1000 rw-p b5d53000 00:00 0
b7be1000-b7be3000 r-xp 00000000 09:02 168362210                          /lib/libdl-2.7.so
b7be3000-b7be5000 rw-p 00001000 09:02 168362210                          /lib/libdl-2.7.so
b7be5000-b7be6000 rw-p b7be5000 00:00 0
b7be6000-b7d1e000 r-xp 00000000 09:02 168362200                          /lib/libc-2.7.so
b7d1e000-b7d1f000 r--p 00138000 09:02 168362200                          /lib/libc-2.7.so
b7d1f000-b7d21000 rw-p 00139000 09:02 168362200                          /lib/libc-2.7.so
b7d21000-b7d24000 rw-p b7d21000 00:00 0
b7d24000-b7d38000 r-xp 00000000 09:02 168362234                          /lib/libpthread-2.7.so
b7d38000-b7d3a000 rw-p 00013000 09:02 168362234                          /lib/libpthread-2.7.so
b7d3a000-b7d3c000 rw-p b7d3a000 00:00 0
b7d3c000-b7d48000 r-xp 00000000 09:02 168362213                          /lib/libgcc_s.so.1
b7d48000-b7d49000 rw-p 0000b000 09:02 168362213                          /lib/libgcc_s.so.1
b7d49000-b7d6d000 r-xp 00000000 09:02 168362216                          /lib/libm-2.7.so
b7d6d000-b7d6f000 rw-p 00023000 09:02 168362216                          /lib/libm-2.7.so
b7d6f000-b7e52000 r-xp 00000000 09:02 182485257                          /usr/lib/libstdc++.so.6.0.10
b7e52000-b7e55000 r--p 000e2000 09:02 182485257                          /usr/lib/libstdc++.so.6.0.10
b7e55000-b7e57000 rw-p 000e5000 09:02 182485257                          /usr/lib/libstdc++.so.6.0.10
b7e57000-b7e5d000 rw-p b7e57000 00:00 0
b7e5d000-b7f6c000 r-xp 00000000 09:02 182485243                          /usr/lib/libpython2.5.so.1.0
b7f6c000-b7f91000 rw-p 0010e000 09:02 182485243                          /usr/lib/libpython2.5.so.1.0
b7f91000-b7f97000 rw-p b7f91000 00:00 0
b7f97000-b7fbb000 r-xp 00000000 09:02 182485127                          /usr/lib/libexpat.so.1.5.2
b7fbb000-b7fbd000 rw-p 00023000 09:02 182485127                          /usr/lib/libexpat.so.1.5.2
b7fbd000-b7fbe000 rw-p b7fbd000 00:00 0
b7fbe000-b7fc0000 r-xp 00000000 09:02 168362247                          /lib/libutil-2.7.so
b7fc0000-b7fc2000 rw-p 00001000 09:02 168362247                          /lib/libutil-2.7.so
b7fc2000-b7fd6000 r-xp 00000000 09:02 182485287                          /usr/lib/libz.so.1.2.3.3
b7fd6000-b7fd7000 rw-p 00013000 09:02 182485287                          /usr/lib/libz.so.1.2.3.3
b7fde000-b7fe1000 rw-p b7fde000 00:00 0
b7fe1000-b7ffb000 r-xp 00000000 09:02 168362192                          /lib/ld-2.7.so
b7ffb000-b7ffd000 rw-p 0001a000 09:02 168362192                          /lib/ld-2.7.so
bfba0000-bfbb5000 rw-p 7ffffffea000 00:00 0                              [stack]
Aborted


I've seen this before, but I can't remember what I did to fix it. Is it because I already have an instance of this running?
Mets
Mercenary
Mercenary
 
Posts: 115
Topics: 9
Joined: Mon Jun 09, 2008 5:52 pm

Re: display_dialog.cpp - undefined reference

Postby Mets » Mon Jun 07, 2010 12:58 pm

That would be the problem, it couldn't bind to the port I specified - problem fixed, thanks Klauss!
Mets
Mercenary
Mercenary
 
Posts: 115
Topics: 9
Joined: Mon Jun 09, 2008 5:52 pm


Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 2 guests

cron