Bug 9868 - Make: Don't know how to make LIBNDR_PREG_OBJ. Stop.
Summary: Make: Don't know how to make LIBNDR_PREG_OBJ. Stop.
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.6.14
Hardware: PA-RISC HP-UX
: P5 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 13:00 UTC by Lucs
Modified: 2013-05-14 10:24 UTC (History)
0 users

See Also:


Attachments
config.log and corrected Makefile (166.61 KB, application/x-gzip)
2013-05-07 13:00 UTC, Lucs
no flags Details
Patch (868 bytes, patch)
2013-05-07 13:09 UTC, Volker Lendecke
gd: review+
Details
Patch for master (895 bytes, patch)
2013-05-07 13:11 UTC, Volker Lendecke
gd: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucs 2013-05-07 13:00:21 UTC
Created attachment 8864 [details]
config.log and corrected Makefile

While running "make" in the "source3" directory, after running ./configure --prefix=/opt/samba-3.6 --enable-swat --with-ldap --with-ads

"make" stops with following error :
"Make: Don't know how to make LIBNDR_PREG_OBJ.  Stop."

On the Makefile, a trailing slash (line 339) should not be there :

338	LIBNDR_NTPRINTING_OBJ = librpc/gen_ndr/ndr_ntprinting.o \
339	        		../librpc/ndr/ndr_ntprinting.o \
340
341	LIBNDR_PREG_OBJ = librpc/gen_ndr/ndr_preg.o \
342                  ../librpc/ndr/ndr_preg.o

By correcting the error, "make" was running fine.

thanks for your excellent job !
regards
Luc
Comment 1 Volker Lendecke 2013-05-07 13:09:12 UTC
Created attachment 8865 [details]
Patch

The Makefile is generated from Makefile.in. Does the attached patch fix the issue for you also after a new configure?
Comment 2 Volker Lendecke 2013-05-07 13:11:52 UTC
Created attachment 8866 [details]
Patch for master

Michael, please review & push to master if okay

Thanks
Comment 3 Guenther Deschner 2013-05-07 13:20:19 UTC
Comment on attachment 8865 [details]
Patch

probably my initial fault, looks good of course.
Comment 4 Guenther Deschner 2013-05-07 13:20:22 UTC
Comment on attachment 8866 [details]
Patch for master

probably my initial fault, looks good of course.
Comment 5 Lucs 2013-05-07 13:33:30 UTC
yes it is ok now

thanks
Luc
Comment 6 Karolin Seeger 2013-05-14 08:19:26 UTC
Pushed to v3-6-test and autobuild-v4-0-test.
Comment 7 Karolin Seeger 2013-05-14 10:24:45 UTC
Pushed to v4-0-test.
Closing out bug report.

Thanks!