* strdup and pre-R5
@ 1999-03-02 3:29 Batmensch
1999-03-02 18:19 ` Franz Sirl
0 siblings, 1 reply; 4+ messages in thread
From: Batmensch @ 1999-03-02 3:29 UTC (permalink / raw)
To: linuxppc-dev
I'm having a problem building OpenLdap 1.2 on a pre-R5 installation; the error
seems to be with strdup(); the make complains :
"In file included from args.c:22:
../../include/ac/string.h:49 macro `strdup' using without args"
I've been able to build it without error on both LinuxPPC 4 and Linux X86.
Also the build of 1.0.2 that is included with the R5 distribution seems to work
properly.
Anything i can do about this?
BTW, I'm using the late February build of R5, and a 2.2.2 kernel I built from
CVS at Samba.
Hugh
^[
----------------------------------
E-Mail: Batmensch <hcaley@loomer.com>
Date: 01-Mar-99
Time: 22:19:28
This message was sent by XFMail
----------------------------------
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: strdup and pre-R5
1999-03-02 18:19 ` Franz Sirl
@ 1999-03-02 17:22 ` Batmensch
1999-03-02 20:52 ` Matthew McLean
1 sibling, 0 replies; 4+ messages in thread
From: Batmensch @ 1999-03-02 17:22 UTC (permalink / raw)
To: Franz Sirl; +Cc: linuxppc-dev
Thank you for the feedback. I don't really have any development
background...how would you pass these options ?
Hugh
On 02-Mar-99 Franz Sirl wrote:
> At 04:29 02.03.99 , Batmensch wrote:
>
>>I'm having a problem building OpenLdap 1.2 on a pre-R5 installation; the
>>error
>>seems to be with strdup(); the make complains :
>>
>>"In file included from args.c:22:
>>../../include/ac/string.h:49 macro `strdup' using without args"
>>
>>I've been able to build it without error on both LinuxPPC 4 and Linux X86.
>>Also the build of 1.0.2 that is included with the R5 distribution seems to
>>work
>>properly.
>>
>>Anything i can do about this?
>
> This is a common problem with glibc-2.1, the str... functions are macros
> and so some silly sources break on "extern str...()" declarations.
>
> Possible solutions:
> - correct source
> - compile with -D__NO_STRING_INLINES
> - compile with -Os
>
> Franz.
>
----------------------------------
E-Mail: Batmensch <hcaley@loomer.com>
Date: 02-Mar-99
Time: 12:20:50
This message was sent by XFMail
----------------------------------
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: strdup and pre-R5
1999-03-02 3:29 strdup and pre-R5 Batmensch
@ 1999-03-02 18:19 ` Franz Sirl
1999-03-02 17:22 ` Batmensch
1999-03-02 20:52 ` Matthew McLean
0 siblings, 2 replies; 4+ messages in thread
From: Franz Sirl @ 1999-03-02 18:19 UTC (permalink / raw)
To: Batmensch; +Cc: linuxppc-dev
At 04:29 02.03.99 , Batmensch wrote:
>I'm having a problem building OpenLdap 1.2 on a pre-R5 installation; the error
>seems to be with strdup(); the make complains :
>
>"In file included from args.c:22:
>../../include/ac/string.h:49 macro `strdup' using without args"
>
>I've been able to build it without error on both LinuxPPC 4 and Linux X86.
>Also the build of 1.0.2 that is included with the R5 distribution seems to
>work
>properly.
>
>Anything i can do about this?
This is a common problem with glibc-2.1, the str... functions are macros
and so some silly sources break on "extern str...()" declarations.
Possible solutions:
- correct source
- compile with -D__NO_STRING_INLINES
- compile with -Os
Franz.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: strdup and pre-R5
1999-03-02 18:19 ` Franz Sirl
1999-03-02 17:22 ` Batmensch
@ 1999-03-02 20:52 ` Matthew McLean
1 sibling, 0 replies; 4+ messages in thread
From: Matthew McLean @ 1999-03-02 20:52 UTC (permalink / raw)
To: Franz Sirl; +Cc: Batmensch, linuxppc-dev
On Tue, 2 Mar 1999, Franz Sirl wrote:
>
> At 04:29 02.03.99 , Batmensch wrote:
>
> >I'm having a problem building OpenLdap 1.2 on a pre-R5 installation; the error
> >seems to be with strdup(); the make complains :
> >
> >"In file included from args.c:22:
> >../../include/ac/string.h:49 macro `strdup' using without args"
> >
> >I've been able to build it without error on both LinuxPPC 4 and Linux X86.
> >Also the build of 1.0.2 that is included with the R5 distribution seems to
> >work
> >properly.
> >
> >Anything i can do about this?
>
> This is a common problem with glibc-2.1, the str... functions are macros
> and so some silly sources break on "extern str...()" declarations.
>
> Possible solutions:
> - correct source
> - compile with -D__NO_STRING_INLINES
> - compile with -Os
Or, have configure or equivalent check the system headers for these decls.
-matt
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-03-02 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-02 3:29 strdup and pre-R5 Batmensch
1999-03-02 18:19 ` Franz Sirl
1999-03-02 17:22 ` Batmensch
1999-03-02 20:52 ` Matthew McLean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).