project-navigation
Personal tools

Author Topic: Q_strncpyz error  (Read 6772 times)

Offline noob

  • Rookie
  • ***
  • Posts: 59
  • http://tinyurl.com/68elb57 >>x-com style models<<
    • View Profile
Q_strncpyz error
« on: July 29, 2006, 07:22:13 pm »
... ok finally i compiled everything with devC++ with no problems
but when i tried to start a game windows error appeared
i think its connected with this bug in ref_gl which i fixed:
Quote
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
more undefined references to `Q_strncpyz' follow
ld returned 1 exit status
C:\Documents and Settings\Joe\My Documents\space\src\ref_gl\Makefile.win [Build Error] [../../ref_gl.dll] Error 1


what i did:
i added in every .c file in ref_gl.dev which said about "underfined reference" this:
Code: [Select]
#define Q_strncpyz(string1,string2,length)
and all compiled without problems, but game doesnt start normaly and fall down :(
what i did wrong?

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Q_strncpyz error
« Reply #1 on: July 29, 2006, 07:30:10 pm »
Today's SVN? What hour?

Offline noob

  • Rookie
  • ***
  • Posts: 59
  • http://tinyurl.com/68elb57 >>x-com style models<<
    • View Profile
Q_strncpyz error
« Reply #2 on: July 29, 2006, 07:32:19 pm »
2211 revision

Offline noob

  • Rookie
  • ***
  • Posts: 59
  • http://tinyurl.com/68elb57 >>x-com style models<<
    • View Profile
Q_strncpyz error
« Reply #3 on: July 29, 2006, 07:39:51 pm »
update: its not connected with revision, i did something wrong i think
maybe there is another RIGHT way to fix this bug?

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Q_strncpyz error
« Reply #4 on: July 29, 2006, 09:53:31 pm »
indeed, because 2211 is good...