[Linux] Build error on final binary link

Bugs that have been resolved.

Moderator: Graf Zahl

rcampbel3
Posts: 3
Joined: Wed Feb 10, 2016 17:19

[Linux] Build error on final binary link

Post by rcampbel3 »

Hi,

I'm compling the 2/9/2016 git code on Ubuntu 14.04 x64 with Nvidia GeForce 210:

everything compiles except the final binary link.

[ 99%] Building CXX object src/CMakeFiles/zdoom.dir/zzautozend.cpp.o
Linking CXX executable ../gzdoom
CMakeFiles/zdoom.dir/tempfiles.cpp.o: In function `FTempFileName::FTempFileName(char const*)':
tempfiles.cpp:(.text+0x7): warning: the use of `tempnam' is dangerous, better use `mkstemp'
CMakeFiles/zdoom.dir/gl/scene/gl_walls.cpp.o: In function `GLWall::Process(seg_t*, sector_t*, sector_t*)':
gl_walls.cpp:(.text+0x4f1e): undefined reference to `line_t::isVisualPortal() const'
gl_walls.cpp:(.text+0x51d6): undefined reference to `line_t::isVisualPortal() const'
gl_walls.cpp:(.text+0x520c): undefined reference to `line_t::isVisualPortal() const'
collect2: error: ld returned 1 exit status
make[2]: *** [gzdoom] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2

I noticed another soul with the same compile error here:
http://anninhhaiphong.net/tinmang/paste ... //kRrjDpRN

Any help is greatly appreciated! Thanks!
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: [Linux] Build error on final binary link

Post by Graf Zahl »

Should be fixed now, although on Windows I can't verify.
rcampbel3
Posts: 3
Joined: Wed Feb 10, 2016 17:19

Re: [Linux] Build error on final binary link

Post by rcampbel3 »

it is fixed. thanks!

Return to “Closed Bugs”